From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11035d,e18150a7d0814fcb X-Google-Attributes: gid11035d,public X-Google-Thread: 10c665,e18150a7d0814fcb X-Google-Attributes: gid10c665,public X-Google-Thread: f7cee,e18150a7d0814fcb X-Google-Attributes: gidf7cee,public X-Google-Thread: fee84,e18150a7d0814fcb X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-05-29 02:59:36 PST Path: bga.com!news.sprintlink.net!get.hooked.net!decwrl!hookup!news.moneng.mei.com!howland.reston.ans.net!EU.net!sun4nl!fwi.uva.nl!casper From: casper@fwi.uva.nl (Casper H.S. Dik) Newsgroups: comp.unix.osf.osf1,comp.unix.solaris,comp.unix.sys5.r4,comp.bugs.sys5 Subject: Re: Fork bug in Sys5 (or similar) system Date: 26 May 1994 07:52:34 GMT Organization: FWI, University of Amsterdam Distribution: inet Message-ID: <2s1kg2$7or@mail.fwi.uva.nl> References: <2s0io0$248@overload.lbl.gov> NNTP-Posting-Host: adam.fwi.uva.nl Xref: bga.com comp.unix.osf.osf1:1775 comp.unix.solaris:8210 comp.unix.sys5.r4:1903 comp.bugs.sys5:48 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