Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Apr 1997 01:59:47 +0200
From:      Ollivier Robert <roberto@keltia.freenix.fr>
To:        J Wunsch <j@uriah.heep.sax.de>
Cc:        freebsd-bugs@freefall.freebsd.org
Subject:   Re: gnu/3176: `patch' creates files in wrong places (following Index)
Message-ID:  <19970403015947.46958@keltia.freenix.fr>
In-Reply-To: <199704022200.OAA27937@freefall.freebsd.org>; from J Wunsch on Wed, Apr 02, 1997 at 02:00:02PM -0800
References:  <199704022200.OAA27937@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
According to J Wunsch:
>  ``Fixing'' this behaviour would royally screw CVS diffs that heavily
>  rely on the Index: magic.

Why does the GNU patch -- which is supposed to be the baseline for our
version -- behave as many people including me think ?

Why does our patch(1) apply the -p1 only for *new* files ? There is an
inconsistency in that.

BTW cvs doesn't use context or unified diffs for its operations so it will
not see that problem.

IMO this is a bug. Mark Murray agreed with me the last time it was
discussed a few months ago...

Remember that neither Larry's version nor the GNU one has this problem to
my knowledge (or many people playing with many packages such as Perl5 would
have discovered before).
-- 
Ollivier ROBERT -=- FreeBSD: There are no limits -=- roberto@keltia.freenix.fr
FreeBSD keltia.freenix.fr 3.0-CURRENT #41: Sun Mar 23 23:01:22 CET 1997



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