diff -c -r -N wipe-1.0beta/CHANGES wipe/CHANGES *** wipe-1.0beta/CHANGES --- wipe/CHANGES Thu Oct 28 19:21:28 1993 *************** *** 0 **** --- 1,9 ---- + Thu Oct 28 19:05:18 1993 Calvin Clark (ckclark@binkley.MIT.EDU) + + * wipe.c: + 1. Fixed -version -> -v in usage message. + 2. Declare sys_errlist[], errno on BSD systems + (Needed for SunOS 4.) + + * INSTALL: + Added SunOS 4 entry diff -c -r -N wipe-1.0beta/INSTALL wipe/INSTALL *** wipe-1.0beta/INSTALL Thu Oct 28 19:23:39 1993 --- wipe/INSTALL Thu Oct 28 19:20:31 1993 *************** *** 8,13 **** --- 8,14 ---- IBM RS/6000 AIX 3.2 DECstation ULTRIX 4.3 Sparc Solaris 2.1 + Sparc SunOS 4.1.1 <-- define -DBSD in $(DEFINES) VAX BSD 4.3 <-- define -DBSD in $(DEFINES) IBM RT AOS 4 <-- define -DBSD in $(DEFINES) NeXT Mach 3.1 <-- define -D_POSIX_SOURCE in $(DEFINES) diff -c -r -N wipe-1.0beta/wipe.c wipe/wipe.c *** wipe-1.0beta/wipe.c Thu Oct 28 19:23:16 1993 --- wipe/wipe.c Thu Oct 28 18:45:39 1993 *************** *** 35,45 **** #ifndef S_ISREG #define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG) #endif #define strerror(code) sys_errlist[(code)] #endif static char *whoami; ! static char version[] = "1.0beta"; /* This function is taken from the GNU fileutils 2.5 */ --- 35,47 ---- #ifndef S_ISREG #define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG) #endif + extern int errno; + extern char *sys_errlist[]; #define strerror(code) sys_errlist[(code)] #endif static char *whoami; ! static char version[] = "1.0beta-p1"; /* This function is taken from the GNU fileutils 2.5 */ *************** *** 198,204 **** if (argc < 2) { ! fprintf (stderr, "Usage: %s [-i] [-d] [-help] [-version] ...\n", whoami); exit (1); } --- 200,206 ---- if (argc < 2) { ! fprintf (stderr, "Usage: %s [-i] [-d] [-help] [-v] ...\n", whoami); exit (1); }