Article View: comp.sources.bugs
Article #2094Bug in PD diff for RCS (cdiff)
From: Marc Ries
Date: Wed, 22 Feb 1989 17:51
Date: Wed, 22 Feb 1989 17:51
38 lines
1297 bytes
1297 bytes
Warning:
There are atleast two (possibly trivial) problems with this
version of diff:
1) Incompatibility with the "real" diff -c option:
diff -c f1 f2 => works
pdiff -c f1 f2 => "Usage: diff [-options] file1 file2"
[hint: getopt]
2) Munged file name headers with the -c option, thus
causing "patch" to puke:
UNIX diff -c output:
*** readme Wed Feb 22 09:23:35 1989 <= note
--- readme2 Wed Feb 22 09:23:07 1989 <= note
***************
*** 17,23 ****
[.. deleted ..]
PD diff -c output:
*** pdiff <= note ?!?
--- -c2
**************
*** 18,22
[.. deleted ..]
[hint: fileAname != pdiff, fileBname != -c2]
Marc Ries
TRW Defense Systems Group/HMI
UUCP: ...!spp2!ries@trwspp.UUCP
Technical Details
Message-ID:
<1664@spp2.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!wiley!spp2!ries%arcturusShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!wiley!spp2!ries%arcturus From: ries@arcturus (Marc Ries) Newsgroups: comp.sources.bugs Subject: Bug in PD diff for RCS (cdiff) Message-ID: <1664@spp2.UUCP> Date: 22 Feb 89 17:51:46 GMT Sender: news@spp2.UUCP Reply-To: ries@spp2.UUCP (Marc Ries) Organization: TRW SEDD Lines: 38