bug#70418: ls bug

2024-04-16 Thread Chris Elvidge
Thanks for the clarification and patch On 16/04/2024 at 23:17, Paul Eggert wrote: On 4/16/24 14:30, Toby Kelsey wrote: The man page doesn't explain this format conflict, while the info page (info '(coreutils) ls invocation' or 'info ls') claims '-f' implies '-1' which is also incorrect: 'ls -1

bug#70418: ls bug

2024-04-16 Thread Paul Eggert
On 4/16/24 14:30, Toby Kelsey wrote: The man page doesn't explain this format conflict, while the info page (info '(coreutils) ls invocation' or 'info ls') claims '-f' implies '-1' which is also incorrect: 'ls -1f' gives different output to to 'ls -f'. Yes, this area of GNU 'ls' a mess. Option

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

2024-04-16 Thread Sergei Trofimovich
On Tue, 16 Apr 2024 12:33:44 +0100 Pádraig Brady wrote: > On 16/04/2024 01:19, Alejandro Colomar wrote: > > Hi! > > > > I don't own a Darwin system, so I can't help much reproduce. However, > > I've received a bug report to the Linux man-pages, that our build > > system (GNUmakefile-based), whi

bug#70418: ls bug

2024-04-16 Thread Toby Kelsey
The man page doesn't explain this format conflict, while the info page (info '(coreutils) ls invocation' or 'info ls') claims '-f' implies '-1' which is also incorrect: 'ls -1f' gives different output to to 'ls -f'. I am using coreutils 9.4-3 in Manjaro and the online documentation for 9.5

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

2024-04-16 Thread Paul Eggert
On 4/16/24 12:44, Pádraig Brady wrote: A related suggestion was from Marc Chantreux (CC'd) to support '-' to imply stdin, which would be more portable. There is some merit to that suggestion too. I see that merit too, as when 'install' reads from stdin it needn't do the inode check. However, P

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

2024-04-16 Thread Alejandro Colomar
Hi, On Tue, Apr 16, 2024 at 08:44:06PM +0100, Pádraig Brady wrote: > I agree if it's older Darwin only, we can ignore. > The version I tested on is 3 years old now though, > so I'm not sure whether the issue is on newer or older. > > Note we had similar issue on Solaris, > where we used an fstat(

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

2024-04-16 Thread Paul Eggert
On 4/16/24 07:47, Alejandro Colomar wrote: Since you couldn't reprodude it in a recent Darwin, maybe it's just a bug in an old Darwin. It'd have to be pretty old. As near as I can see from xnu/bsd/kern/sys_pipe.c, the st_ino field was zero (i.e., not random) even in xnu-792 dated 2005. I'd

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

2024-04-16 Thread Pádraig Brady
On 16/04/2024 15:47, Alejandro Colomar wrote: Hi Pádraig, On Tue, Apr 16, 2024 at 03:25:22PM +0100, Pádraig Brady wrote: What version of darwin is this? I can't repro on Darwin 21.6.0 (MacOSX 12.6). The issue seems to be that /dev/stdin returns a varying inode which install(1) doesn't like cur

bug#70418: ls bug

2024-04-16 Thread Chris Elvidge
On 16/04/2024 at 16:07, Toby Kelsey wrote: There appears to be a bug with 'ls' when using the '-f' and '-l' options, or at least an inconsistency with the man page. The man page says '-f' list entries in directory order and does not mention any incompatibilities with other options, however I

bug#70418: ls bug

2024-04-16 Thread Toby Kelsey
There appears to be a bug with 'ls' when using the '-f' and '-l' options, or at least an inconsistency with the man page. The man page says '-f' list entries in directory order and does not mention any incompatibilities with other options, however I find using it with the '-l' option gives differ

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

2024-04-16 Thread Alejandro Colomar
Hi Pádraig, On Tue, Apr 16, 2024 at 03:25:22PM +0100, Pádraig Brady wrote: > > What version of darwin is this? I can't repro on Darwin 21.6.0 (MacOSX > > 12.6). > > The issue seems to be that /dev/stdin returns a varying inode which > > install(1) doesn't like currently I don't know. The repor

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

2024-04-16 Thread Pádraig Brady
On 16/04/2024 12:33, Pádraig Brady wrote: On 16/04/2024 01:19, Alejandro Colomar wrote: Hi! I don't own a Darwin system, so I can't help much reproduce. However, I've received a bug report to the Linux man-pages, that our build system (GNUmakefile-based), which ends up calling ... | i

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

2024-04-16 Thread Pádraig Brady
On 16/04/2024 01:19, Alejandro Colomar wrote: Hi! I don't own a Darwin system, so I can't help much reproduce. However, I've received a bug report to the Linux man-pages, that our build system (GNUmakefile-based), which ends up calling ... | install /dev/stdin $@ doesn't work on Darwi