From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15624 invoked by alias); 3 Jul 2013 15:35:35 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 15615 invoked by uid 89); 3 Jul 2013 15:35:34 -0000 X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,FSL_HELO_BARE_IP_2,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS autolearn=no version=3.3.1 Received: from mail-ea0-f176.google.com (HELO mail-ea0-f176.google.com) (209.85.215.176) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 03 Jul 2013 15:35:28 +0000 Received: by mail-ea0-f176.google.com with SMTP id z15so165417ead.21 for ; Wed, 03 Jul 2013 08:35:26 -0700 (PDT) X-Received: by 10.14.109.195 with SMTP id s43mr1653031eeg.132.1372865726180; Wed, 03 Jul 2013 08:35:26 -0700 (PDT) Received: from 127.0.0.1 (p5B34CD30.dip0.t-ipconnect.de. [91.52.205.48]) by mx.google.com with ESMTPSA id ci50sm44961933eeb.12.2013.07.03.08.35.25 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 03 Jul 2013 08:35:25 -0700 (PDT) Message-ID: <51D4445D.6090909@email.com> Date: Wed, 03 Jul 2013 15:35:00 -0000 From: "Peter B." User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: Bug with Cygwin's 'quilt' is actually in 'patch' References: <51D39491.9040501@email.com> <20130703123326.GF5118@calimero.vinschen.de> <51D42171.9010701@email.com> <20130703133048.GG5118@calimero.vinschen.de> In-Reply-To: <20130703133048.GG5118@calimero.vinschen.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-07/txt/msg00045.txt.bz2 On 03.07.2013 15:30 Corinna Vinschen wrote: > On Jul 3 15:04, Peter B. wrote: >> On 03.07.2013 14:33 Corinna Vinschen wrote: >>> On Jul 3 05:03, Peter B. wrote: >>>> On Jun 20 09:46, Corinna Vinschen wrote: >>>>> I'll build a new patch 2.7.1 for 32 bit today. I hope that fixes it >>>>> for 32 bit as well. >>>> The new 2.7.1 (32bit) brakes CRLF handling for me completely. The old >>>> 2.6.1 works properly. 2.7.1 with text files converted from CRLF to LF >>>> works properly as well. >>>> >>>> Can you take a look at the download link below? It includes an example >>>> file (with CRLF), the corresponding patch (LF) and the two binaries >>>> (patch v2.6.1 and v2.7.1). >>>> >>>> http://www60.zippyshare.com/v/13352963/file.html >>> Please provide a direct link which doesn't require to enable scripting >>> in a web browser to download. >>> >>> >>> Thanks, >>> Corinna >>> >> Please download this picture (jpg) and rename the file suffix to 7z or >> open with corresponding archiver directly. >> >> http://abload.de/img/patchfus75.jpg (99KB) > Thanks. The behaviour here is a deliberate upstream choice to apply the > patch only if the line endings are the same as in the file to patch. > > If you really must apply non-CRLF patches to CRLF files, consider using > a temporary text mount: > http://cygwin.com/cygwin-ug-net/using-utils.html#mount > > > Corinna > Sounds like intended behavior. I will try to tackle the problem otherwise then. The culprit here is the JavaVM that produces different EOLs on different platforms (running a binary decompiler -> txt). Thanks. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple