[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.20 and 1.21

version 1.20, 2005/02/07 20:46:52 version 1.21, 2005/06/15 14:19:45
Line 76 
Line 76 
         sigaction(SIGINFO, &sa, NULL);          sigaction(SIGINFO, &sa, NULL);
   
         ftsoptions = FTS_NOSTAT|FTS_PHYSICAL;          ftsoptions = FTS_NOSTAT|FTS_PHYSICAL;
         while ((ch = getopt(argc, argv, "Hdf:hLXxW")) != -1)          while ((ch = getopt(argc, argv, "Hdf:hLXx")) != -1)
                 switch(ch) {                  switch(ch) {
                 case 'H':                  case 'H':
                         ftsoptions |= FTS_COMFOLLOW;                          ftsoptions |= FTS_COMFOLLOW;
Line 98 
Line 98 
                 case 'x':                  case 'x':
                         ftsoptions &= ~FTS_NOSTAT;                          ftsoptions &= ~FTS_NOSTAT;
                         ftsoptions |= FTS_XDEV;                          ftsoptions |= FTS_XDEV;
                         break;  
                 case 'W':  
                         ftsoptions |= FTS_WHITEOUT;  
                         break;                          break;
                 case '?':                  case '?':
                 default:                  default:

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21