home *** CD-ROM | disk | FTP | other *** search
/ The UNIX CD Bookshelf / OREILLY_TUCB_UNIX_CD.iso / upt / examples / SOURCES / XTAIL / LINUX / XTAIL. < prev   
Encoding:
Text File  |  1998-07-24  |  1.6 KB  |  51 lines

  1. --- Makefile.rtr    Mon Feb  3 16:22:55 1997
  2. +++ Makefile    Mon Feb  3 16:28:33 1997
  3. @@ -8,7 +8,7 @@
  4.  DEFS = 
  5.  COPTS = -O
  6.  LOPTS = 
  7. -LIBS = -lx
  8. +LIBS = 
  9.  DEBUG = -g -DDEBUG 
  10.  LINTFLAGS = -DLINT
  11.  
  12. @@ -42,11 +42,11 @@
  13.          xtail.h
  14.  entryfuncs.o: /usr/include/fcntl.h /usr/include/stdio.h \
  15.          /usr/include/sys/errno.h /usr/include/sys/fcntl.h \
  16. -        /usr/include/sys/lockcmn.h /usr/include/sys/stat.h \
  17. +        /usr/include/sys/stat.h \
  18.          /usr/include/sys/types.h entryfuncs.c xtail.h
  19.  miscfuncs.o: /usr/include/fcntl.h /usr/include/stdio.h \
  20. -        /usr/include/sys/fcntl.h /usr/include/sys/lockcmn.h \
  21. -        /usr/include/sys/ndir.h /usr/include/sys/stat.h \
  22. +        /usr/include/sys/fcntl.h \
  23. +        /usr/include/sys/stat.h \
  24.          /usr/include/sys/types.h /usr/include/time.h miscfuncs.c \
  25.          xtail.h
  26.  
  27. --- xtail.c.rtr    Mon Feb  3 16:22:55 1997
  28. +++ xtail.c    Mon Feb  3 16:27:05 1997
  29. @@ -31,7 +31,6 @@
  30.  SIGTYPE sigcatcher(sig)
  31.  int sig;
  32.  {
  33. -    extern SIGTYPE (*signal)();
  34.      if ( sig == SIGQUIT )
  35.      (void) exit(0);
  36.      sigcaught = sig;
  37. --- xtail.h.rtr    Mon Feb  3 16:22:55 1997
  38. +++ xtail.h    Mon Feb  3 16:28:21 1997
  39. @@ -19,9 +19,9 @@
  40.  /*
  41.   * Define one of the following.  It says how to use your "directory" library.
  42.   */
  43. -#define DIR_XENIX    /* include <sys/ndir.h>, use "struct direct"    */
  44. +/*#define DIR_XENIX    /* include <sys/ndir.h>, use "struct direct"    */
  45.  /*#define DIR_BSD    /* include <ndir.h>, use "struct direct"    */
  46. -/*#define DIR_SYSV    /* include <dirent.h>, use "struct dirent"    */
  47. +#define DIR_SYSV    /* include <dirent.h>, use "struct dirent"    */
  48.  
  49.  /*
  50.   * Define one of the following.  It specifies the return type of "signal()".
  51.