bug#29038: df hangs on fifos/named pipes

2017-10-29 Thread Paul Eggert
Pádraig Brady wrote: I suppose we could stat() and if that succeeds && !fifo, only then call open() ? Patch to do that is attached. Better is to use open with O_NONBLOCK, as this avoids interpreting the file name twice in the usual case. Better yet is to use O_PATH if available, as this avoi

bug#29062: PRINTF

2017-10-29 Thread Assaf Gordon
tag 29062 notabug close 29062 stop Hello, On 2017-10-29 04:59 AM, archit soni wrote: my name Archit soni.i studying in B.E in I.T. MY friend name is Parth prajapati .he is studying in B.Tech.he has some may bug in printf in c.We are some situation face in printf.I have already attached image an

bug#29038: df hangs on fifos/named pipes

2017-10-29 Thread Jim Meyering
On Sun, Oct 29, 2017 at 3:34 PM, Pádraig Brady wrote: ... >> That was discovered by Martijn Dekker, CCed, when looking for a >> portable way to identify the file system of an arbitrary file. > > Yes we shouldn't hang. > > RE side effects, open() is a fairly innocuous operation, > and we expect sta

bug#29038: df hangs on fifos/named pipes

2017-10-29 Thread Pádraig Brady
On 28/10/17 00:18, Stephane Chazelas wrote: > test case: > >mkfifo p >df p > > That hangs, unless you make "p" non-readable or some other process > has the fifo open in write mode. > > The reason is that df tries to open the fifo in read-only mode, > according to comments in the source c

bug#29022: tail: unrecognized file system type 0x794c7630 for...

2017-10-29 Thread Pádraig Brady
close 29022 stop On 26/10/17 16:42, Gustavo Frederico wrote: > tail: unrecognized file system type 0x794c7630 for > '/u01/app/oracle/diag/tnslsnr/e7bd4e34ce20/listener/alert/log.xml'. please > report this to bug-coreutils@gnu.org. reverting to polling Already fixed (in coreutils 8.25). thanks,

bug#29044: sort --debug results improvement

2017-10-29 Thread Pádraig Brady
On 29/10/17 11:40, 積丹尼 Dan Jacobson wrote: > < P.S., Yes indeed I had LC_COLLATE=C so maybe --debug should mention > < where in the environment it made it choices from too. > > Ah, like you said > > $ LC_ALL=en_CA.UTF-8 sort --debug < /dev/null > sort: using ‘en_CA.UTF-8’ sorting rules > >

bug#29055: A little bug in bash to win10

2017-10-29 Thread Pádraig Brady
close 29055 stop On 29/10/17 08:56, Allan Jensen wrote: > When i use the instruction tail -f filename > it stops after 10 lines and givs error message ( in Danish ) > > tail:ukendt filsystemtype ox53464846 for ´ALL_2017_10.TXT´. > rapporter venlig dette til bug-coreutils@gnu.org. går over til ge

bug#29044: sort --debug results improvement

2017-10-29 Thread 積丹尼 Dan Jacobson
< P.S., Yes indeed I had LC_COLLATE=C so maybe --debug should mention < where in the environment it made it choices from too. Ah, like you said $ LC_ALL=en_CA.UTF-8 sort --debug < /dev/null sort: using ‘en_CA.UTF-8’ sorting rules $ LC_ALL=C sort --debug < /dev/null sort: using simple byt

bug#29044: sort --debug results improvement

2017-10-29 Thread 積丹尼 Dan Jacobson
Your answer is absolutely pure gold for a new page linked from ‘--debug’ Highlight the portion of each line used for sorting. Also issue warnings about questionable usage to stderr. in the Info manual! Please don't let it go to waste sitting in the bug tracker. Perhaps call it Debuggin

bug#29055: A little bug in bash to win10

2017-10-29 Thread Allan Jensen
When i use the instruction tail -f filename it stops after 10 lines and givs error message ( in Danish ) tail:ukendt filsystemtype ox53464846 for ´ALL_2017_10.TXT´. rapporter venlig dette til bug-coreutils@gnu.org. går over til gentagene forespørgsler. And continues to do what is expected. File t