This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: PR-673
- To: Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
- Subject: Re: PR-673
- From: Roland McGrath <roland@frob.com>
- Date: Mon, 24 Aug 1998 13:02:12 -0400
- Cc: libc-hacker@cygnus.com
- Emacs: a learning curve that you can use as a plumb line.
There is a complex set of rules POSIX defines (1003.1-1996 8.2.3, p 212)
for what is legal in these situations. The short version is that the
program should do fflush before fork, or use only _exit in the child.
(Various other things are acceptable too, but they are all other things
that amount to having recently flushed buffers before fork.)
- Follow-Ups:
- Re: PR-673
- From: Andreas Jaeger <aj@arthur.rhein-neckar.de>
- References:
- PR-673
- From: Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>