X-Spam-Check-By: sourceware.org Date: Thu, 15 Dec 2005 09:56:54 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Where is patch? Message-ID: <20051215085654.GP2399@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20051214200901 DOT GD29103 AT trixie DOT casa DOT cgf DOT cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Dec 14 15:22, Ren? Berber wrote: > Dave Korn wrote: > [snip] > > And I imagine both of you have testcases available to prove your respective > > claims..... ? > > Test case attached. > > The files are part of mailman, I just included a shortened patch file and the > file to be patched. The test procedure (with the output I get): > > $ mkdir patch-testcase > $ cd patch-testcase/ > # [copy both files here] > $ ls > copyof-mailman-2.1.6.tar.bz2 indexing-2.1.6-0.1.patch > $ tar xvf copyof-mailman-2.1.6.tar.bz2 > mailman-2.1.6/ > mailman-2.1.6/templates/ > mailman-2.1.6/templates/da/ > mailman-2.1.6/templates/da/archidxfoot.html > > $ patch --version > patch 2.5.8 > ... > $ cd mailman-2.1.6/ > $ patch -p1 < ../indexing-2.1.6-0.1.patch > patching file templates/da/archidxfoot.html > Hunk #1 FAILED at 1. > Hunk #2 FAILED at 18. > 2 out of 2 hunks FAILED -- saving rejects to file templates/da/archidxfoot.html.rej Err... huh? [...] $ patch --version patch 2.5.8 [...] $ cd mailman-2.1.6/ $ patch -p1 --dry-run < ../indexing-2.1.6-0.1.patch patching file templates/da/archidxfoot.html $ patch -p1 < ../indexing-2.1.6-0.1.patch patching file templates/da/archidxfoot.html Note that I tried this under a binmode mount as well as under a textmode mount, so it can't be related to the mount mode. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/