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

Diff for /src/usr.bin/mail/Attic/aux.c between version 1.15 and 1.16

version 1.15, 2000/06/30 16:00:18 version 1.16, 2001/01/16 05:36:08
Line 115 
Line 115 
   
         if (stat(name, &sbuf) < 0)          if (stat(name, &sbuf) < 0)
                 return(0);                  return(0);
         return (S_ISDIR(sbuf.st_mode));          return(S_ISDIR(sbuf.st_mode));
 }  }
   
 /*  /*
Line 352 
Line 352 
                 return;                  return;
         (void) gettimeofday(&tv[0], (struct timezone *)0);          (void) gettimeofday(&tv[0], (struct timezone *)0);
         tv[0].tv_sec++;          tv[0].tv_sec++;
   #ifdef TIMESPEC_TO_TIMEVAL
         TIMESPEC_TO_TIMEVAL(&tv[1], &sb.st_mtimespec);          TIMESPEC_TO_TIMEVAL(&tv[1], &sb.st_mtimespec);
   #else
           tv[1].tv_sec = sb.st_mtime;
   #endif
         (void)utimes(name, tv);          (void)utimes(name, tv);
 }  }
   

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16