bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tests/time01.at failing on i586, ppc and armv7l


From: Paul Eggert
Subject: Re: tests/time01.at failing on i586, ppc and armv7l
Date: Fri, 15 Oct 2021 00:51:24 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

On 10/14/21 11:36 PM, Bernhard Voelker wrote:
it seems surprising that `tar -c` succeeds, and only the
later `tar -d` complains, because both supposedly do a stat().
I didn't look into the code, so I assume that -c is constraining
the values silently into the valid range, doesn't it?

If the file timestamps don't fit into 32-bit time_t, 'stat' should fail and 'tar -c' should fail too. So, I'm surprised as well, and the issue bears further investigation.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]