Files
2013-09-26 17:14:40 +02:00

15 lines
440 B
Plaintext

$NetBSD: patch-ad,v 1.1 2004/09/21 14:14:27 agc Exp $
--- src/gen_list.c 2004/09/21 12:33:36 1.1
+++ src/gen_list.c 2004/09/21 12:34:43
@@ -240,7 +240,8 @@
}
} else {
- if(fs.st_atime>cur_time){
+ /* allow the current time to be 1 second out, in case of ntp twitch or other funny */
+ if(fs.st_atime>cur_time + 1){
error(CLOCK_SKEW,"%s atime in future\n",fil->filename);
}
if(fs.st_mtime>cur_time){