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

  1. --- Makefile.rtr    Mon Feb  3 16:33:52 1997
  2. +++ Makefile    Mon Feb  3 16:35:51 1997
  3. @@ -8,7 +8,7 @@
  4.  DEFS = 
  5.  COPTS = -O
  6.  LOPTS = 
  7. -LIBS = -lx
  8. +LIBS = -ldl
  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:33:49 1997
  28. +++ xtail.c    Mon Feb  3 16:33:58 1997
  29. @@ -31,7 +31,7 @@
  30.  SIGTYPE sigcatcher(sig)
  31.  int sig;
  32.  {
  33. -    extern SIGTYPE (*signal)();
  34. +/*    extern SIGTYPE (*signal)(); */
  35.      if ( sig == SIGQUIT )
  36.      (void) exit(0);
  37.      sigcaught = sig;
  38. --- xtail.h.rtr    Mon Feb  3 16:33:49 1997
  39. +++ xtail.h    Mon Feb  3 16:33:58 1997
  40. @@ -19,9 +19,9 @@
  41.  /*
  42.   * Define one of the following.  It says how to use your "directory" library.
  43.   */
  44. -#define DIR_XENIX    /* include <sys/ndir.h>, use "struct direct"    */
  45. +/*#define DIR_XENIX    /* include <sys/ndir.h>, use "struct direct"    */
  46.  /*#define DIR_BSD    /* include <ndir.h>, use "struct direct"    */
  47. -/*#define DIR_SYSV    /* include <dirent.h>, use "struct dirent"    */
  48. +#define DIR_SYSV    /* include <dirent.h>, use "struct dirent"    */
  49.  
  50.  /*
  51.   * Define one of the following.  It specifies the return type of "signal()".
  52.