loverso@Xylogics.COM (John Robert LoVerso) (04/18/89)
Index: usr.bin/uucp/logent.c 4.3BSD-tahoe Description: When the more generic logfile code was added to UUCP, one variable name change was missed, causing the O_APPEND flag to never get set for logfiles. Repeat-By: Run multiple UUCPs... watch the log get munged. Fix: Apply this patch: *** logent.c_orig Wed May 4 16:53:05 1988 --- logent.c Mon Apr 17 11:54:31 1989 *************** *** 53,57 **** int flags; flags = fcntl(fileno(fp), F_GETFL, 0); ! fcntl(fileno(Lp), F_SETFL, flags|O_APPEND); #endif /* F_SETFL */ fioclex(fileno(fp)); --- 53,57 ---- int flags; flags = fcntl(fileno(fp), F_GETFL, 0); ! fcntl(fileno(fp), F_SETFL, flags|O_APPEND); #endif /* F_SETFL */ fioclex(fileno(fp));