bug-grep
[Top][All Lists]
Advanced

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

[bug #32352] Grep block on FIFO if use without -D skip


From: anonymous
Subject: [bug #32352] Grep block on FIFO if use without -D skip
Date: Fri, 04 Feb 2011 15:39:19 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) Gecko/20100727 Gentoo Firefox/3.6.8

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/




reply via email to

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