From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Where is patch? - problems with patch.exe on w32 Date: Wed, 14 Dec 2005 21:04:19 +0100 Message-ID: <43A07AC3.1030209@student.lu.se> References: <43A064AD.4050604@student.lu.se> <20051214192858.GM2399@calimero.vinschen.de> <43A07425.70205@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1134599109 26526 80.91.229.2 (14 Dec 2005 22:25:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 14 Dec 2005 22:25:09 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 14 23:25:07 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Emf1h-000848-C9 for ged-emacs-devel@m.gmane.org; Wed, 14 Dec 2005 23:23:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Emf2J-0002Xr-5B for ged-emacs-devel@m.gmane.org; Wed, 14 Dec 2005 17:23:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Emcs3-0005ho-Ly for emacs-devel@gnu.org; Wed, 14 Dec 2005 15:05:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Emcs2-0005gR-7u for emacs-devel@gnu.org; Wed, 14 Dec 2005 15:05:02 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Emcs1-0005gO-TC for emacs-devel@gnu.org; Wed, 14 Dec 2005 15:05:01 -0500 Original-Received: from [81.228.11.98] (helo=pne-smtpout1-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Emcu9-0008I7-C2 for emacs-devel@gnu.org; Wed, 14 Dec 2005 15:07:13 -0500 Original-Received: from [192.168.123.121] (83.249.218.244) by pne-smtpout1-sn1.fre.skanova.net (7.2.069.1) id 43A0635700007C62 for emacs-devel@gnu.org; Wed, 14 Dec 2005 21:04:20 +0100 User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: Emacs Devel In-Reply-To: <43A07425.70205@student.lu.se> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:47733 Archived-At: I had some trouble with patch.exe on w32 from both Cygwin and GnuWin32 that I have asked about in a recent message here. The message below is from my conversation on cygwin@cygwin.com about this. Corinna is one of the maintainers. The trouble I had turned out to be one with line endings. For some reason patch does not behave as Emacs on w32 when it comes to line endings. A line and should just be a line end in my opinion. The patched text file should retain its original line format. If this is possible then that would really give me and other using w32 a fair chance of doing useful work. So I hope to get in contact with the patch maintainer about this. If it is not possible then I think Emacs on w32 should try to take care of this. I guess this is possible, but I am not sure. It should simply mean that Emacs should notice the line endings and then convert the patch file to the same as those of the file to patch before doing the patch. (But that is what I would like patch.exe to do instead.) Would this be possible? I am speaking mostly about CR-LF about LF here. CR could of course be another possibility, maybe other too. Suggestions? ---------------------------------------------------------------- Lennart Borgman wrote: > Corinna Vinschen wrote: > >> On Dec 14 19:30, Lennart Borgman wrote: >> >> >>> I am having trouble with patch. My Cygwin patch (and my GnuWin32 >>> patch) says it is version 2.5.9. But where is the sources for this? >>> I looked at ftp://ftp.gnu.org/gnu/patch and they only have version >>> 2.5.4. How can that be? >>> >> >> >> Cygwin patch is 2.5.8. The version is taken from some Linux distro, I >> don't remember which one. The sources are where the binaries are, use >> setup.exe to pull them on your machine. As for the upstream sources, I >> have no idea. The bug report list is bug-gnu-utils AT gnu DOT org. >> >> > Thanks for the information. It sounds a bit strange that the sources > does not come from gnu.org however. Something seems to be wrong here. > I have made a bcc of this message to bug-gnu-utils. I think the newest > sources should be available at gnu.org and its mirrors.