[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AT_MTIME_DELAY not working?
From: |
Nick Bowler |
Subject: |
Re: AT_MTIME_DELAY not working? |
Date: |
Fri, 22 Dec 2023 10:08:55 -0500 |
User-agent: |
Mozilla Thunderbird |
On 2023-12-22 09:28, Zack Weinberg wrote:
> On Thu, Dec 21, 2023, at 10:07 PM, Jacob Bachmeyer wrote:
[...]
>> I suggest revising AT_MTIME_DELAY to actually create two files and
>> loop touching one of them until the timestamps differ.
>
> This won’t work, because whether *test* thinks two timestamps differ
> may be different from whether *autom4te* thinks two timestamps differ
> (due to the whole mess with Time::HiRes not necessarily being
> available, timestamps getting rounded to the nearest IEEE double,
> etc). Also, test -nt isn’t portable, we’d have to do the same
> mess with ls -t that’s in the code setting at_ts_resolution.
Since for the purpose of testing autom4te behaviour one should be able
to assume autom4te is available, a solution for this issue would be to
simply add a mechanism to autom4te (or find a creative way to do it
with existing autom4te) which compares two file timestamps, and use
that in the loop.
Cheers,
Nick
- autoconf-2.72e released [release candidate], Zack Weinberg, 2023/12/20
- Re: [platform-testers] autoconf-2.72e released [release candidate], Frederic Berat, 2023/12/20
- Re: [platform-testers] autoconf-2.72e released [release candidate], Zack Weinberg, 2023/12/20
- Re: [platform-testers] autoconf-2.72e released [release candidate], Frederic Berat, 2023/12/21
- Re: [platform-testers] autoconf-2.72e released [release candidate], Zack Weinberg, 2023/12/21
- AT_MTIME_DELAY not working? (was: Re: [platform-testers] autoconf-2.72e released [release candidate]), Jacob Bachmeyer, 2023/12/21
- Re: AT_MTIME_DELAY not working? (was: Re: [platform-testers] autoconf-2.72e released [release candidate]), Zack Weinberg, 2023/12/22
- Re: AT_MTIME_DELAY not working?,
Nick Bowler <=
- Re: AT_MTIME_DELAY not working?, Zack Weinberg, 2023/12/22
Re: autoconf-2.72e released [release candidate], Alan Coopersmith, 2023/12/21