From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Patch and Cygwin Date: Fri, 16 Dec 2005 10:18:35 +0200 Message-ID: References: <43A1ACC1.9090805@student.lu.se> <43A1B2A1.2020907@student.lu.se> <43A20542.1050405@student.lu.se> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1134721960 20436 80.91.229.2 (16 Dec 2005 08:32:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 16 Dec 2005 08:32:40 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 16 09:32:34 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EnAzM-0002yT-Lu for ged-emacs-devel@m.gmane.org; Fri, 16 Dec 2005 09:30:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EnB02-0000vd-PK for ged-emacs-devel@m.gmane.org; Fri, 16 Dec 2005 03:31:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EnAoD-0007ba-Kb for emacs-devel@gnu.org; Fri, 16 Dec 2005 03:19:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EnAoC-0007bJ-PY for emacs-devel@gnu.org; Fri, 16 Dec 2005 03:19:21 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EnAoC-0007b8-4q for emacs-devel@gnu.org; Fri, 16 Dec 2005 03:19:20 -0500 Original-Received: from [192.114.186.66] (helo=romy.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EnAqa-0001wx-2W for emacs-devel@gnu.org; Fri, 16 Dec 2005 03:21:48 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-152-179.inter.net.il [80.230.152.179]) by romy.inter.net.il (MOS 3.7.2-GA) with ESMTP id DEP55295 (AUTH halo1); Fri, 16 Dec 2005 10:18:34 +0200 (IST) Original-To: Lennart Borgman In-reply-to: <43A20542.1050405@student.lu.se> (message from Lennart Borgman on Fri, 16 Dec 2005 01:07:30 +0100) 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:47848 Archived-At: > Date: Fri, 16 Dec 2005 01:07:30 +0100 > From: Lennart Borgman > CC: cygwin@cygwin.com, Emacs Devel , > Eli Zaretskii > > This is a summary of my tests with Cygwin patch and different line > ending styles. (Only LF and CRLF are tested here.) > > I have downloaded patch 2.5.9 from > ftp://alpha.gnu.org/gnu/diffutils/patch-2.5.9.tar.gz and compiled it > using Cygwin. I have used this patch and the patch that currently comes > with Cygwin to do some tests of patch and diff when the files to compare > and patch have different line ending styles. I have also made this test > using MSYS and GnuWin32 utilities. > > The result is that the only option that seems to be able to handle the > mix of line endings is Cygwin using DOS line endings with patch 2.5.9. > (The only thing that did not work was preservation of line endings in > the patched file, but that seems to be a small problem here.) I think this is off-topic on emacs-devel, so I will post a meaningful reply only to the other adressees. Here I will only say that your conclusions are wrong, and that your tests work for me with a variety of other Diff/Patch combinations.