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

Diff for /src/usr.bin/sudo/Attic/sudo_edit.c between version 1.2 and 1.3

version 1.2, 2004/11/17 18:14:06 version 1.3, 2004/11/29 17:29:05
Line 293 
Line 293 
                  * If mtime and size match but the user spent no measurable                   * If mtime and size match but the user spent no measurable
                  * time in the editor we can't tell if the file was changed.                   * time in the editor we can't tell if the file was changed.
                  */                   */
   #ifdef HAVE_TIMESPECSUB2
                   timespecsub(&ts1, &ts2);
   #else
                 timespecsub(&ts1, &ts2, &ts2);                  timespecsub(&ts1, &ts2, &ts2);
   #endif
                 if (timespecisset(&ts2)) {                  if (timespecisset(&ts2)) {
                     warnx("%s unchanged", tf[i].ofile);                      warnx("%s unchanged", tf[i].ofile);
                     unlink(tf[i].tfile);                      unlink(tf[i].tfile);

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