On Wed, Apr 20, 2011 at 6:03 PM, David Boyce <invalid.nore...@gnu.org> wrote: ... > 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.
Could you explain why you think that's spurious? Make wanted to write "date" to stdout and the write failed. Seems legit to me. (I'm not sure why it doesn't say "make: write error: Bad file descriptor" like it does if you change the command invoked to ":", but that's a distinct issue.) Philip Guenther _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make