version 1.2, 2004/11/17 18:14:06 |
version 1.3, 2004/11/29 17:29:05 |
|
|
* 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); |