bug#70477: tail command does not hang on /dev/random

2024-04-19 Thread Paul Eggert
On 2024-04-19 11:40, Ionut Nicula wrote: The following command hangs indefinitely, as expected: tail -c 4096 /dev/random The following command immediately returns 4097 bytes, unexpectedly: tail -c 4097 /dev/random Thanks for the bug report. Although the two commands should

bug#70477: tail command does not hang on /dev/random

2024-04-19 Thread Ionut Nicula
The following command hangs indefinitely, as expected: tail -c 4096 /dev/random The following command immediately returns 4097 bytes, unexpectedly: tail -c 4097 /dev/random Details: - Source code obtained from: git://git.sv.gnu.org/coreutils - Commit id:

bug#70411: [bug] install(1) fails to read /dev/stdin on Darwin

2024-04-19 Thread Sergei Trofimovich
On Fri, 19 Apr 2024 00:33:52 -0700 Paul Eggert wrote: > On 2024-04-18 14:52, Sergei Trofimovich wrote: > > $ clang simple.c -o simple && echo 42 | ./simple > > 1: ino=3009428657538693161 > > 2: ino=3009428657538693161 > > 3: ino=1568241705 > > > > Note how stat() and fstat() don't agree on

bug#70411: [bug] install(1) fails to read /dev/stdin on Darwin

2024-04-19 Thread Paul Eggert
On 2024-04-18 14:52, Sergei Trofimovich wrote: $ clang simple.c -o simple && echo 42 | ./simple 1: ino=3009428657538693161 2: ino=3009428657538693161 3: ino=1568241705 Note how stat() and fstat() don't agree on inode. Apparently it's documented in