home *** CD-ROM | disk | FTP | other *** search
/ The UNIX CD Bookshelf / OREILLY_TUCB_UNIX_CD.iso / upt / examples / SOURCES / DELETE / I386 / COM_ERR. next >
Encoding:
Text File  |  1998-07-24  |  1.7 KB  |  65 lines

  1. *** compile_et.c.orig    Thu Mar 28 09:35:19 1991
  2. --- compile_et.c    Mon Nov  9 16:29:38 1992
  3. ***************
  4. *** 7,13 ****
  5. --- 7,16 ----
  6.    *
  7.    */
  8.   
  9. + #define MAXPATHLEN PATHSIZE
  10. + #define rindex strrchr
  11.   #include <stdio.h>
  12. + #include <sys/types.h>
  13.   #include <sys/file.h>
  14.   #include <string.h>
  15.   #include <sys/param.h>
  16. *** internal.h.orig    Tue Jul  3 15:04:52 1990
  17. --- internal.h    Mon Nov  9 16:18:12 1992
  18. ***************
  19. *** 8,14 ****
  20.   #endif
  21.   
  22.   extern int errno;
  23. ! extern char const * const sys_errlist[];
  24.   extern const int sys_nerr;
  25.   
  26.   #ifdef __STDC__
  27. --- 8,15 ----
  28.   #endif
  29.   
  30.   extern int errno;
  31. ! /* extern char const * const sys_errlist[]; */
  32. ! extern char     *sys_errlist[];
  33.   extern const int sys_nerr;
  34.   
  35.   #ifdef __STDC__
  36. --- Makefile.rtr    Tue Feb  4 14:25:27 1997
  37. +++ Makefile    Tue Feb  4 14:37:21 1997
  38. @@ -48,14 +48,13 @@
  39.  
  40.                 AR = ar cq
  41.    BOOTSTRAPCFLAGS =
  42. -               CC = gcc -fstrength-reduce -fpcc-struct-return -pedantic -ansi -Wall
  43. -
  44. +               CC = gcc -fstrength-reduce -fpcc-struct-return 
  45.           COMPRESS = compress
  46.                CPP = /lib/cpp $(STD_CPP_DEFINES)
  47. -    PREPROCESSCMD = gcc -fstrength-reduce -fpcc-struct-return -pedantic -ansi -Wall -E $(STD_CPP_DEFINES)
  48. +    PREPROCESSCMD = gcc -fstrength-reduce -fpcc-struct-return -E $(STD_CPP_DEFINES)
  49.            INSTALL = install
  50.                 LD = ld
  51. -      LDLOCATIONS =
  52. +      LDLOCATIONS = -lsocket
  53.               LINT = lint
  54.        LINTLIBFLAG = -C
  55.           LINTOPTS = -axz
  56. @@ -70,7 +69,7 @@
  57.    STD_CPP_DEFINES =
  58.        STD_DEFINES = -DBITS32
  59.      SABER_DEFINES = -I/mit/gnu/vaxlib/gcc-include -Dconst= -DBITS32
  60. - EXTRA_LOAD_FLAGS = -Z
  61. + EXTRA_LOAD_FLAGS = 
  62.    EXTRA_LIBRARIES =
  63.               TAGS = ctags
  64.              ETAGS = etags
  65.