From owner-cvs-lib Sun Oct 29 01:49:32 1995 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA09414 for cvs-lib-outgoing; Sun, 29 Oct 1995 01:49:32 -0800 Received: (from phk@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA09403 ; Sun, 29 Oct 1995 01:49:24 -0800 Date: Sun, 29 Oct 1995 01:49:24 -0800 From: Poul-Henning Kamp Message-Id: <199510290949.BAA09403@freefall.freebsd.org> To: CVS-commiters, cvs-lib Subject: cvs commit: src/lib/csu/i386 Makefile crt0.c Sender: owner-cvs-lib@FreeBSD.org Precedence: bulk phk 95/10/29 01:49:23 Modified: lib/csu/i386 Makefile crt0.c Log: Clean up and make code (more) readable. From owner-cvs-lib Thu Nov 2 04:42:47 1995 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id EAA29136 for cvs-lib-outgoing; Thu, 2 Nov 1995 04:42:47 -0800 Received: (from ache@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id EAA29127 ; Thu, 2 Nov 1995 04:42:44 -0800 Date: Thu, 2 Nov 1995 04:42:44 -0800 From: "Andrey A. Chernov" Message-Id: <199511021242.EAA29127@freefall.freebsd.org> To: CVS-commiters, cvs-lib Subject: cvs commit: src/lib/csu/i386 Makefile crt0.c Sender: owner-cvs-lib@FreeBSD.org Precedence: bulk ache 95/11/02 04:42:43 Modified: lib/csu/i386 Makefile crt0.c Log: Remove my locale hack. Sigh. From owner-cvs-lib Fri Nov 3 00:59:07 1995 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA29381 for cvs-lib-outgoing; Fri, 3 Nov 1995 00:59:07 -0800 Received: (from ache@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA29372 ; Fri, 3 Nov 1995 00:59:03 -0800 Date: Fri, 3 Nov 1995 00:59:03 -0800 From: "Andrey A. Chernov" Message-Id: <199511030859.AAA29372@freefall.freebsd.org> To: CVS-commiters, cvs-lib Subject: cvs commit: src/lib/libc/locale runetype.c setrunelocale.c tolower.c toupper.c Sender: owner-cvs-lib@FreeBSD.org Precedence: bulk ache 95/11/03 00:59:02 Modified: lib/libc/locale runetype.c setrunelocale.c tolower.c toupper.c Log: Move more stuff out to XPG4 Handle negative chars inside runetype/tolower/toupper From owner-cvs-lib Fri Nov 3 01:03:14 1995 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA29669 for cvs-lib-outgoing; Fri, 3 Nov 1995 01:03:14 -0800 Received: (from ache@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA29651 ; Fri, 3 Nov 1995 01:03:03 -0800 Date: Fri, 3 Nov 1995 01:03:03 -0800 From: "Andrey A. Chernov" Message-Id: <199511030903.BAA29651@freefall.freebsd.org> To: CVS-commiters, cvs-lib Subject: cvs commit: src/lib/libxpg4 Makefile Sender: owner-cvs-lib@FreeBSD.org Precedence: bulk ache 95/11/03 01:03:02 Modified: lib/libxpg4 Makefile Log: Add more stuff moved out from XPG3 From owner-cvs-lib Fri Nov 3 10:34:44 1995 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA22205 for cvs-lib-outgoing; Fri, 3 Nov 1995 10:34:44 -0800 Received: (from wollman@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA22194 ; Fri, 3 Nov 1995 10:34:39 -0800 Date: Fri, 3 Nov 1995 10:34:39 -0800 From: "Garrett A. Wollman" Message-Id: <199511031834.KAA22194@freefall.freebsd.org> To: CVS-commiters, cvs-lib Subject: cvs commit: src/lib/libc/sys getsockopt.2 listen.2 Sender: owner-cvs-lib@FreeBSD.org Precedence: bulk wollman 95/11/03 10:34:39 Modified: lib/libc/sys getsockopt.2 listen.2 Log: Document recent changes in socket buffers and listen(2). From owner-cvs-lib Fri Nov 3 11:35:27 1995 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA25202 for cvs-lib-outgoing; Fri, 3 Nov 1995 11:35:27 -0800 Received: from precipice.shockwave.com (precipice.shockwave.com [171.69.108.33]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id LAA25178 ; Fri, 3 Nov 1995 11:35:19 -0800 Received: from localhost (localhost [127.0.0.1]) by precipice.shockwave.com (8.6.12/8.6.12) with SMTP id LAA19625; Fri, 3 Nov 1995 11:34:35 -0800 Message-Id: <199511031934.LAA19625@precipice.shockwave.com> To: "Garrett A. Wollman" cc: CVS-commiters@freefall.freebsd.org, cvs-lib@freefall.freebsd.org Subject: Re: cvs commit: src/lib/libc/sys getsockopt.2 listen.2 In-reply-to: Your message of "Fri, 03 Nov 1995 10:34:39 PST." <199511031834.KAA22194@freefall.freebsd.org> Date: Fri, 03 Nov 1995 11:34:34 -0800 From: Paul Traina Sender: owner-cvs-lib@FreeBSD.org Precedence: bulk Whoops, sorry, I spoke too soon, please ignore that last message. Paul From: "Garrett A. Wollman" Subject: cvs commit: src/lib/libc/sys getsockopt.2 listen.2 wollman 95/11/03 10:34:39 Modified: lib/libc/sys getsockopt.2 listen.2 Log: Document recent changes in socket buffers and listen(2). From owner-cvs-lib Sat Nov 4 11:07:37 1995 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA18402 for cvs-lib-outgoing; Sat, 4 Nov 1995 11:07:37 -0800 Received: (from wpaul@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA18375 ; Sat, 4 Nov 1995 11:07:29 -0800 Date: Sat, 4 Nov 1995 11:07:29 -0800 From: Bill Paul Message-Id: <199511041907.LAA18375@freefall.freebsd.org> To: CVS-commiters, cvs-lib Subject: cvs commit: src/lib/libc/net getservent.c Sender: owner-cvs-lib@FreeBSD.org Precedence: bulk wpaul 95/11/04 11:07:29 Modified: lib/libc/net getservent.c Log: Add NIS support to getservent(3) functions (getservbyport() and getservbyname() both call getservent() to do most of the work, so we only need to modify this file to take care of everybody). Note that there is only one NIS services map (services.byname) even though there are getservbyname() and getservbyport() library functions. From owner-cvs-lib Sat Nov 4 21:39:11 1995 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id VAA19630 for cvs-lib-outgoing; Sat, 4 Nov 1995 21:39:11 -0800 Received: (from wpaul@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id VAA19619 ; Sat, 4 Nov 1995 21:39:06 -0800 Date: Sat, 4 Nov 1995 21:39:06 -0800 From: Bill Paul Message-Id: <199511050539.VAA19619@freefall.freebsd.org> To: CVS-commiters, cvs-lib Subject: cvs commit: src/lib/libc/yp yplib.c Sender: owner-cvs-lib@FreeBSD.org Precedence: bulk wpaul 95/11/04 21:39:05 Modified: lib/libc/yp yplib.c Log: - Make _do_ypbind() check for /var/run/ypbind.lock and attempt to flock() it before before trying to establish a binding. If /var/run/ypbind.lock doesn't exist, or if it exists and isn't locked, then ypbind isn't running, which means NIS is either turned off or hosed. - Have _yp_check() call yp_unbind() after it sucessfully calls yp_bind() to make sure it frees resources correctly. (I don't think there's really a memory leak here, but it seems somehow wrong to call yp_bind() without making a corresponding call to yp_unbind() afterwards.) This makes the NIS code behave a little better in cases where libc makes calls to NIS, but it isn't running correctly (i.e. there's no ypbind). This cleans up some strange libc behavior that manifests itself if you have the system domain name set, but aren't actually running NIS. In this event, the getrpcent(3) code could try to call into NIS and cause several inexplicable "clnttcp_create error: RPC program not registered" messages to appear. This happens because _yp_check() checks if the system domain name is set and, if it is, proceeds to call yp_bind() to attempt to establish a binding. Since there is no binding file (remember: ypbind isn't running, so /var/yp/binding will be empty), _yp_dobind() will attempt to contact ypbind to prod it into binding the domain. And because ypbind isn't running, the code generates the 'clnttcp_create' error. Ultimately the _yp_check() fails and the getrpcent(3) code rolls over to the /etc/rpc file, but the error messages are annoying, and the code should be smart enough to forgo the binding attempt when NIS is turned off.