From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7cee,d4695b171a94685b X-Google-Attributes: gidf7cee,public X-Google-Thread: 10c665,d4695b171a94685b X-Google-Attributes: gid10c665,public X-Google-Thread: fee84,d4695b171a94685b X-Google-Attributes: gidfee84,public X-Google-Thread: 11035d,d4695b171a94685b X-Google-Attributes: gid11035d,public X-Google-ArrivalTime: 1994-06-01 15:36:46 PST Path: bga.com!news.sprintlink.net!rtp.vnet.net!news1.digex.net!uunet!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: 31 May 1994 20:07:31 GMT Organization: FWI, University of Amsterdam Distribution: inet Message-ID: <2sg5e3$gmt@mail.fwi.uva.nl> References: <2s0io0$248@overload.lbl.gov> <1994May26.180828.3893@arl.army.mil> <2sg3h3$onq@overload.lbl.gov> NNTP-Posting-Host: adam.fwi.uva.nl Xref: bga.com comp.unix.osf.osf1:1835 comp.unix.solaris:8374 comp.unix.sys5.r4:1939 comp.bugs.sys5:52 jin@eubie.lbl.gov (Guojun Jin[ITG]) writes: >In this testing program, doing fflush() on input is not meanful, except >re-postioning the file point postion (does this mean that system keep two >positions for one file ??? Very poor implementation). If the input is a huge >data set (say 100MB image data), then, does fflush() intend to flush entire data >set into the system cache to get the file postion adjusted ? Of course not. It doesn't need to do much. >BSD does it better, and SGI fixed its problem, Why not others? Your test programs remain flawed because they call exit() in the child of a fork(). That is wrong and has always been wrong. Casper