=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/sudo/Attic/visudo.c,v retrieving revision 1.17 retrieving revision 1.18 diff -c -r1.17 -r1.18 *** src/usr.bin/sudo/Attic/visudo.c 2004/09/28 15:10:51 1.17 --- src/usr.bin/sudo/Attic/visudo.c 2004/11/29 17:29:05 1.18 *************** *** 437,443 **** --- 437,447 ---- * 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("sudoers file unchanged"); Exit(0);