Hi,

I'm getting an error message when using 'make --output-sync=recurse'
on OSX with a pipe.  [linux does not have this issue]

"fcntl(): Bad file descriptor"

Any idea why this happens?

Thanks,
Satish


----------------

balay@imav^~/junk $ cat makefile 
all:
        @echo test
balay@imav^~/junk $ ./make  --output-sync=recurse | tee log
fcntl(): Bad file descriptor
test
balay@imav^~/junk $ cat log
test
balay@imav^~/junk $ ./make  --output-sync=recurse | grep foobar
fcntl(): Bad file descriptor
balay@imav^~/junk $ ./make  --output-sync=recurse
test
balay@imav^~/junk $ ./make  | tee log2
test
balay@imav^~/junk $ cat log2
test
balay@imav^~/junk $ ./make  --output-sync=recurse > log3
balay@imav^~/junk $ cat log3
test
balay@imav^~/junk $ ./make --version
GNU Make 4.1
Built for x86_64-apple-darwin14.4.0
Copyright (C) 1988-2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
balay@imav^~/junk $ sw_vers 
ProductName:      Mac OS X
ProductVersion:   10.10.4
BuildVersion:     14E46
balay@imav^~/junk $ 

_______________________________________________
Help-make mailing list
Help-make@gnu.org
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to