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