Module Name: src
Committed By: cube
Date: Wed May 13 18:54:34 UTC 2009
Modified Files:
src/usr.bin/config: mkheaders.c
Log Message:
Dependency on config_time.src was removed today from Makefile.kern.inc, so
starting from that date it's not necessary to create it. (Of course that
won't happen until config version is bumped for some other reason.)
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/usr.bin/config/mkheaders.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/config/mkheaders.c
diff -u src/usr.bin/config/mkheaders.c:1.15 src/usr.bin/config/mkheaders.c:1.16
--- src/usr.bin/config/mkheaders.c:1.15 Sat Apr 11 12:41:10 2009
+++ src/usr.bin/config/mkheaders.c Wed May 13 18:54:34 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: mkheaders.c,v 1.15 2009/04/11 12:41:10 lukem Exp $ */
+/* $NetBSD: mkheaders.c,v 1.16 2009/05/13 18:54:34 cube Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -95,7 +95,14 @@
return (1);
}
- if (emitopts() || emitlocs() || emitioconfh() || emittime())
+ if (emitopts() || emitlocs() || emitioconfh())
+ return (1);
+
+ /*
+ * If the minimum required version is ever bumped beyond 20090513,
+ * emittime() can be removed.
+ */
+ if (version <= 20090513 && emittime())
return (1);
return (0);