From owner-freebsd-bugs Wed Apr 2 16:02:09 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA07926 for bugs-outgoing; Wed, 2 Apr 1997 16:02:09 -0800 (PST) Received: from mexico.brainstorm.eu.org (mexico.brainstorm.fr [193.56.58.253]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA07916 for ; Wed, 2 Apr 1997 16:02:01 -0800 (PST) Received: from brasil.brainstorm.eu.org (brasil.brainstorm.fr [193.56.58.33]) by mexico.brainstorm.eu.org (8.8.4/8.8.4) with ESMTP id CAA28621; Thu, 3 Apr 1997 02:01:50 +0200 Received: (from uucp@localhost) by brasil.brainstorm.eu.org (8.8.4/8.6.12) with UUCP id CAA17761; Thu, 3 Apr 1997 02:01:37 +0200 Received: (from roberto@localhost) by keltia.freenix.fr (8.8.5/keltia-uucp-2.9) id BAA19722; Thu, 3 Apr 1997 01:59:48 +0200 (CEST) Message-ID: <19970403015947.46958@keltia.freenix.fr> Date: Thu, 3 Apr 1997 01:59:47 +0200 From: Ollivier Robert To: J Wunsch Cc: freebsd-bugs@freefall.freebsd.org Subject: Re: gnu/3176: `patch' creates files in wrong places (following Index) References: <199704022200.OAA27937@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.67 In-Reply-To: <199704022200.OAA27937@freefall.freebsd.org>; from J Wunsch on Wed, Apr 02, 1997 at 02:00:02PM -0800 X-Operating-System: FreeBSD 3.0-CURRENT ctm#3153 Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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