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

  1. *** Makefile.orig    Tue Dec  1 14:06:37 1992
  2. --- Makefile    Fri Dec  4 22:45:13 1992
  3. ***************
  4. *** 8,14 ****
  5.   DEFS = 
  6.   COPTS = -O
  7.   LOPTS = 
  8. ! LIBS = -lx
  9.   DEBUG = -g -DDEBUG 
  10.   LINTFLAGS = -DLINT
  11.   
  12. --- 8,14 ----
  13.   DEFS = 
  14.   COPTS = -O
  15.   LOPTS = 
  16. ! LIBS = 
  17.   DEBUG = -g -DDEBUG 
  18.   LINTFLAGS = -DLINT
  19.   
  20. ***************
  21. *** 42,52 ****
  22.           xtail.h
  23.   entryfuncs.o: /usr/include/fcntl.h /usr/include/stdio.h \
  24.           /usr/include/sys/errno.h /usr/include/sys/fcntl.h \
  25. !         /usr/include/sys/lockcmn.h /usr/include/sys/stat.h \
  26.           /usr/include/sys/types.h entryfuncs.c xtail.h
  27.   miscfuncs.o: /usr/include/fcntl.h /usr/include/stdio.h \
  28. !         /usr/include/sys/fcntl.h /usr/include/sys/lockcmn.h \
  29. !         /usr/include/sys/ndir.h /usr/include/sys/stat.h \
  30.           /usr/include/sys/types.h /usr/include/time.h miscfuncs.c \
  31.           xtail.h
  32.   
  33. --- 42,52 ----
  34.           xtail.h
  35.   entryfuncs.o: /usr/include/fcntl.h /usr/include/stdio.h \
  36.           /usr/include/sys/errno.h /usr/include/sys/fcntl.h \
  37. !         /usr/include/sys/stat.h \
  38.           /usr/include/sys/types.h entryfuncs.c xtail.h
  39.   miscfuncs.o: /usr/include/fcntl.h /usr/include/stdio.h \
  40. !         /usr/include/sys/fcntl.h  \
  41. !         /usr/include/sys/stat.h \
  42.           /usr/include/sys/types.h /usr/include/time.h miscfuncs.c \
  43.           xtail.h
  44.   
  45. *** xtail.c.orig    Tue Dec  1 14:06:37 1992
  46. --- xtail.c    Fri Dec  4 22:43:34 1992
  47. ***************
  48. *** 31,37 ****
  49.   SIGTYPE sigcatcher(sig)
  50.   int sig;
  51.   {
  52. !     extern SIGTYPE (*signal)();
  53.       if ( sig == SIGQUIT )
  54.       (void) exit(0);
  55.       sigcaught = sig;
  56. --- 31,37 ----
  57.   SIGTYPE sigcatcher(sig)
  58.   int sig;
  59.   {
  60. !     /* extern SIGTYPE (*signal)(); */
  61.       if ( sig == SIGQUIT )
  62.       (void) exit(0);
  63.       sigcaught = sig;
  64. *** xtail.h.orig    Tue Dec  1 14:06:36 1992
  65. --- xtail.h    Fri Dec  4 22:44:52 1992
  66. ***************
  67. *** 19,33 ****
  68.   /*
  69.    * Define one of the following.  It says how to use your "directory" library.
  70.    */
  71. ! #define DIR_XENIX    /* include <sys/ndir.h>, use "struct direct"    */
  72. ! /*#define DIR_BSD    /* include <ndir.h>, use "struct direct"    */
  73.   /*#define DIR_SYSV    /* include <dirent.h>, use "struct dirent"    */
  74.   
  75.   /*
  76.    * Define one of the following.  It specifies the return type of "signal()".
  77.    */
  78. ! #define SIGTYPE        int    /* declare as "int (*signal)()"        */
  79. ! /*#define SIGTYPE    void    /* declare as "void (*signal)()"    */
  80.   
  81.   /*
  82.    * STATUS_ENAB    If defined, a SIGINT causes a summary of the opened files to
  83. --- 19,33 ----
  84.   /*
  85.    * Define one of the following.  It says how to use your "directory" library.
  86.    */
  87. ! /*#define DIR_XENIX    /* include <sys/ndir.h>, use "struct direct"    */
  88. ! #define DIR_BSD    /* include <ndir.h>, use "struct direct"    */
  89.   /*#define DIR_SYSV    /* include <dirent.h>, use "struct dirent"    */
  90.   
  91.   /*
  92.    * Define one of the following.  It specifies the return type of "signal()".
  93.    */
  94. ! /*#define SIGTYPE        int    /* declare as "int (*signal)()"        */
  95. ! #define SIGTYPE    void    /* declare as "void (*signal)()"    */
  96.   
  97.   /*
  98.    * STATUS_ENAB    If defined, a SIGINT causes a summary of the opened files to
  99.