Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!houxm!houxz!vax135!cornell!uw-beaver!tektronix!hplabs!sri-unix!speck@cit-vax.ARPA From: speck@cit-vax.ARPA Newsgroups: net.unix-wizards Subject: Re: bug in 4.2 tip Message-ID: <1802@sri-arpa.UUCP> Date: Mon, 9-Jul-84 23:06:32 EDT Article-I.D.: sri-arpa.1802 Posted: Mon Jul 9 23:06:32 1984 Date-Received: Fri, 13-Jul-84 03:26:07 EDT Lines: 20 From: Don Speck Index: 4.2 BSD tip acu.c Coincidentally, I fixed the bug in 'cm' here just an hour before it was mentioned on Unix-wizards. But I think what you want is: $ diff -b acu.old.c acu.c # look in routine connect() 41c41 < pwrite(FD, cp, size(CM)); --- > pwrite(FD, CM, size(CM)); instead of &CM as was claimed. (This is what works here). Tip also has a problem with lockfiles. It runs setuid to uucp, makes a lockfile in /usr/spool/uucp/, throws away its setuid/setgid, and much later it tries to remove the lockfile and can't. Is there a pre-existing fix to this one (using fork() perhaps?) If so, can someone point me to it? -Don Speck-