Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!linus!allegra!eagle!mhuxt!mhuxi!mhuxa!houxm!ihnp4!cbosgd!mark
From: mark@cbosgd.UUCP
Newsgroups: net.bugs.uucp
Subject: Re: bugs in sud-directory version of UUCP
Message-ID: <3553@cbosgd.UUCP>
Date: Thu, 26-May-83 10:39:21 EDT
Article-I.D.: cbosgd.3553
Posted: Thu May 26 10:39:21 1983
Date-Received: Tue, 5-Jul-83 20:18:17 EDT
References: <127@bpa.UUCP>
Lines: 15

Relay-Version:version B 2.10 5/3/83; site mhuxt.UUCP
Posting-Version:version B 2.10 5/3/83; site cbosgd.UUCP
Message-ID:<3553@cbosgd.UUCP>
Date:Thu, 26-May-83 10:39:21 EDT
Organization:Bell Labs, Columbus

A note on this fix:  this is not so much a bug in trt's version of UUCP
as a portability problem.  The semantics of "a+" are different in USG
and V7 UNIX.  In V7, "a+" means "open for read&write and then seek to
the end".  In USG, it means "open for read&write, and before doing any
writes, always seek to the end of the file".  This change was made to
do the right thing when multiple processes are trying to append to a
file at the same time.

In any case, the change to "r+" and removing the lseek seems like a good idea.