bug-cpio
[Top][All Lists]
Advanced

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

Re: bug#50694: ls and cpio's idea of "six months ago" are slightly diffe


From: Paul Eggert
Subject: Re: bug#50694: ls and cpio's idea of "six months ago" are slightly different
Date: Sun, 6 Feb 2022 18:53:34 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

On 9/19/21 22:06 in <https://bugs.gnu.org/50694>, 積丹尼 Dan Jacobson wrote:

What a headache.
"Six months ago" means slightly different things to cpio and ls.
And ls documents do say exactly what,
and cpio documents don't even say six months.

Thanks for the bug report. Since the behavior is documented for ls but not cpio and lots more people use ls, let's change cpio to behave like ls. Proposed patches to cpio attached. The last patch does the actual change; the earlier ones are issues I noticed on the way.

(Sergey, I don't have commit privileges for cpio on Savannah. If you give me privileges I can install these patches; otherwise, please take a look and install if you like. Thanks.)

In the meantime I'll close the coreutils bug report, as I don't think we need to change GNU 'ls'.

Attachment: 0001-Remove-trailing-white-space-and-empty-lines.patch
Description: Text Data

Attachment: 0002-build-update-submodules-to-latest.patch
Description: Text Data

Attachment: 0003-Fix-integer-overflows-in-timestamp-output.patch
Description: Text Data

Attachment: 0004-Use-GNU-ls-algorithm-for-deciding-timestamp-format.patch
Description: Text Data


reply via email to

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