bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #64442] xargs closes stdin on receiving SIGUSR1 or SIGUSR2


From: anonymous
Subject: [bug #64442] xargs closes stdin on receiving SIGUSR1 or SIGUSR2
Date: Wed, 19 Jul 2023 09:54:36 -0400 (EDT)

Follow-up Comment #7, bug #64442 (project findutils):

After testing further I found that SA_RESTART only fixes the case of waiting
on read.
I managed to trigger _xargs: error closing file_ by running this

c=1; while true; do printf '%s\n' "$c"; c=$((c+1)); done | xargs

and sending USR1 to xargs.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64442>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]