1 https://savannah.gnu.org/support/index.php?110521
2 https://git.savannah.gnu.org/cgit/autoconf.git/patch/?id=3a9802d60156809c139e9b4620bf04917e143ee2
3 --- a/lib/Autom4te/FileUtils.pm
4 +++ b/lib/Autom4te/FileUtils.pm
5 @@ -34,12 +34,12 @@ This perl module provides various general purpose file handling functions.
12 use warnings FATAL => 'all';
16 +use Time::HiRes qw(stat);
19 use Autom4te::Channels;
20 @@ -115,10 +115,11 @@ sub mtime ($)
22 if $file eq '-' || ! -f $file;
24 - my $stat = stat ($file)
25 + my ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,
26 + $atime,$mtime,$ctime,$blksize,$blocks) = stat ($file)
27 or fatal "cannot stat $file: $!";
29 - return $stat->mtime;