From xemacs-m  Thu Aug 21 01:12:38 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id BAA27819
	for <xemacs-beta@xemacs.org>; Thu, 21 Aug 1997 01:12:37 -0500 (CDT)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.6/8.8.6) id XAA17346;
	Wed, 20 Aug 1997 23:17:25 -0700
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: The New Patch (was Re: Ignore previous bug report...)
References: <ohk9hgm6gx.fsf@pentagana.camelot.jp>
X-Face: `'%\i;ySOu]g?NlziJSk_$&@]KP`}~PEQPjZ5;nxSaDW_o$4+4%Ab]%Ifw3ZR;7TIT3,O,'
 @2{L;]ox6kc;$_5kU'n**9vFg-]eV~GbxSVCx|(s%uR[],*:^WKmC`B}(;|k9/m]gwt?&`t;^rfCJg
 khHH>pP1W\)xM0U@!FNDD72{3fDP$PkBhx^7Z?-WxH6DbFN:QOnT`llzW}VGdYv;n9lzljQvKTIBhQ
 YuV
X-Attribution: sb
From: SL Baur <steve@xemacs.org>
In-Reply-To: jareth@camelot-soft.com's message of "21 Aug 1997 14:48:46 +0900"
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
Date: 20 Aug 1997 23:17:23 -0700
Message-ID: <m290xw3vrg.fsf@altair.xemacs.org>
Lines: 19
X-Mailer: Gnus v5.4.65/XEmacs 20.3(beta19) - "Kiev"

P E Jareth Hein <jareth@camelot-soft.com> writes:

> I hate the new version of patch (for some odd reason it did NOT
> generate a .rej file...)

Don't use patch 2.2 or patch 2.3.  Most versions of 2.1 and 2.4 should 
be O.K.

With patch 2.4 use `-b' to get the usual `.orig' files and use the
assignment `POSIXLY_CORRECT=t' to have Index: lines treated properly.
I find the shell function

function xpatch
{
        POSIXLY_CORRECT=t patch -b $*
}

helpful when Index: must be used to compute the directory where the
file should be patched (eg. the output of `cvs diff').

