=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/sudo/Attic/sudo_edit.c,v retrieving revision 1.2 retrieving revision 1.3 diff -c -r1.2 -r1.3 *** src/usr.bin/sudo/Attic/sudo_edit.c 2004/11/17 18:14:06 1.2 --- src/usr.bin/sudo/Attic/sudo_edit.c 2004/11/29 17:29:05 1.3 *************** *** 293,299 **** --- 293,303 ---- * If mtime and size match but the user spent no measurable * time in the editor we can't tell if the file was changed. */ + #ifdef HAVE_TIMESPECSUB2 + timespecsub(&ts1, &ts2); + #else timespecsub(&ts1, &ts2, &ts2); + #endif if (timespecisset(&ts2)) { warnx("%s unchanged", tf[i].ofile); unlink(tf[i].tfile);