[BACK]Return to main.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / find

Diff for /src/usr.bin/find/main.c between version 1.2 and 1.3

version 1.2, 1996/06/26 05:33:11 version 1.3, 1996/10/24 03:46:04
Line 45 
Line 45 
 #include <errno.h>  #include <errno.h>
 #include <fcntl.h>  #include <fcntl.h>
 #include <fts.h>  #include <fts.h>
   #include <signal.h>
 #include <stdio.h>  #include <stdio.h>
 #include <stdlib.h>  #include <stdlib.h>
 #include <time.h>  #include <time.h>
Line 66 
Line 67 
         int argc;          int argc;
         char *argv[];          char *argv[];
 {  {
           struct sigaction sa = { show_path, SA_RESTART, NULL };
         register char **p, **start;          register char **p, **start;
         int ch;          int ch;
   
         (void)time(&now);       /* initialize the time-of-day */          (void)time(&now);       /* initialize the time-of-day */
   
           sigaction(SIGINFO, &sa, NULL);
   
         p = start = argv;          p = start = argv;
         ftsoptions = FTS_NOSTAT|FTS_PHYSICAL;          ftsoptions = FTS_NOSTAT|FTS_PHYSICAL;

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3