[Nagiosplug-checkins] nagiosplug/tools tinderbox_build,1.2,1.3

Ton Voon tonvoon at users.sourceforge.net
Thu Aug 3 10:14:11 CEST 2006


Update of /cvsroot/nagiosplug/nagiosplug/tools
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv12077/tools

Modified Files:
	tinderbox_build 
Log Message:
Interpret the snapshot datestamp as GMT


Index: tinderbox_build
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/tools/tinderbox_build,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- tinderbox_build	5 Jul 2006 08:55:49 -0000	1.2
+++ tinderbox_build	3 Aug 2006 08:14:09 -0000	1.3
@@ -82,7 +82,7 @@
 		open F, $file;
 		while (<F>) {
 			if (/^Version: HEAD-(\d\d\d\d)(\d\d)(\d\d)(\d\d)(\d\d)$/) {
-				$StartTime = timelocal(0, $5, $4, $3, ($2 - 1), ($1 - 1900));
+				$StartTime = timegm(0, $5, $4, $3, ($2 - 1), ($1 - 1900));
 				last;
 			}
 		}





More information about the Commits mailing list