Path: utzoo!utgpu!water!watmath!uunet!tut.cis.ohio-state.edu!cs.utexas.edu!milano!bigtex!james From: james@bigtex.uucp (James Van Artsdalen) Newsgroups: gnu.utils.bug Subject: GNU diff 1.2 bug & SysVr3 usage Message-ID: <8913@bigtex.uucp> Date: 7 Oct 88 04:05:52 GMT Organization: F.B.N. Software, Austin TX Lines: 41 diff prints the wrong error if -N is selected. /usr4/src/diff> mkdir q w /usr4/src/diff> mkdir q/e /usr4/src/diff> ../Diff -cN q w Only in q: e (ERR:1) /usr4/src/diff> ../Diff -cN q w q/e is a directory but w/e is not(ERR:2) /usr4/src/diff> rm -r q/* /usr4/src/diff> touch q/e /usr4/src/diff> ../Diff -cN q w /usr4/src/diff> ../Diff -c q w Only in q: e (ERR:1) /usr4/src/diff> ---- When using -DUSG, the file usg.h is missing, but apparently not needed: it suffices to "touch usg.h". For SysVr3, the following change must be made: *** diff.h Wed Oct 5 18:02:06 1988 --- ../my.diff/diff.h Thu Oct 6 22:26:46 1988 *************** *** 29,31 **** #include ! #include #include --- 29,31 ---- #include ! #include #include *************** *** 32,33 **** --- 32,34 ---- #include "usg.h" + #define direct dirent #else -- James R. Van Artsdalen ...!uunet!utastro!bigtex!james "Live Free or Die" Home: 512-346-2444 Work: 338-8789 10926 Jollyville Rd #901 Austin TX 78759