bug#78910: tail does not support -r added by POSIX.1-2024

2025-06-27 Thread Collin Funk
Pádraig Brady writes: > On 27/06/2025 20:16, Collin Funk wrote: >> Hi Jim and Pádraig, >> Jim Meyering writes: >> tail -r comes from the BSDs. Also the BSDs don't have tac(1) which overlaps in functionality quite a bit. I'm a bit surprised -r was added by POSIX, but fair en

bug#78910: tail does not support -r added by POSIX.1-2024

2025-06-27 Thread Pádraig Brady
On 27/06/2025 20:16, Collin Funk wrote: Hi Jim and Pádraig, Jim Meyering writes: tail -r comes from the BSDs. Also the BSDs don't have tac(1) which overlaps in functionality quite a bit. I'm a bit surprised -r was added by POSIX, but fair enough. "Surprised" is putting it lightly. I am disa

bug#78910: tail does not support -r added by POSIX.1-2024

2025-06-27 Thread Collin Funk
Hi Jim and Pádraig, Jim Meyering writes: >> tail -r comes from the BSDs. >> Also the BSDs don't have tac(1) which overlaps in functionality quite a bit. >> I'm a bit surprised -r was added by POSIX, but fair enough. > > "Surprised" is putting it lightly. I am disappointed and am tempted to > pus

bug#78880: od Heap-buffer overflow

2025-06-27 Thread Collin Funk
Hi Grisha, Grisha Levit writes: >> Grisha, what did you pass to ./configure? >> >> I'm suprised we don't disable this in Gnulib. Since there we do: >> >> static_assert (1 < sizeof (example)) >> >> Without a second argument message string, I would expect Clang to >> complain about it, unless

bug#78880: od Heap-buffer overflow

2025-06-27 Thread Grisha Levit
On Tue, Jun 24, 2025, 12:34 Collin Funk wrote: > > Pádraig Brady writes: > > > On 24/06/2025 15:27, Grisha Levit wrote: > > > >> This part: > >> > >>> tryline: > >>> + idx_t i = 0; > >>> + int c = 1; /* Init to 1 so can distinguish if NUL read. */ > >> triggers > >> w

bug#78910: tail does not support -r added by POSIX.1-2024

2025-06-27 Thread Jim Meyering
On Fri, Jun 27, 2025 at 2:16 AM Pádraig Brady wrote: > On 27/06/2025 06:36, Collin Funk wrote: > > Creating this bug report since I have not been able to create a working > > implementation yet, and perhaps my looking into this will inspire others > > thoughts... > > > > POSIX-1.2024 adds the foll

bug#78910: tail does not support -r added by POSIX.1-2024

2025-06-27 Thread Pádraig Brady
On 27/06/2025 10:10, Pádraig Brady wrote: On 27/06/2025 06:36, Collin Funk wrote: Creating this bug report since I have not been able to create a working implementation yet, and perhaps my looking into this will inspire others thoughts... POSIX-1.2024 adds the following SYNOPSIS for 'tail' [1]:

bug#78910: tail does not support -r added by POSIX.1-2024

2025-06-27 Thread Pádraig Brady
On 27/06/2025 06:36, Collin Funk wrote: Creating this bug report since I have not been able to create a working implementation yet, and perhaps my looking into this will inspire others thoughts... POSIX-1.2024 adds the following SYNOPSIS for 'tail' [1]: tail [-f] [-c number|-n number] [fil