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

  1. *** stat.c.orig    Tue Dec  8 09:38:09 1992
  2. --- stat.c    Tue Dec  8 11:32:09 1992
  3. ***************
  4. *** 68,73 ****
  5. --- 68,74 ----
  6.   #include <stdio.h>
  7.   #include <sys/time.h>
  8.   #include <sys/types.h>
  9. + #include <sys/sysmacros.h>
  10.   #include <ctype.h>
  11.   #include <sys/stat.h>
  12.   #include <pwd.h>
  13. ***************
  14. *** 154,161 ****
  15.               (void) printf("File: \"%s\" -> \"%s\"\n",filename,Lbuf);
  16.           else
  17.               (void) printf("  File: \"%s\" -> \"%s\"\n",filename,Lbuf);
  18. !     } else {
  19.   #endif SYSV
  20.           if(oneperline)
  21.               (void) printf("File: \"%s\"\n", filename);
  22.           else
  23. --- 155,163 ----
  24.               (void) printf("File: \"%s\" -> \"%s\"\n",filename,Lbuf);
  25.           else
  26.               (void) printf("  File: \"%s\" -> \"%s\"\n",filename,Lbuf);
  27. !     } else 
  28.   #endif SYSV
  29. +            {
  30.           if(oneperline)
  31.               (void) printf("File: \"%s\"\n", filename);
  32.           else
  33. *** Makefile.rtr    Tue Dec  8 09:38:09 1992
  34. --- Makefile    Tue Dec  8 11:29:20 1992
  35. ***************
  36. *** 8,14 ****
  37.   
  38.   INCLUDE=
  39.   DEBUG=    -O
  40. ! CDEFS=    -DSINCE
  41.   CFLAGS= ${DEBUG} ${CDEFS} ${INCLUDE}
  42.   
  43.   HDR=    
  44. --- 8,14 ----
  45.   
  46.   INCLUDE=
  47.   DEBUG=    -O
  48. ! CDEFS=    -DSINCE -DSYSV
  49.   CFLAGS= ${DEBUG} ${CDEFS} ${INCLUDE}
  50.   
  51.   HDR=    
  52.