If genini is run from scratch (IOW without an existing setup.ini), no
setup-timestamp: is generated, which leads to unexpected behaviour from
setup.exe (e.g. "older than last time" warning).

Patch attached.


Yaakov

2010-06-08  Yaakov Selkowitz  <[email protected]>

	* genini: always generate a current timestamp.

Index: genini
===================================================================
RCS file: /cvs/cygwin-apps/genini/genini,v
retrieving revision 1.12
diff -u -r1.12 genini
--- genini	14 Mar 2010 18:31:30 -0000	1.12
+++ genini	9 Jun 2010 04:37:41 -0000
@@ -45,7 +45,8 @@
 #
 EOF
 
-print "$main::setup_timestamp\n" if $main::setup_timestamp;
+my $ts = time();
+print "setup-timestamp: $ts\n";
 print "$main::setup_version\n" if $main::setup_version;
 
 undef $main::curfile;

Reply via email to