Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 729402 Details for
Bug 782985
[TRACKER] >=sys-devel/autoconf-2.70 race condition issues (Failed Running Automake - error: version mismatch. This is Automake 1.16.3)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for higher time resolution
autoconf-2.71-time.patch (text/plain), 1.22 KB, created by
Andreas K. Hüttel
on 2021-08-01 17:23:52 UTC
(
hide
)
Description:
patch for higher time resolution
Filename:
MIME Type:
Creator:
Andreas K. Hüttel
Created:
2021-08-01 17:23:52 UTC
Size:
1.22 KB
patch
obsolete
>From e194b3c7e00429612a9d40e78ea571687fd25b91 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Andreas=20K=2E=20H=C3=BCttel?= <dilfridge@gentoo.org> >Date: Sun, 1 Aug 2021 19:07:48 +0200 >Subject: [PATCH] Use stat from Time::HiRes (instead of File::stat) >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> >--- > lib/Autom4te/FileUtils.pm | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) > >diff --git a/lib/Autom4te/FileUtils.pm b/lib/Autom4te/FileUtils.pm >index a182031b..27a5fd91 100644 >--- a/lib/Autom4te/FileUtils.pm >+++ b/lib/Autom4te/FileUtils.pm >@@ -34,12 +34,12 @@ This perl module provides various general purpose file handling functions. > > =cut > >-use 5.006; >+use 5.008; > use strict; > use warnings FATAL => 'all'; > > use Exporter; >-use File::stat; >+use Time::HiRes qw(stat); > use IO::File; > > use Autom4te::Channels; >@@ -115,10 +115,11 @@ sub mtime ($) > return 0 > if $file eq '-' || ! -f $file; > >- my $stat = stat ($file) >+ my ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size, >+ $atime,$mtime,$ctime,$blksize,$blocks) = stat ($file) > or fatal "cannot stat $file: $!"; > >- return $stat->mtime; >+ return $mtime; > } > > >-- >2.31.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 782985
:
729279
|
729375
| 729402 |
729423