[bug#59991] [PATCH v2 0/3] Port tests to modern C

2023-02-03 Thread Jim Meyering
On Thu, Dec 15, 2022 at 10:19 PM Frederic Berat wrote: > From: Frédéric Bérat > Hello, > > There is ongoing work from both GCC and Clang community to set the C99 > standard > as the default one. > In this context, Fedora packages were rebuilt with some warnings turned as > errors to simulate the

[bug#60807] [PATCH v2] tests: reuse am_cv_filesystem_timestamp_resolution

2023-02-03 Thread Jim Meyering
On Sat, Jan 14, 2023 at 4:19 PM Mike Frysinger wrote: > Rather than assume such coarse delays, re-use existing logic for > probing the current filesystem resolution. This speeds up the > testsuite significantly. On my system, it speeds -j1 up quite a > lot -- by ~30%. While I didn't gather many

bug#60807: [PATCH 1/2] mtime: use Time::HiRes::stat when available for subsecond resolution

2023-02-03 Thread Jim Meyering
On Sun, Jan 15, 2023 at 12:27 AM Mike Frysinger wrote: > On 14 Jan 2023 21:27, Jacob Bachmeyer wrote: > > Mike Frysinger wrote: > > > --- a/lib/Automake/FileUtils.pm > > > +++ b/lib/Automake/FileUtils.pm > > > @@ -42,6 +42,11 @@ use Exporter; > > > use File::stat; > > > use IO::File; > > > > > >

[bug#61240] improve high-res file timestamp in Automake

2023-02-03 Thread Paul Eggert
On 2023-02-03 18:27, Jacob Bachmeyer wrote: Where are you actually using a 5.10 feature? Where lib/Automake/FileUtils.pm says "use Time::HiRes qw(stat);". This does not work with Perl 5.6. For why we bumped the version to 5.10, please see: https://git.savannah.gnu.org/cgit/autoconf.git/comm

[bug#61240] improve high-res file timestamp in Automake

2023-02-03 Thread Jacob Bachmeyer
Paul Eggert wrote: I installed the attached to port a FileUtils.pm patch back from Autoconf into Automake. I wish Perl supported file timestamps with nanosecond resolution, but apparently not, so this is the best we could do easily. Although this bumps the required Perl version from 5.6 (2000