> I might be wrong but it looks like: > > In the function below > ------------------------ > if (get_nohandle ()) > nh = NULL; // NULL == 0 and is a valid (but possibly closed) handle > > ------------------------ > MUST BE > ------------------------ > if (get_nohandle ()) > nh = (HANDLE)-1; // or better yet INVALID_HANDLE_VALUE > I just wish I could figure out what causes the 'dup(/dev) failed' errors I see about 30% of the time I click cygwin.bat.
Chris -- 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/