From owner-cvs-lib Sun Mar 30 04:12:40 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA22027 for cvs-lib-outgoing; Sun, 30 Mar 1997 04:12:40 -0800 (PST) Received: (from brian@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA21994; Sun, 30 Mar 1997 04:12:26 -0800 (PST) Date: Sun, 30 Mar 1997 04:12:26 -0800 (PST) From: Brian Somers Message-Id: <199703301212.EAA21994@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib, cvs-usrbin, cvs-sbin, cvs-usrsbin Subject: cvs commit: src/sbin/slattach Makefile src/usr.bin/tip/tip Makefile src/usr.sbin/ppp Makefile src/lib/libutil uucplock.3 uucplock.c Makefile libutil.h src/sbin/startslip Makefile uucplock.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk brian 97/03/30 04:12:24 Modified: lib/libutil Makefile libutil.h sbin/slattach Makefile sbin/startslip Makefile usr.bin/tip/tip Makefile usr.sbin/ppp Makefile Added: lib/libutil uucplock.3 uucplock.c Removed: sbin/startslip uucplock.c Log: Move uucplock into libutil and create a manual page. Revision Changes Path 1.8 +4 -2 src/lib/libutil/Makefile 1.5 +3 -1 src/lib/libutil/libutil.h 1.7 +2 -4 src/sbin/slattach/Makefile 1.4 +2 -1 src/sbin/startslip/Makefile 1.7 +2 -4 src/usr.bin/tip/tip/Makefile 1.17 +2 -4 src/usr.sbin/ppp/Makefile From owner-cvs-lib Sun Mar 30 13:30:11 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA14028 for cvs-lib-outgoing; Sun, 30 Mar 1997 13:30:11 -0800 (PST) Received: from sovcom.kiae.su (sovcom.kiae.su [193.125.152.1]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id NAA13963; Sun, 30 Mar 1997 13:29:59 -0800 (PST) Received: by sovcom.kiae.su id AA12768 (5.65.kiae-1 ); Mon, 31 Mar 1997 00:20:37 +0300 Received: by sovcom.KIAE.su (UUMAIL/2.0); Mon, 31 Mar 97 00:20:36 +0300 Received: (from ache@localhost) by nagual.ru (8.8.5/8.8.5) id BAA00348; Mon, 31 Mar 1997 01:18:17 +0400 (MSD) Date: Mon, 31 Mar 1997 01:18:09 +0400 (MSD) From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= To: Brian Somers Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-lib@freefall.freebsd.org, cvs-usrbin@freefall.freebsd.org, cvs-sbin@freefall.freebsd.org, cvs-usrsbin@freefall.freebsd.org Subject: Re: cvs commit: src/sbin/slattach Makefile src/usr.bin/tip/tip Makefile src/usr.sbin/ppp Makefile src/lib/libutil uucplock.3 uucplock.c Makefile libutil.h src/sbin/startslip Makefile uucplock.c In-Reply-To: <199703301212.EAA21994@freefall.freebsd.org> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sun, 30 Mar 1997, Brian Somers wrote: > Added: lib/libutil uucplock.3 uucplock.c > Removed: sbin/startslip uucplock.c > Log: > Move uucplock into libutil and create a manual page. What you do with USE_PERROR define which switch uucplock error loging from perror to syslog? Startslip uses syslog and ppp not use it. It seems that you just broke ppp since you left USE_PERROR define in its Makefile which unused now. Moreover, having library function with syslog report is bad idea in any case. To fix it properly you need to change return from uucplock functions from int to char *, i.e. return NULL for no errors or static error string if error happens. Then you need to change upper level programs to pass this error string to perror/syslog/whatever. -- Andrey A. Chernov http://www.nagual.ru/~ache/ From owner-cvs-lib Sun Mar 30 20:51:16 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA13927 for cvs-lib-outgoing; Sun, 30 Mar 1997 20:51:16 -0800 (PST) Received: (from imp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA13920; Sun, 30 Mar 1997 20:51:15 -0800 (PST) Date: Sun, 30 Mar 1997 20:51:15 -0800 (PST) From: Warner Losh Message-Id: <199703310451.UAA13920@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/stdtime strftime.3 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk imp 97/03/30 20:51:14 Modified: lib/libc/stdtime strftime.3 Log: Revert my last few changes. They were bogus. Replaced them with the original text plus a statement saying that if strftime fails, the results are undefined. Requested a long time ago by: bde Revision Changes Path 1.8 +4 -14 src/lib/libc/stdtime/strftime.3 From owner-cvs-lib Sun Mar 30 21:18:33 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA18219 for cvs-lib-outgoing; Sun, 30 Mar 1997 21:18:33 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA18208; Sun, 30 Mar 1997 21:18:29 -0800 (PST) Date: Sun, 30 Mar 1997 21:18:29 -0800 (PST) From: Bruce Evans Message-Id: <199703310518.VAA18208@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/stdtime strftime.3 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/03/30 21:18:29 Modified: lib/libc/stdtime strftime.3 Log: Fixed wording of previous change. Obtained from: fgets.3 Guided by: ISO C standard Revision Changes Path 1.9 +1 -1 src/lib/libc/stdtime/strftime.3 From owner-cvs-lib Mon Mar 31 04:37:38 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA15396 for cvs-lib-outgoing; Mon, 31 Mar 1997 04:37:38 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA15389; Mon, 31 Mar 1997 04:37:37 -0800 (PST) Date: Mon, 31 Mar 1997 04:37:37 -0800 (PST) From: Peter Wemm Message-Id: <199703311237.EAA15389@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/sys Makefile.inc chown.2 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/03/31 04:37:36 Modified: lib/libc/sys Makefile.inc chown.2 Log: Create lchown() in libc and document it as a variation of chown(). Revision Changes Path 1.24 +2 -2 src/lib/libc/sys/Makefile.inc 1.10 +21 -5 src/lib/libc/sys/chown.2 From owner-cvs-lib Mon Mar 31 05:38:01 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA17864 for cvs-lib-outgoing; Mon, 31 Mar 1997 05:38:01 -0800 (PST) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA17810; Mon, 31 Mar 1997 05:37:34 -0800 (PST) Received: from awfulhak.demon.co.uk (localhost.lan.awfulhak.org [127.0.0.1]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id OAA02346; Mon, 31 Mar 1997 14:37:00 +0100 (BST) Message-Id: <199703311337.OAA02346@awfulhak.demon.co.uk> X-Mailer: exmh version 1.6.9 8/22/96 To: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= cc: Brian Somers , CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-lib@freefall.freebsd.org, cvs-usrbin@freefall.freebsd.org, cvs-sbin@freefall.freebsd.org, cvs-usrsbin@freefall.freebsd.org Subject: Re: cvs commit: src/sbin/slattach Makefile src/usr.bin/tip/tip Makefile src/usr.sbin/ppp Makefile src/lib/libutil uucplock.3 uucplock.c Makefile libutil.h src/sbin/startslip Makefile uucplock.c In-reply-to: Your message of "Mon, 31 Mar 1997 01:18:09 +0400." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 31 Mar 1997 14:36:59 +0100 From: Brian Somers Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > On Sun, 30 Mar 1997, Brian Somers wrote: > > > Added: lib/libutil uucplock.3 uucplock.c > > Removed: sbin/startslip uucplock.c > > Log: > > Move uucplock into libutil and create a manual page. > > What you do with USE_PERROR define which switch uucplock > error loging from perror to syslog? Startslip uses syslog > and ppp not use it. It seems that you just broke ppp since > you left USE_PERROR define in its Makefile which unused > now. Moreover, having library function with syslog report > is bad idea in any case. > > To fix it properly you need to change return from uucplock functions > from int to char *, i.e. return NULL for no errors or static error > string if error happens. Then you need to change upper level programs > to pass this error string to perror/syslog/whatever. > > -- > Andrey A. Chernov > > http://www.nagual.ru/~ache/ Oops, thanks. I'll do the char* thing. -- Brian , Don't _EVER_ lose your sense of humour.... From owner-cvs-lib Mon Mar 31 06:28:25 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA19753 for cvs-lib-outgoing; Mon, 31 Mar 1997 06:28:25 -0800 (PST) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA19715; Mon, 31 Mar 1997 06:28:13 -0800 (PST) Received: from awfulhak.demon.co.uk (localhost.lan.awfulhak.org [127.0.0.1]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id PAA04005; Mon, 31 Mar 1997 15:27:12 +0100 (BST) Message-Id: <199703311427.PAA04005@awfulhak.demon.co.uk> X-Mailer: exmh version 1.6.9 8/22/96 To: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= cc: Brian Somers , CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-lib@freefall.freebsd.org, cvs-usrbin@freefall.freebsd.org, cvs-sbin@freefall.freebsd.org, cvs-usrsbin@freefall.freebsd.org Subject: Re: cvs commit: src/sbin/slattach Makefile src/usr.bin/tip/tip Makefile src/usr.sbin/ppp Makefile src/lib/libutil uucplock.3 uucplock.c Makefile libutil.h src/sbin/startslip Makefile uucplock.c In-reply-to: Your message of "Mon, 31 Mar 1997 01:18:09 +0400." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 31 Mar 1997 15:27:12 +0100 From: Brian Somers Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > On Sun, 30 Mar 1997, Brian Somers wrote: > > > Added: lib/libutil uucplock.3 uucplock.c > > Removed: sbin/startslip uucplock.c > > Log: > > Move uucplock into libutil and create a manual page. > > What you do with USE_PERROR define which switch uucplock > error loging from perror to syslog? Startslip uses syslog > and ppp not use it. It seems that you just broke ppp since > you left USE_PERROR define in its Makefile which unused > now. Moreover, having library function with syslog report > is bad idea in any case. > > To fix it properly you need to change return from uucplock functions > from int to char *, i.e. return NULL for no errors or static error > string if error happens. Then you need to change upper level programs > to pass this error string to perror/syslog/whatever. > > -- > Andrey A. Chernov > > http://www.nagual.ru/~ache/ On second thoughts, a return value of UU_LOCK_OPEN_ERR, UU_LOCK_READ_ERR, UU_LOCK_SEEK_ERR, UU_LOCK_WRITE_ERR, UU_LOCK_INUSE_ERR or UU_LOCK_OK (#define'd in libutil.h) with errno set to the error would be more appropriate. -- Brian , Don't _EVER_ lose your sense of humour.... From owner-cvs-lib Mon Mar 31 07:43:27 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA23314 for cvs-lib-outgoing; Mon, 31 Mar 1997 07:43:27 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA23306; Mon, 31 Mar 1997 07:43:25 -0800 (PST) Date: Mon, 31 Mar 1997 07:43:25 -0800 (PST) From: Peter Wemm Message-Id: <199703311543.HAA23306@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/sys Makefile.inc Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/03/31 07:43:24 Modified: lib/libc/sys Makefile.inc Log: Add libc hook for issetugid() Revision Changes Path 1.25 +3 -2 src/lib/libc/sys/Makefile.inc From owner-cvs-lib Mon Mar 31 07:59:16 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA23990 for cvs-lib-outgoing; Mon, 31 Mar 1997 07:59:16 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA23983; Mon, 31 Mar 1997 07:59:15 -0800 (PST) Date: Mon, 31 Mar 1997 07:59:15 -0800 (PST) From: Peter Wemm Message-Id: <199703311559.HAA23983@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/sys issetugid.2 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/03/31 07:59:14 Added: lib/libc/sys issetugid.2 Log: Steal issetugid man page from OpenBSD. Needs work.. Obtained from: OpenBSD From owner-cvs-lib Mon Mar 31 08:36:17 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA25713 for cvs-lib-outgoing; Mon, 31 Mar 1997 08:36:17 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA25705; Mon, 31 Mar 1997 08:36:16 -0800 (PST) Date: Mon, 31 Mar 1997 08:36:16 -0800 (PST) From: Peter Wemm Message-Id: <199703311636.IAA25705@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/sys issetugid.2 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/03/31 08:36:15 Modified: lib/libc/sys issetugid.2 Log: General cleanup and update to specify exactly how our implementation passes on the status across fork/exec. The previous version had some typos, referred to itself as link(2) in one place :-), and didn't really match openbsd's implementation either. Now that I've mentioned typos, hopefully our Typo Police and Xref Police will be gentle with me. :-) Revision Changes Path 1.2 +38 -31 src/lib/libc/sys/issetugid.2 From owner-cvs-lib Mon Mar 31 08:56:57 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA26976 for cvs-lib-outgoing; Mon, 31 Mar 1997 08:56:57 -0800 (PST) Received: from sovcom.kiae.su (sovcom.kiae.su [193.125.152.1]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id IAA26880; Mon, 31 Mar 1997 08:55:11 -0800 (PST) Received: by sovcom.kiae.su id AA17785 (5.65.kiae-1 ); Mon, 31 Mar 1997 18:46:19 +0300 Received: by sovcom.KIAE.su (UUMAIL/2.0); Mon, 31 Mar 97 18:46:19 +0300 Received: (from ache@localhost) by nagual.ru (8.8.5/8.8.5) id TAA00626; Mon, 31 Mar 1997 19:45:40 +0400 (MSD) Date: Mon, 31 Mar 1997 19:45:38 +0400 (MSD) From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= To: Brian Somers Cc: Brian Somers , CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-lib@freefall.freebsd.org, cvs-usrbin@freefall.freebsd.org, cvs-sbin@freefall.freebsd.org, cvs-usrsbin@freefall.freebsd.org Subject: Re: cvs commit: src/sbin/slattach Makefile src/usr.bin/tip/tip Makefile src/usr.sbin/ppp Makefile src/lib/libutil uucplock.3 uucplock.c Makefile libutil.h src/sbin/startslip Makefile uucplock.c In-Reply-To: <199703311427.PAA04005@awfulhak.demon.co.uk> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Mon, 31 Mar 1997, Brian Somers wrote: > On second thoughts, a return value of UU_LOCK_OPEN_ERR, > UU_LOCK_READ_ERR, UU_LOCK_SEEK_ERR, UU_LOCK_WRITE_ERR, > UU_LOCK_INUSE_ERR or UU_LOCK_OK (#define'd in libutil.h) > with errno set to the error would be more appropriate. Ok, but you need a wrapper which convert return error code to diagnostic string in any case. It can be done via something like uustrerror() or manually into each program. -- Andrey A. Chernov http://www.nagual.ru/~ache/ From owner-cvs-lib Mon Mar 31 14:51:08 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA15027 for cvs-lib-outgoing; Mon, 31 Mar 1997 14:51:08 -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-lib@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 From owner-cvs-lib Mon Mar 31 18:27:16 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA00526 for cvs-lib-outgoing; Mon, 31 Mar 1997 18:27:16 -0800 (PST) Received: (from jmz@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA00519; Mon, 31 Mar 1997 18:27:14 -0800 (PST) Date: Mon, 31 Mar 1997 18:27:14 -0800 (PST) From: Jean-Marc Zucconi Message-Id: <199704010227.SAA00519@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libf2c Makefile Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jmz 97/03/31 18:27:13 Modified: lib/libf2c Makefile Log: Add the -DPedantic flag. This is used in wref.c only. Revision Changes Path 1.7 +1 -1 src/lib/libf2c/Makefile From owner-cvs-lib Mon Mar 31 18:32:44 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA01080 for cvs-lib-outgoing; Mon, 31 Mar 1997 18:32:44 -0800 (PST) Received: (from jmz@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA01073; Mon, 31 Mar 1997 18:32:43 -0800 (PST) Date: Mon, 31 Mar 1997 18:32:43 -0800 (PST) From: Jean-Marc Zucconi Message-Id: <199704010232.SAA01073@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libI77 wref.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jmz 97/03/31 18:32:42 Modified: lib/libI77 wref.c Log: Fix the output format for numbers >= 1E99. Closes PR bin/648. Revision Changes Path 1.4 +2 -2 src/lib/libI77/wref.c From owner-cvs-lib Tue Apr 1 05:53:20 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA02326 for cvs-lib-outgoing; Tue, 1 Apr 1997 05:53:20 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA02319; Tue, 1 Apr 1997 05:53:18 -0800 (PST) Date: Tue, 1 Apr 1997 05:53:18 -0800 (PST) From: Bruce Evans Message-Id: <199704011353.FAA02319@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/csu/i386 Makefile Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/04/01 05:53:18 Modified: lib/csu/i386 Makefile Log: Simplified install rule. Revision Changes Path 1.29 +2 -6 src/lib/csu/i386/Makefile From owner-cvs-lib Tue Apr 1 09:44:35 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA15153 for cvs-lib-outgoing; Tue, 1 Apr 1997 09:44:35 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA15144; Tue, 1 Apr 1997 09:44:33 -0800 (PST) Date: Tue, 1 Apr 1997 09:44:33 -0800 (PST) From: Mike Pritchard Message-Id: <199704011744.JAA15144@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libutil uucplock.3 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mpp 97/04/01 09:44:32 Modified: lib/libutil uucplock.3 Log: Mdoc police. Revision Changes Path 1.3 +10 -9 src/lib/libutil/uucplock.3 From owner-cvs-lib Tue Apr 1 09:45:03 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA15209 for cvs-lib-outgoing; Tue, 1 Apr 1997 09:45:03 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA15200; Tue, 1 Apr 1997 09:45:01 -0800 (PST) Date: Tue, 1 Apr 1997 09:45:01 -0800 (PST) From: Mike Pritchard Message-Id: <199704011745.JAA15200@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libutil Makefile Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mpp 97/04/01 09:45:00 Modified: lib/libutil Makefile Log: MLINK uu_lockerr(3). Revision Changes Path 1.9 +1 -1 src/lib/libutil/Makefile From owner-cvs-lib Tue Apr 1 10:06:41 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA17148 for cvs-lib-outgoing; Tue, 1 Apr 1997 10:06:41 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA17141; Tue, 1 Apr 1997 10:06:39 -0800 (PST) Date: Tue, 1 Apr 1997 10:06:39 -0800 (PST) From: Mike Pritchard Message-Id: <199704011806.KAA17141@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/sys chown.2 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mpp 97/04/01 10:06:36 Modified: lib/libc/sys chown.2 Log: Fix a minor grammar problem. Revision Changes Path 1.11 +2 -2 src/lib/libc/sys/chown.2 From owner-cvs-lib Tue Apr 1 10:46:04 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA19654 for cvs-lib-outgoing; Tue, 1 Apr 1997 10:46:04 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA19645; Tue, 1 Apr 1997 10:46:01 -0800 (PST) Date: Tue, 1 Apr 1997 10:46:01 -0800 (PST) From: Mike Pritchard Message-Id: <199704011846.KAA19645@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/sys issetugid.2 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mpp 97/04/01 10:45:59 Modified: lib/libc/sys issetugid.2 Log: Fix one very minor mdoc problem. Gentle enough, Peter? :-) Revision Changes Path 1.3 +2 -2 src/lib/libc/sys/issetugid.2 From owner-cvs-lib Tue Apr 1 10:50:59 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA19882 for cvs-lib-outgoing; Tue, 1 Apr 1997 10:50:59 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA19873; Tue, 1 Apr 1997 10:50:57 -0800 (PST) Date: Tue, 1 Apr 1997 10:50:57 -0800 (PST) From: Mike Pritchard Message-Id: <199704011850.KAA19873@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/sys issetugid.2 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mpp 97/04/01 10:50:57 Modified: lib/libc/sys issetugid.2 Log: Don't xref setregid(2) twice - one of them should be setreuid(2). Revision Changes Path 1.4 +2 -2 src/lib/libc/sys/issetugid.2 From owner-cvs-lib Tue Apr 1 10:58:41 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA20497 for cvs-lib-outgoing; Tue, 1 Apr 1997 10:58:41 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA20490; Tue, 1 Apr 1997 10:58:40 -0800 (PST) Date: Tue, 1 Apr 1997 10:58:40 -0800 (PST) From: Mike Pritchard Message-Id: <199704011858.KAA20490@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/sys getgid.2 getuid.2 setregid.2 setreuid.2 setuid.2 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mpp 97/04/01 10:58:40 Modified: lib/libc/sys getgid.2 getuid.2 setregid.2 setreuid.2 setuid.2 Log: Xref the new issetugid(2) man page where appropriate. Also add additional set*id(2) xrefs where appropriate. Revision Changes Path 1.5 +1 -0 src/lib/libc/sys/getgid.2 1.6 +5 -2 src/lib/libc/sys/getuid.2 1.4 +1 -0 src/lib/libc/sys/setregid.2 1.4 +1 -0 src/lib/libc/sys/setreuid.2 1.10 +5 -2 src/lib/libc/sys/setuid.2 From owner-cvs-lib Tue Apr 1 11:07:26 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA21053 for cvs-lib-outgoing; Tue, 1 Apr 1997 11:07:26 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA21045; Tue, 1 Apr 1997 11:07:24 -0800 (PST) Date: Tue, 1 Apr 1997 11:07:24 -0800 (PST) From: Mike Pritchard Message-Id: <199704011907.LAA21045@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/stdtime strftime.3 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mpp 97/04/01 11:07:24 Branch: lib/libc/stdtime RELENG_2_2 Modified: lib/libc/stdtime strftime.3 Log: YAMFC: update text concerning strftime failures. Revision Changes Path 1.4.2.2 +1 -1 src/lib/libc/stdtime/strftime.3 From owner-cvs-lib Tue Apr 1 11:19:10 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA21830 for cvs-lib-outgoing; Tue, 1 Apr 1997 11:19:10 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA21822; Tue, 1 Apr 1997 11:19:07 -0800 (PST) Date: Tue, 1 Apr 1997 11:19:07 -0800 (PST) From: Mike Pritchard Message-Id: <199704011919.LAA21822@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/sys chown.2 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mpp 97/04/01 11:19:07 Branch: lib/libc/sys RELENG_2_2 Modified: lib/libc/sys chown.2 Log: YAMFC: Don't say that fchown follows symbolic links. This was part of Peter's lchown commit, but applies to 2.2. Revision Changes Path 1.4.2.4 +2 -4 src/lib/libc/sys/chown.2 From owner-cvs-lib Tue Apr 1 11:28:20 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA22774 for cvs-lib-outgoing; Tue, 1 Apr 1997 11:28:20 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA22762; Tue, 1 Apr 1997 11:28:16 -0800 (PST) Date: Tue, 1 Apr 1997 11:28:16 -0800 (PST) From: Mike Pritchard Message-Id: <199704011928.LAA22762@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/sys getuid.2 setuid.2 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mpp 97/04/01 11:28:16 Branch: lib/libc/sys RELENG_2_2 Modified: lib/libc/sys getuid.2 setuid.2 Log: YAMFC: Xref the appropriate set*id(2) man pages (and no, I didn't let issetugid xrefs slip in here :-). Revision Changes Path 1.2.2.2 +4 -2 src/lib/libc/sys/getuid.2 1.4.2.5 +4 -2 src/lib/libc/sys/setuid.2 From owner-cvs-lib Tue Apr 1 14:44:25 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA08836 for cvs-lib-outgoing; Tue, 1 Apr 1997 14:44:25 -0800 (PST) Received: (from jb@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA08819; Tue, 1 Apr 1997 14:44:22 -0800 (PST) Date: Tue, 1 Apr 1997 14:44:22 -0800 (PST) From: John Birrell Message-Id: <199704012244.OAA08819@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc_r/uthread uthread_read.c uthread_readv.c uthread_write.c uthread_writev.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jb 97/04/01 14:44:21 Modified: lib/libc_r/uthread uthread_read.c uthread_readv.c uthread_write.c uthread_writev.c Log: Add parentheses to make blocking mode work. Revision Changes Path 1.3 +3 -1 src/lib/libc_r/uthread/uthread_read.c 1.3 +3 -1 src/lib/libc_r/uthread/uthread_readv.c 1.3 +3 -1 src/lib/libc_r/uthread/uthread_write.c 1.3 +3 -1 src/lib/libc_r/uthread/uthread_writev.c From owner-cvs-lib Tue Apr 1 14:50:03 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA09189 for cvs-lib-outgoing; Tue, 1 Apr 1997 14:50:03 -0800 (PST) Received: (from jb@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA09180; Tue, 1 Apr 1997 14:50:01 -0800 (PST) Date: Tue, 1 Apr 1997 14:50:01 -0800 (PST) From: John Birrell Message-Id: <199704012250.OAA09180@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc_r/uthread uthread_fd.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jb 97/04/01 14:50:01 Modified: lib/libc_r/uthread uthread_fd.c Log: Make error checking less zealous to handle devices like /dev/null which don't provide a non-blocking interface. This is a short term "fix" which changes a half-lose to a half-win. The thread that accesses a device that does not provide a non-blocking interface will block for its time slice. A medium term solution would be to use rfork. A long-term solution would be some sort of kernel thread/SMP implementation. Revision Changes Path 1.4 +10 -2 src/lib/libc_r/uthread/uthread_fd.c From owner-cvs-lib Tue Apr 1 14:51:52 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA09427 for cvs-lib-outgoing; Tue, 1 Apr 1997 14:51:52 -0800 (PST) Received: (from jb@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA09419; Tue, 1 Apr 1997 14:51:50 -0800 (PST) Date: Tue, 1 Apr 1997 14:51:50 -0800 (PST) From: John Birrell Message-Id: <199704012251.OAA09419@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc_r/uthread uthread_kern.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jb 97/04/01 14:51:49 Modified: lib/libc_r/uthread uthread_kern.c Log: Fix indentations. Sigh. Revision Changes Path 1.5 +17 -15 src/lib/libc_r/uthread/uthread_kern.c From owner-cvs-lib Tue Apr 1 14:52:48 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA09537 for cvs-lib-outgoing; Tue, 1 Apr 1997 14:52:48 -0800 (PST) Received: (from jb@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA09528; Tue, 1 Apr 1997 14:52:46 -0800 (PST) Date: Tue, 1 Apr 1997 14:52:46 -0800 (PST) From: John Birrell Message-Id: <199704012252.OAA09528@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc_r/uthread uthread_socketpair.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jb 97/04/01 14:52:45 Modified: lib/libc_r/uthread uthread_socketpair.c Log: Fix the return value. Oops. Revision Changes Path 1.3 +3 -1 src/lib/libc_r/uthread/uthread_socketpair.c From owner-cvs-lib Tue Apr 1 14:57:59 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA10032 for cvs-lib-outgoing; Tue, 1 Apr 1997 14:57:59 -0800 (PST) Received: (from ache@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA10025; Tue, 1 Apr 1997 14:57:57 -0800 (PST) Date: Tue, 1 Apr 1997 14:57:57 -0800 (PST) From: "Andrey A. Chernov" Message-Id: <199704012257.OAA10025@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/sys Makefile.inc Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 97/04/01 14:57:57 Modified: lib/libc/sys Makefile.inc Log: Add issetugid.2 to MAN2 list Revision Changes Path 1.26 +3 -2 src/lib/libc/sys/Makefile.inc From owner-cvs-lib Tue Apr 1 15:03:10 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA10408 for cvs-lib-outgoing; Tue, 1 Apr 1997 15:03:10 -0800 (PST) Received: from time.cdrom.com (root@time.cdrom.com [204.216.27.226]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA10400; Tue, 1 Apr 1997 15:03:02 -0800 (PST) Received: from time.cdrom.com (jkh@localhost [127.0.0.1]) by time.cdrom.com (8.8.5/8.6.9) with ESMTP id PAA27622; Tue, 1 Apr 1997 15:03:03 -0800 (PST) To: John Birrell cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-lib@freefall.freebsd.org Subject: Re: cvs commit: src/lib/libc_r/uthread uthread_fd.c In-reply-to: Your message of "Tue, 01 Apr 1997 14:50:01 PST." <199704012250.OAA09180@freefall.freebsd.org> Date: Tue, 01 Apr 1997 15:03:03 -0800 Message-ID: <27619.859935783@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > A medium term solution would be to use rfork. A long-term solution > would be some sort of kernel thread/SMP implementation. Rah rah! Go John! :-) Jordan From owner-cvs-lib Tue Apr 1 15:08:03 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA10903 for cvs-lib-outgoing; Tue, 1 Apr 1997 15:08:03 -0800 (PST) Received: (from ache@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA10841; Tue, 1 Apr 1997 15:08:00 -0800 (PST) Date: Tue, 1 Apr 1997 15:08:00 -0800 (PST) From: "Andrey A. Chernov" Message-Id: <199704012308.PAA10841@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/sys Makefile.inc Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 97/04/01 15:07:57 Modified: lib/libc/sys Makefile.inc Log: Link chown with lchown Revision Changes Path 1.27 +2 -2 src/lib/libc/sys/Makefile.inc From owner-cvs-lib Tue Apr 1 15:34:26 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA13434 for cvs-lib-outgoing; Tue, 1 Apr 1997 15:34:26 -0800 (PST) Received: from sovcom.kiae.su (sovcom.kiae.su [193.125.152.1]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id PAA13422; Tue, 1 Apr 1997 15:34:17 -0800 (PST) Received: by sovcom.kiae.su id AA03150 (5.65.kiae-1 ); Wed, 2 Apr 1997 02:14:51 +0300 Received: by sovcom.KIAE.su (UUMAIL/2.0); Wed, 2 Apr 97 02:14:51 +0300 Received: (from ache@localhost) by nagual.ru (8.8.5/8.8.5) id DAA08350; Wed, 2 Apr 1997 03:14:50 +0400 (MSD) Date: Wed, 2 Apr 1997 03:14:47 +0400 (MSD) From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= To: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-lib@freefall.freebsd.org Subject: Re: cvs commit: src/lib/libc/sys Makefile.inc In-Reply-To: <199704012308.PAA10841@freefall.freebsd.org> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Tue, 1 Apr 1997, Andrey A. Chernov wrote: > ache 97/04/01 15:07:57 > > Modified: lib/libc/sys Makefile.inc > Log: > Link chown with lchown Manpages assumed -- Andrey A. Chernov http://www.nagual.ru/~ache/ From owner-cvs-lib Tue Apr 1 17:42:15 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA23545 for cvs-lib-outgoing; Tue, 1 Apr 1997 17:42:15 -0800 (PST) Received: (from jdp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA23530; Tue, 1 Apr 1997 17:42:11 -0800 (PST) Date: Tue, 1 Apr 1997 17:42:11 -0800 (PST) From: John Polstra Message-Id: <199704020142.RAA23530@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/sys mknod.2 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jdp 97/04/01 17:42:10 Modified: lib/libc/sys mknod.2 Log: Correct the most glaring errors. I have a feeling there are some left. Revision Changes Path 1.5 +7 -13 src/lib/libc/sys/mknod.2 From owner-cvs-lib Tue Apr 1 17:45:57 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA24047 for cvs-lib-outgoing; Tue, 1 Apr 1997 17:45:57 -0800 (PST) Received: (from jdp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA24040; Tue, 1 Apr 1997 17:45:55 -0800 (PST) Date: Tue, 1 Apr 1997 17:45:55 -0800 (PST) From: John Polstra Message-Id: <199704020145.RAA24040@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/sys mknod.2 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jdp 97/04/01 17:45:54 Branch: lib/libc/sys RELENG_2_2 Modified: lib/libc/sys mknod.2 Log: Merge from main branch 1.4 -> 1.5: fix glaring errors. Revision Changes Path 1.2.2.3 +7 -13 src/lib/libc/sys/mknod.2 From owner-cvs-lib Tue Apr 1 19:38:32 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA02026 for cvs-lib-outgoing; Tue, 1 Apr 1997 19:38:32 -0800 (PST) Received: (from ache@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA02019; Tue, 1 Apr 1997 19:38:31 -0800 (PST) Date: Tue, 1 Apr 1997 19:38:31 -0800 (PST) From: "Andrey A. Chernov" Message-Id: <199704020338.TAA02019@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libutil uucplock.3 uucplock.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 97/04/01 19:38:30 Modified: lib/libutil uucplock.3 uucplock.c Log: Remove unused USE_PERROR define and syslog.h include Use snprintf instead of sprintf to avoid buffer overflows Use snprintf in uu_lockerr instead of lots of hardcoded constants and not null-terminated strncpy Return "" for OK and "device in use" for INUSE, it allows simple strcpy(buf, uu_lockerr(retcode)) without testing for special OK case (NULL was there) and obtaining meaningful result for INUSE ("" was there) without special testing for it too. Revision Changes Path 1.4 +3 -6 src/lib/libutil/uucplock.3 1.3 +14 -19 src/lib/libutil/uucplock.c From owner-cvs-lib Tue Apr 1 19:53:53 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA02944 for cvs-lib-outgoing; Tue, 1 Apr 1997 19:53:53 -0800 (PST) Received: (from ache@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA02937; Tue, 1 Apr 1997 19:53:51 -0800 (PST) Date: Tue, 1 Apr 1997 19:53:51 -0800 (PST) From: "Andrey A. Chernov" Message-Id: <199704020353.TAA02937@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libutil uucplock.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 97/04/01 19:53:50 Modified: lib/libutil uucplock.c Log: Code space optimization in uu_lockerr() Revision Changes Path 1.4 +7 -10 src/lib/libutil/uucplock.c From owner-cvs-lib Tue Apr 1 20:24:45 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA04313 for cvs-lib-outgoing; Tue, 1 Apr 1997 20:24:45 -0800 (PST) Received: (from ache@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA04302; Tue, 1 Apr 1997 20:24:42 -0800 (PST) Date: Tue, 1 Apr 1997 20:24:42 -0800 (PST) From: "Andrey A. Chernov" Message-Id: <199704020424.UAA04302@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libutil uucplock.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 97/04/01 20:24:41 Modified: lib/libutil uucplock.c Log: Add Id Reduce space for error bufer from 512 to 128: there is no such long strings can be returned from strerror() Revision Changes Path 1.5 +4 -1 src/lib/libutil/uucplock.c From owner-cvs-lib Tue Apr 1 21:52:28 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA08087 for cvs-lib-outgoing; Tue, 1 Apr 1997 21:52:28 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA08073; Tue, 1 Apr 1997 21:52:24 -0800 (PST) Date: Tue, 1 Apr 1997 21:52:24 -0800 (PST) From: Mike Pritchard Message-Id: <199704020552.VAA08073@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libutil uucplock.3 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mpp 97/04/01 21:52:23 Modified: lib/libutil uucplock.3 Log: Grammar police. Revision Changes Path 1.5 +2 -2 src/lib/libutil/uucplock.3 From owner-cvs-lib Tue Apr 1 22:17:09 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA09377 for cvs-lib-outgoing; Tue, 1 Apr 1997 22:17:09 -0800 (PST) Received: from ghpc6.ihf.rwth-aachen.de (ghpc6.ihf.RWTH-Aachen.DE [134.130.90.6]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id WAA09342; Tue, 1 Apr 1997 22:16:33 -0800 (PST) Received: (from thomas@localhost) by ghpc6.ihf.rwth-aachen.de (8.8.5/8.8.5) id IAA11786; Wed, 2 Apr 1997 08:16:30 +0200 (CEST) To: John Birrell Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-lib@freefall.freebsd.org Subject: Re: cvs commit: src/lib/libc_r/uthread uthread_socketpair.c References: <199704012252.OAA09528@freefall.freebsd.org> From: Thomas Gellekum Date: 02 Apr 1997 08:16:26 +0200 In-Reply-To: John Birrell's message of Tue, 1 Apr 1997 14:52:46 -0800 (PST) Message-ID: <873eta7xvo.fsf@ghpc6.ihf.rwth-aachen.de> Lines: 10 X-Mailer: Gnus v5.4.33/XEmacs 19.14 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk John Birrell writes: > jb 97/04/01 14:52:45 > > Modified: lib/libc_r/uthread uthread_socketpair.c Any chance that the changes to libc_r will be merged into the RELENG_2_2 branch? tg From owner-cvs-lib Tue Apr 1 22:20:15 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA09529 for cvs-lib-outgoing; Tue, 1 Apr 1997 22:20:15 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA09521; Tue, 1 Apr 1997 22:20:10 -0800 (PST) Date: Tue, 1 Apr 1997 22:20:10 -0800 (PST) From: Mike Pritchard Message-Id: <199704020620.WAA09521@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/gen pwcache.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mpp 97/04/01 22:20:10 Modified: lib/libc/gen pwcache.c Log: The user_from_{uid,gid} routines would return garbage if the uid/gid in question was in the cache, but did not exist in the password file. This causes the -nouser and -nogroup options to find(1) to only print the first file owned by an unknown user/group in some cases. Revision Changes Path 1.5 +2 -2 src/lib/libc/gen/pwcache.c From owner-cvs-lib Tue Apr 1 22:22:00 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA09660 for cvs-lib-outgoing; Tue, 1 Apr 1997 22:22:00 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA09653; Tue, 1 Apr 1997 22:21:58 -0800 (PST) Date: Tue, 1 Apr 1997 22:21:58 -0800 (PST) From: Mike Pritchard Message-Id: <199704020621.WAA09653@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/gen pwcache.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mpp 97/04/01 22:21:57 Branch: lib/libc/gen RELENG_2_2 Modified: lib/libc/gen pwcache.c Log: YAMFC: fix user_from_{uid,gid} to return the proper value when a non-existent user is in the cache. Revision Changes Path 1.4.2.1 +2 -2 src/lib/libc/gen/pwcache.c From owner-cvs-lib Wed Apr 2 02:16:48 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA20823 for cvs-lib-outgoing; Wed, 2 Apr 1997 02:16:48 -0800 (PST) Received: from werple.net.au (melb.werple.net.au [203.9.190.18]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id CAA20805 for ; Wed, 2 Apr 1997 02:16:40 -0800 (PST) Received: (qmail 20809 invoked by uid 5); 2 Apr 1997 10:16:36 -0000 Received: (from jb@localhost) by freebsd1.cimlogic.com.au (8.7.5/8.7.3) id UAA13219; Wed, 2 Apr 1997 20:11:19 +1000 (EST) From: John Birrell Message-Id: <199704021011.UAA13219@freebsd1.cimlogic.com.au> Subject: Re: cvs commit: src/lib/libc_r/uthread uthread_socketpair.c To: tg@ihf.rwth-aachen.de (Thomas Gellekum) Date: Wed, 2 Apr 1997 20:11:18 +1000 (EST) Cc: jb@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-lib@freefall.freebsd.org In-Reply-To: <873eta7xvo.fsf@ghpc6.ihf.rwth-aachen.de> from Thomas Gellekum at "Apr 2, 97 08:16:26 am" X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Thomas Gellekum wrote: > John Birrell writes: > > > jb 97/04/01 14:52:45 > > > > Modified: lib/libc_r/uthread uthread_socketpair.c > > Any chance that the changes to libc_r will be merged into the > RELENG_2_2 branch? The changes are simple yet significant 8-), so I guess that they should go in the RELENG_2_2, however I'll need someone who knows more about 2.2 than me to make that decision. I'm too new to this commit business to go near RELENG_2_2. 8-) > > tg > Regards, -- John Birrell - jb@cimlogic.com.au; jb@netbsd.org; jb@freebsd.org CIMlogic Pty Ltd, 119 Cecil Street, South Melbourne Vic 3205, Australia Tel +61 3 9690 6900 Fax +61 3 9690 6650 Mob +61 418 353 137 From owner-cvs-lib Wed Apr 2 08:49:22 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA08974 for cvs-lib-outgoing; Wed, 2 Apr 1997 08:49:22 -0800 (PST) Received: (from jdp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA08966; Wed, 2 Apr 1997 08:49:20 -0800 (PST) Date: Wed, 2 Apr 1997 08:49:20 -0800 (PST) From: John Polstra Message-Id: <199704021649.IAA08966@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/csu/i386 Makefile Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jdp 97/04/02 08:49:19 Modified: lib/csu/i386 Makefile Log: Fix an error in the previous revision that caused make world breakage. Revision Changes Path 1.30 +3 -1 src/lib/csu/i386/Makefile From owner-cvs-lib Wed Apr 2 09:24:20 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA11400 for cvs-lib-outgoing; Wed, 2 Apr 1997 09:24:20 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA11393; Wed, 2 Apr 1997 09:24:17 -0800 (PST) Date: Wed, 2 Apr 1997 09:24:17 -0800 (PST) From: Peter Wemm Message-Id: <199704021724.JAA11393@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/sys setuid.2 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/04/02 09:24:17 Modified: lib/libc/sys setuid.2 Log: Update to include details about the changes to setuid/setgid. Revision Changes Path 1.11 +6 -2 src/lib/libc/sys/setuid.2 From owner-cvs-lib Wed Apr 2 17:51:43 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA16119 for cvs-lib-outgoing; Wed, 2 Apr 1997 17:51:43 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA16112; Wed, 2 Apr 1997 17:51:40 -0800 (PST) Date: Wed, 2 Apr 1997 17:51:40 -0800 (PST) From: Mike Pritchard Message-Id: <199704030151.RAA16112@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/gen pwcache.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mpp 97/04/02 17:51:38 Modified: lib/libc/gen pwcache.c Log: Honor the nouser/nogroup flag when determing if NULL should be returned if a cached uid/gid does not exist in the password file. Revision Changes Path 1.6 +2 -2 src/lib/libc/gen/pwcache.c From owner-cvs-lib Wed Apr 2 17:52:54 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA16267 for cvs-lib-outgoing; Wed, 2 Apr 1997 17:52:54 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA16260; Wed, 2 Apr 1997 17:52:53 -0800 (PST) Date: Wed, 2 Apr 1997 17:52:53 -0800 (PST) From: Mike Pritchard Message-Id: <199704030152.RAA16260@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/gen pwcache.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mpp 97/04/02 17:52:52 Branch: lib/libc/gen RELENG_2_2 Modified: lib/libc/gen pwcache.c Log: YAMFC: Honor the nouser/nogroup flag for cached non-existent ids. Revision Changes Path 1.4.2.2 +2 -2 src/lib/libc/gen/pwcache.c From owner-cvs-lib Wed Apr 2 22:08:36 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA29053 for cvs-lib-outgoing; Wed, 2 Apr 1997 22:08:36 -0800 (PST) Received: (from jkh@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA29043; Wed, 2 Apr 1997 22:08:32 -0800 (PST) Date: Wed, 2 Apr 1997 22:08:32 -0800 (PST) From: "Jordan K. Hubbard" Message-Id: <199704030608.WAA29043@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/compat/compat21 libg++.so.3.0.gz.uu Makefile Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 97/04/02 22:08:31 Modified: lib/compat/compat21 Makefile Added: lib/compat/compat21 libg++.so.3.0.gz.uu Log: Add libg++ 3.0 Revision Changes Path 1.9 +2 -2 src/lib/compat/compat21/Makefile From owner-cvs-lib Wed Apr 2 22:20:37 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA29873 for cvs-lib-outgoing; Wed, 2 Apr 1997 22:20:37 -0800 (PST) Received: (from jkh@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA29864; Wed, 2 Apr 1997 22:20:35 -0800 (PST) Date: Wed, 2 Apr 1997 22:20:35 -0800 (PST) From: "Jordan K. Hubbard" Message-Id: <199704030620.WAA29864@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/compat/compat21 Makefile Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 97/04/02 22:20:34 Branch: lib/compat/compat21 RELENG_2_2 Modified: lib/compat/compat21 Makefile Log: Add libg++ 3.0 Revision Changes Path 1.1.2.4 +2 -2 src/lib/compat/compat21/Makefile From owner-cvs-lib Fri Apr 4 10:28:41 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA24524 for cvs-lib-outgoing; Fri, 4 Apr 1997 10:28:41 -0800 (PST) Received: (from ache@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA24517; Fri, 4 Apr 1997 10:28:39 -0800 (PST) Date: Fri, 4 Apr 1997 10:28:39 -0800 (PST) From: "Andrey A. Chernov" Message-Id: <199704041828.KAA24517@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/stdio vfscanf.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 97/04/04 10:28:39 Modified: lib/libc/stdio vfscanf.c Log: Speedup in case locale not used Revision Changes Path 1.9 +16 -7 src/lib/libc/stdio/vfscanf.c From owner-cvs-lib Fri Apr 4 10:44:26 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA25449 for cvs-lib-outgoing; Fri, 4 Apr 1997 10:44:26 -0800 (PST) Received: (from ache@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA25437; Fri, 4 Apr 1997 10:44:22 -0800 (PST) Date: Fri, 4 Apr 1997 10:44:22 -0800 (PST) From: "Andrey A. Chernov" Message-Id: <199704041844.KAA25437@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/gen fnmatch.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 97/04/04 10:44:21 Modified: lib/libc/gen fnmatch.c Log: Speedup in case locale not used Revision Changes Path 1.9 +6 -2 src/lib/libc/gen/fnmatch.c From owner-cvs-lib Fri Apr 4 11:07:12 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA26909 for cvs-lib-outgoing; Fri, 4 Apr 1997 11:07:12 -0800 (PST) Received: (from ache@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA26894; Fri, 4 Apr 1997 11:07:09 -0800 (PST) Date: Fri, 4 Apr 1997 11:07:09 -0800 (PST) From: "Andrey A. Chernov" Message-Id: <199704041907.LAA26894@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/stdio vfscanf.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 97/04/04 11:07:08 Modified: lib/libc/stdio vfscanf.c Log: Eliminate yet one function call when locale not used Revision Changes Path 1.10 +4 -3 src/lib/libc/stdio/vfscanf.c From owner-cvs-lib Fri Apr 4 11:08:26 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA27089 for cvs-lib-outgoing; Fri, 4 Apr 1997 11:08:26 -0800 (PST) Received: (from ache@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA27075; Fri, 4 Apr 1997 11:08:22 -0800 (PST) Date: Fri, 4 Apr 1997 11:08:22 -0800 (PST) From: "Andrey A. Chernov" Message-Id: <199704041908.LAA27075@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/gen fnmatch.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 97/04/04 11:08:22 Modified: lib/libc/gen fnmatch.c Log: Eliminate some function calls when locale not used Revision Changes Path 1.10 +4 -6 src/lib/libc/gen/fnmatch.c From owner-cvs-lib Fri Apr 4 11:16:11 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA27525 for cvs-lib-outgoing; Fri, 4 Apr 1997 11:16:11 -0800 (PST) Received: (from ache@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA27517; Fri, 4 Apr 1997 11:16:10 -0800 (PST) Date: Fri, 4 Apr 1997 11:16:10 -0800 (PST) From: "Andrey A. Chernov" Message-Id: <199704041916.LAA27517@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/gen glob.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 97/04/04 11:16:09 Modified: lib/libc/gen glob.c Log: Speedup in case locale not used Revision Changes Path 1.8 +3 -1 src/lib/libc/gen/glob.c From owner-cvs-lib Fri Apr 4 11:40:56 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA29210 for cvs-lib-outgoing; Fri, 4 Apr 1997 11:40:56 -0800 (PST) Received: (from ache@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA29202; Fri, 4 Apr 1997 11:40:53 -0800 (PST) Date: Fri, 4 Apr 1997 11:40:53 -0800 (PST) From: "Andrey A. Chernov" Message-Id: <199704041940.LAA29202@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/regex regcomp.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 97/04/04 11:40:52 Modified: lib/libc/regex regcomp.c Log: Speedup in case locale not used Revision Changes Path 1.11 +11 -5 src/lib/libc/regex/regcomp.c From owner-cvs-lib Fri Apr 4 12:11:03 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA00937 for cvs-lib-outgoing; Fri, 4 Apr 1997 12:11:03 -0800 (PST) Received: (from ache@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA00930; Fri, 4 Apr 1997 12:11:00 -0800 (PST) Date: Fri, 4 Apr 1997 12:11:00 -0800 (PST) From: "Andrey A. Chernov" Message-Id: <199704042011.MAA00930@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libcompat Makefile src/lib/libcompat/regexp regexp.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 97/04/04 12:10:59 Modified: lib/libcompat Makefile lib/libcompat/regexp regexp.c Log: Speedup in case locale not used Revision Changes Path 1.15 +1 -1 src/lib/libcompat/Makefile 1.6 +16 -26 src/lib/libcompat/regexp/regexp.c