Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: casper@fwi.uva.nl (Casper H.S. Dik)
Subject: Re: Fork bug in Sys5 (or similar) system
Date: 26 May 1994 07:52:34 GMT	[thread overview]
Message-ID: <2s1kg2$7or@mail.fwi.uva.nl> (raw)
In-Reply-To: 2s0io0$248@overload.lbl.gov

jin@eubie.lbl.gov (Guojun Jin[ITG]) writes:

>In sys5 or similar system, the fork() will misplace a file position in a pointer
>which opened by a parent and passed to children.  The bugs affects only fread().
>fwrite() has not been tested yet, but similar peoblem should exist.

You're not allowed to call exit(3) after fork(), unless you
flush all files before calling fork().

Casper


  reply	other threads:[~1994-05-26  7:52 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-05-25 22:16 Fork bug in Sys5 (or similar) system Guojun Jin[ITG]
1994-05-26  7:52 ` Casper H.S. Dik [this message]
1994-05-26 18:16   ` William Armitage
1994-05-27  8:48     ` Casper H.S. Dik
1994-05-27 12:59       ` Dave Johnson
1994-05-27 13:40         ` Casper H.S. Dik
1994-05-28  2:51           ` Doug Gwyn (ACISD/MCSB) <gwyn>
1994-05-31  1:25     ` Peter da Silva
1994-05-26 18:08 ` Doug Gwyn (ACISD/MCSB) <gwyn>
1994-05-31 19:34   ` Guojun Jin[ITG]
1994-05-31 20:07     ` Casper H.S. Dik
1994-06-01 22:06     ` Peter da Silva
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox