delorie.com/archives/browse.cgi | search |
Sender: | rich AT phekda DOT freeserve DOT co DOT uk |
Message-ID: | <39E20FC1.E1C23755@phekda.freeserve.co.uk> |
Date: | Mon, 09 Oct 2000 19:34:41 +0100 |
From: | Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk> |
X-Mailer: | Mozilla 4.51 [en] (X11; I; Linux 2.2.17 i586) |
X-Accept-Language: | de,fr |
MIME-Version: | 1.0 |
To: | djgpp-workers AT delorie DOT com |
CC: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
Subject: | Re: Bizarre patch behaviour |
References: | <39E06A7C DOT 9BD27470 AT phekda DOT freeserve DOT co DOT uk> <3028-Sun08Oct2000173759+0300-eliz AT is DOT elta DOT co DOT il> <39E0B5A5 DOT B1C9E9FE AT phekda DOT freeserve DOT co DOT uk> <3099-Sun08Oct2000205918+0300-eliz AT is DOT elta DOT co DOT il> |
Reply-To: | djgpp-workers AT delorie DOT com |
Hello. Eli Zaretskii wrote: [ Snipped bit about adding warning about number of slashes to ] [ diffutils info pages. ] > Sure. Feel free to suggest this to Paul Eggert, the maintainer of > Diffutils and Patch (although I imagine that he knows). It's been fixed in diffutils 2.7.2. I'm still using the diffutils 2.7.1 port. > It can't, in general. If it did, the following wouldn't DTRT: > > diff -c foo.c~ foo.c > foo.dif > patch -p0 < foo.dif > > This example is very frequently seen, and the second file name is the > one you want Patch to pick up in such cases. Thanks for your explanations of how patch works - elucidating, as ever. ;) Bye, -- Richard Dawe [ mailto:richdawe AT bigfoot DOT com | http://www.bigfoot.com/~richdawe/ ]
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |