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

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