Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ucbvax!sdcsvax!hutch From: hutch@sdcsvax.UUCP Newsgroups: comp.bugs.4bsd,comp.unix.wizards Subject: Re: concurrent write(2) calls write bad data to file Message-ID: <2841@sdcsvax.UCSD.EDU> Date: Wed, 11-Mar-87 13:51:19 EST Article-I.D.: sdcsvax.2841 Posted: Wed Mar 11 13:51:19 1987 Date-Received: Thu, 12-Mar-87 22:59:17 EST References: <692@rtech.UUCP> <14589@sun.uucp> Reply-To: hutch@sdcsvax.UCSD.EDU (Jim Hutchison) Organization: UCSD EMU Project (Educational Microcomputer Unix) Lines: 10 Xref: utgpu comp.bugs.4bsd:212 comp.unix.wizards:1312 <> I presume O_APPEND on open? If not, then life will get ugly. O_APPEND will make things *even* work for multiple things writing to the same file, or atleast it has worked for me so far. -- Jim Hutchison UUCP: {dcdwest,ucbvax}!sdcsvax!hutch ARPA: Hutch@sdcsvax.ucsd.edu 2049 6d61 7320 6c65 2066 6572 7270 7365 6e65 6974 676e 6920 206e 6874 7369 6120 7472 6369 656c 202c 2049 6572 7270 7365 6e65 2074 6e6f 796c 6d20 7379 6c65 2e66