Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jan 1998 08:20:22 +0100
From:      J Wunsch <j@uriah.heep.sax.de>
To:        =?iso-8859-1?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= <ache@nagual.pp.ru>
Cc:        Peter Wemm <peter@netplex.com.au>, FreeBSD-current <current@freebsd.org>, info-cvs@gnu.ai.mit.edu
Subject:   Re: CVS DIFF fix for review (-L added)
Message-ID:  <19980112082022.30571@uriah.heep.sax.de>
In-Reply-To: =?iso-8859-1?Q?=3CPine=2EBSF=2E3=2E96=2E980111232840=2E17312A-100000=40l?= =?iso-8859-1?Q?sd=2Erelcom=2Eeu=2Enet=3E=3B_from_=E1=CE=C4=D2=C5=CA_=FE?= =?iso-8859-1?Q?=C5=D2=CE=CF=D7_on_Sun=2C_Jan_11=2C_1998_at_11=3A35=3A40P?= =?iso-8859-1?Q?M_%2B0300?=
References:  <199801111457.WAA06475@spinner.netplex.com.au> <Pine.BSF.3.96.980111232840.17312A-100000@lsd.relcom.eu.net>

next in thread | previous in thread | raw e-mail | index | archive | help
As Андрей Чернов wrote:

> > If you can convince the info-cvs folks to make the changes, then I'll go
> > along.  Otherwise, IMHO the new patch and/or "standard" is busted.  It
> > wouldn't be the first time that POSIX have screwed something up.  CVS and
> > patch have been doing it like this since as far back as 1993.
> 
> Please, note that it _not_ POSIX invention, POSIX just document
> _existent_practice_ for years!

Well, Peter, indeed.  This only incidentally worked as intended as
long as the -L option to diff/rcsdiff didn't exist, so at least one of
the pathnames in the context diff header was invalid by the time patch
has been called.  Now, with -L and the basename of the file in both
lines of the context diff header, it's very likely that this file
exists in the current directory (like `Makefile', for a popular
example), and patch will try patching the wrong file.

The idea of Index: was great, but there has never been a patch utility
supporting it the way CVS did expect. :-O  Again, all the pre-existant
``support'' for Index: lines taking precedence over context-diff
headers was _incidentally_.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980112082022.30571>