bug-make
[Top][All Lists]
Advanced

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

[bug #33134] spurious error when stdout is already closed


From: David Boyce
Subject: [bug #33134] spurious error when stdout is already closed
Date: Thu, 21 Apr 2011 01:03:09 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16

URL:
  <http://savannah.gnu.org/bugs/?33134>

                 Summary: spurious error when stdout is already closed
                 Project: make
            Submitted by: boyski
            Submitted on: Thu 21 Apr 2011 01:03:09 AM GMT
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: CVS
        Operating System: None
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

Ironically, make's attempt to be super-duper careful about catching write
errors to stdout (in the close_stdout function) results in a spurious error
message when the user has already closed stdout:

% cat makefile
.PHONY: all
all:; date

% make 1>&-
make: write error

Patch attached.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 21 Apr 2011 01:03:09 AM GMT  Name: make-stdout-patch  Size: 418B  
By: boyski

<http://savannah.gnu.org/bugs/download.php?file_id=23282>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?33134>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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