From owner-cvs-usrsbin Mon Mar 31 14:51:03 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA15003 for cvs-usrsbin-outgoing; Mon, 31 Mar 1997 14:51:03 -0800 (PST) Received: (from brian@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA14996; Mon, 31 Mar 1997 14:51:01 -0800 (PST) Date: Mon, 31 Mar 1997 14:51:01 -0800 (PST) From: Brian Somers Message-Id: <199703312251.OAA14996@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib, cvs-usrbin, cvs-sbin, cvs-usrsbin Subject: cvs commit: src/usr.bin/tip/tip Makefile hunt.c src/lib/libutil libutil.h uucplock.3 uucplock.c src/sbin/slattach slattach.c src/sbin/startslip startslip.c src/usr.sbin/ppp Makefile modem.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk brian 97/03/31 14:51:01 Modified: lib/libutil libutil.h uucplock.3 uucplock.c sbin/slattach slattach.c sbin/startslip startslip.c usr.bin/tip/tip Makefile hunt.c usr.sbin/ppp Makefile modem.c Log: Remove the syslog stuff, and allow various return values in uu_lock(). Add uu_lockerr() for turning the results of uu_lock into something printable. Remove bogus section in man page about race conditions allowing both processes to get the lock. Include libutil.h and use uu_lock() correctly where it should. Suggested by: ache@freebsd.org Revision Changes Path 1.6 +9 -1 src/lib/libutil/libutil.h 1.2 +77 -14 src/lib/libutil/uucplock.3 1.2 +59 -33 src/lib/libutil/uucplock.c 1.27 +10 -3 src/sbin/slattach/slattach.c 1.24 +6 -2 src/sbin/startslip/startslip.c 1.8 +0 -1 src/usr.bin/tip/tip/Makefile 1.2 +6 -1 src/usr.bin/tip/tip/hunt.c 1.18 +2 -2 src/usr.sbin/ppp/Makefile 1.32 +9 -4 src/usr.sbin/ppp/modem.c