bug#56710: ls vs. stat display of st_size

2022-07-24 Thread Paul Eggert
On 7/24/22 01:48, Pádraig Brady wrote: Well ls(1) was explicitly changed to assuming only positive, citing POSIX (though I can't see it in POSIX myself): https://github.com/coreutils/coreutils/commit/67ba4ac01 I vaguely recall being involved with that decades-old change. The POSIX

bug#56710: ls vs. stat display of st_size

2022-07-24 Thread Pádraig Brady
On 23/07/2022 21:07, Paul Eggert wrote: On 7/23/22 05:17, Pádraig Brady wrote: BTW I see we've code in cache_fstatat() that assumes st_size can't have such large values, which contradicts a bit. Good catch. I installed the first attached patch. > This is only a real consideration for

bug#55401: date man page

2022-07-24 Thread Pádraig Brady
On 14/05/2022 01:42, Pádraig Brady wrote: On 13/05/2022 20:10, t0th wrote: Man page of date command should make explicit that -d and -r options are mutually exclusive. Right. More accurately, we might have a sentence to say that: "All options to specify the date to display are mutually

bug#56710: ls vs. stat display of st_size

2022-07-24 Thread Pádraig Brady
On 24/07/2022 17:18, Paul Eggert wrote: On 7/24/22 01:48, Pádraig Brady wrote: Well ls(1) was explicitly changed to assuming only positive, citing POSIX (though I can't see it in POSIX myself): https://github.com/coreutils/coreutils/commit/67ba4ac01 I vaguely recall being involved with that