Cygwin make wants stdin != 0

Polley Christopher W PolleyChristopherW@JohnDeere.com
Fri Nov 16 21:14:00 GMT 2001


This didn't work; all I got was "The handle could not be opened during
redirection of handle 0."

I did some more digging, and found that the problem disappeared when I
reverted the cygwin package to 1.3.2-1 (all other packages staying current,
notably bash 2.05a-2 and make 3.79.1-5) and returned when I upgraded it to
1.3.4-3 (then next version I have in my \latest directory).  I have the
source for 1.3.2-1 and 1.3.4-4, so I'll see what changed and whether the
changelog has any clues.

Chris

> -----Original Message-----
> From:	McGroarty, Brian [SMTP:BMcGroar@midwaygames.com]
> 
> I fixed my program to just create a bogus do-nothing pipe for input that
> kills the spawned program on any input attempt. I expect you could just
> add
> "</dev/zero" to the make command line and keep using your current program
> if
> so inclined.
> 
> If you want to take the route of patching make, I'm assuming the change
> comes from the tests which were recently added to validate all pipes. If
> memory serves, the changes had something to do with the fixes for
> recursive
> make sometimes freaking out. Looking over the changelogs should pinpoint
> where that went in. 
> 
> 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list