Thread View: gnu.utils.bug
1 messages
1 total messages
Started by James Van Artsdalen
Fri, 07 Oct 1988 04:05
GNU diff 1.2 bug & SysVr3 usage
Author: James Van Artsdalen
Date: Fri, 07 Oct 1988 04:05
Date: Fri, 07 Oct 1988 04:05
41 lines
1412 bytes
1412 bytes
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 <time.h> ! #include <ndir.h> #include <fcntl.h> --- 29,31 ---- #include <time.h> ! #include <dirent.h> #include <fcntl.h> *************** *** 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads