URL:
<http://savannah.gnu.org/bugs/?32352>
Summary: Grep block on FIFO if use without -D skip
Project: grep
Submitted by: None
Submitted on: Fri 04 Feb 2011 03:39:18 PM UTC
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
When grep encounter a FIFO it open it without the O_NONBLOCK parameters that
made it block indefinitely.
I know this can be resolved by using -D skip options, but don't know if it's
the normal behaviour of grep. I report this, as I thought in that case most
user wouldn't understood why grep block.
exemples:
mkfifo toto
grep -R tata *
(grep block waiting for open to return)
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?32352>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/