From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,d4695b171a94685b X-Google-Attributes: gidfee84,public X-Google-Thread: 11035d,d4695b171a94685b X-Google-Attributes: gid11035d,public X-Google-Thread: 10c665,d4695b171a94685b X-Google-Attributes: gid10c665,public X-Google-Thread: f7cee,d4695b171a94685b X-Google-Attributes: gidf7cee,public X-Google-ArrivalTime: 1994-06-03 03:48:04 PST Newsgroups: comp.unix.osf.osf1,comp.unix.solaris,comp.unix.sys5.r4,comp.bugs.sys5 Path: bga.com!news.sprintlink.net!rtp.vnet.net!news1.digex.net!lynx.unm.edu!jobone!newsxfer.itd.umich.edu!europa.eng.gtefsd.com!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!swrinde!news.uh.edu!uuneo.neosoft.com!nmtigw!peter From: peter@nmti.com (Peter da Silva) Subject: Re: Fork bug in Sys5 (or similar) system Message-ID: Sender: peter@nmti.com (peter da silva) Organization: Network/development platform support, NMTI References: <2s0io0$248@overload.lbl.gov> <1994May26.180828.3893@arl.army.mil> <2sg3h3$onq@overload.lbl.gov> Distribution: inet Date: Wed, 1 Jun 1994 22:06:44 GMT Xref: bga.com comp.unix.osf.osf1:1863 comp.unix.solaris:8489 comp.unix.sys5.r4:1955 comp.bugs.sys5:53 In article <2sg3h3$onq@overload.lbl.gov>, Guojun Jin[ITG] wrote: > The fork() should duplicate the parent space to its child without any changes. It does. > 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). The system keeps one, the standard I/O library keeps one. If you think about it, that's the only way it could possibly be implemented. Sun apparently synchronises these two pointers on close. -- Peter da Silva `-_-' Network Management Technology Incorporated 'U` 1601 Industrial Blvd. Sugar Land, TX 77478 USA +1 713 274 5180 "Hast Du heute schon Deinen Wolf umarmt?"