bug#50012: [PATCH] df: Fixed usage of incorrect stat data when using automount

2021-08-11 Thread Paul Eggert
On 8/11/21 8:59 AM, Thimo Emmerich wrote: Since the stat in [2]/df.c, line 1775 is necessary for the following fifo evaluation, it seems to be necessary to update the stat information after a successful open. Thanks for reporting the bug. I installed the attached. It differs a bit from what

bug#50012: [PATCH] df: Fixed usage of incorrect stat data when using automount

2021-08-11 Thread Thimo Emmerich
This seems to be a regression from b04ce61958c1: "df: fix hang with fifo argument". When using df on an browsable automount map (in my case NFS mounts) df returns a screwed up information if the mount is not existing. During execution it triggers the mount via open() but it uses previously colle

bug#49994: upgrade: have "-s" of 'ls' display alloc'd sizes for specified "--block-size"

2021-08-11 Thread Paul Eggert
On 8/10/21 11:56 PM, L A Walsh wrote: Perhaps the '-s' option in ls could pay attention to the user-specified block-size? Doesn't it already do that? $ ls -s libc.so 12192 libc.so $ ls -s --block-size=1 libc.so 12484608 libc.so

bug#49994: upgrade: have "-s" of 'ls' display alloc'd sizes for specified "--block-size"

2021-08-11 Thread L A Walsh
How can I find all perl source files under the perl source tree sorted by size + displayed w/binary-metric prefixes. I wanted to look for a good sample for _some_ specific size (not sure of the size until I'd looked through a few). I got close using: find -iname \*.pl |sed 's!./!!' |xargs /usr