Mail Archives: cygwin-developers/1998/05/26/14:44:27
From: newsham AT lava DOT net (Tim Newsham)
Date: Tue, 26 May 1998 10:38:06 -1000 (HST)
While testing other things I ran across this. Doing an exec doesn't
necessarily flush the output stream. This can be confusing. Here's
a test program to reproduce this (remove the ifdef lines to see proper
output, shouldn't be needed).
Most Unix systems have the same behaviour. While we could have
cygwin32 flush the stdio files, I don't see any particular requirement
that this be done. On Unix, execve is defined in terms of file
descriptors, not in terms of stdio files.
Ian
- Raw text -