freopen/fread/popen bug

Fri Feb 27 23:23:00 GMT 2015

> Thanks (and thanks to Corinna and Eric) for correcting my misconceptions.

You're welcome.  I only wanted to follow up that (I don't know what
the heck happened to my head, but) when I was
referring to file descriptors, I was consistently and mistakenly using
"1" where "0" should have been used:
stdin is at "0", and stdout is at "1" (and your code shares input
stream with "cat", i.e. fd 0).  Apologies.

Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list