delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/15/03:57:28

X-Spam-Check-By: sourceware.org
Date: Thu, 15 Dec 2005 09:56:54 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
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> <SERRANOiab2VL0fap6R000002ca AT SERRANO DOT CAM DOT ARTIMI DOT COM> <dnq2fj$ct0$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
In-Reply-To: <dnq2fj$ct0$1@sea.gmane.org>
User-Agent: Mutt/1.4.2i
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019