This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Where is patch?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]