summaryrefslogtreecommitdiffstats
path: root/fuzz/mkfuzzoids.pl
diff options
context:
space:
mode:
Diffstat (limited to 'fuzz/mkfuzzoids.pl')
-rwxr-xr-xfuzz/mkfuzzoids.pl6
1 files changed, 2 insertions, 4 deletions
diff --git a/fuzz/mkfuzzoids.pl b/fuzz/mkfuzzoids.pl
index 89cf7bb583..050b5b7047 100755
--- a/fuzz/mkfuzzoids.pl
+++ b/fuzz/mkfuzzoids.pl
@@ -8,10 +8,8 @@
my $obj_dat_h = $ARGV[0];
-# Output year depends on the date on the input file and the script.
-my $YEAR = [localtime([stat($0)]->[9])]->[5] + 1900;
-my $iYEAR = [localtime([stat($obj_dat_h)]->[9])]->[5] + 1900;
-$YEAR = $iYEAR if $iYEAR > $YEAR;
+# The year the output file is generated.
+my $YEAR = [localtime()]->[5] + 1900;
open IN, '<', $obj_dat_h
|| die "Couldn't open $obj_dat_h : $!\n";