From owner-cvs-lib Sun Sep 14 02:48:49 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id CAA03090 for cvs-lib-outgoing; Sun, 14 Sep 1997 02:48:49 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id CAA03050; Sun, 14 Sep 1997 02:47:55 -0700 (PDT) From: Peter Wemm Received: (from peter@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id CAA18300; Sun, 14 Sep 1997 02:44:35 -0700 (PDT) Date: Sun, 14 Sep 1997 02:44:35 -0700 (PDT) Message-Id: <199709140944.CAA18300@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libc/net res_send.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 1997/09/14 02:44:35 PDT Modified files: lib/libc/net res_send.c Log: Call poll(2) from within the resolver but adapt to older kernels without it if necessary. This removes the need to malloc large fd_set's for selecting on high fd's (larger than FD_SETSIZE at libc compile time). The syscall adaptive stuff only happens on the very first call. SIGSYS is masked, and if the call to poll fails with ENOSYS, then we use select for the life of the program. If poll does not fail with ENOSYS, then we always use poll and skip the once-off signal masking gunk. This may be overkill, but it saved my neck a few times while working on multiple different sets of kernel sources, some with poll, some without. Revision Changes Path 1.19 +68 -26 src/lib/libc/net/res_send.c From owner-cvs-lib Sun Sep 14 06:14:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id GAA09571 for cvs-lib-outgoing; Sun, 14 Sep 1997 06:14:36 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id GAA09447; Sun, 14 Sep 1997 06:12:42 -0700 (PDT) From: "Jordan K. Hubbard" Received: (from jkh@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id GAA22268; Sun, 14 Sep 1997 06:09:21 -0700 (PDT) Date: Sun, 14 Sep 1997 06:09:21 -0700 (PDT) Message-Id: <199709141309.GAA22268@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libc/locale collcmp.c euc.4 isalnum.3 isalpha.3 isascii.3 isblank.3 iscntrl.3 isdigit.3 isgraph.3 islower.3 isprint.3 ispunct.3 isspace.3 isupper.3 isxdigit.3 mbrune.3 multibyte.3 rune.3 setlocale.3 setlocale.c setlocale.h ... Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 1997/09/14 06:09:21 PDT Modified files: (Branch: RELENG_2_2) lib/libc/locale collcmp.c euc.4 isalnum.3 isalpha.3 isascii.3 isblank.3 iscntrl.3 isdigit.3 isgraph.3 islower.3 isprint.3 ispunct.3 isspace.3 isupper.3 isxdigit.3 mbrune.3 multibyte.3 rune.3 setlocale.3 setlocale.c setlocale.h setrunelocale.c utf2.4 lib/libc/stdtime Makefile.inc strftime.3 strftime.c Log: MFC: Just the locale fixes (small doc tweaks for the most part) and the new strptime(3) call. Having added something, does this require a version bump? Haven't we bumped once already? There are a *LOT* of additional 3.0 changes to be merged but I'm not entirely comfortable with some of them so I'll take the conservative (read: cowardly :) way out and just merge this much. Revision Changes Path 1.8.2.1 +1 -10 src/lib/libc/locale/collcmp.c 1.3.2.2 +1 -1 src/lib/libc/locale/euc.4 1.1.1.1.8.2 +1 -1 src/lib/libc/locale/isalnum.3 1.1.1.1.8.2 +1 -1 src/lib/libc/locale/isalpha.3 1.1.1.1.8.1 +1 -1 src/lib/libc/locale/isascii.3 1.1.1.1.8.1 +1 -1 src/lib/libc/locale/isblank.3 1.1.1.1.8.2 +1 -1 src/lib/libc/locale/iscntrl.3 1.1.1.1.8.2 +1 -1 src/lib/libc/locale/isdigit.3 1.1.1.1.8.2 +1 -1 src/lib/libc/locale/isgraph.3 1.1.1.1.8.2 +1 -1 src/lib/libc/locale/islower.3 1.1.1.1.8.2 +1 -1 src/lib/libc/locale/isprint.3 1.1.1.1.8.2 +2 -2 src/lib/libc/locale/ispunct.3 1.1.1.1.8.2 +1 -1 src/lib/libc/locale/isspace.3 1.2.2.2 +1 -1 src/lib/libc/locale/isupper.3 1.1.1.1.8.2 +1 -1 src/lib/libc/locale/isxdigit.3 1.1.1.1.8.2 +1 -1 src/lib/libc/locale/mbrune.3 1.1.1.1.8.2 +2 -2 src/lib/libc/locale/multibyte.3 1.1.1.1.8.2 +2 -2 src/lib/libc/locale/rune.3 1.4.2.3 +1 -1 src/lib/libc/locale/setlocale.3 1.8.2.7 +15 -4 src/lib/libc/locale/setlocale.c 1.2.2.1 +1 -0 src/lib/libc/locale/setlocale.h 1.3.2.7 +14 -2 src/lib/libc/locale/setrunelocale.c 1.2.2.2 +1 -1 src/lib/libc/locale/utf2.4 1.3.2.2 +3 -2 src/lib/libc/stdtime/Makefile.inc 1.4.2.3 +2 -1 src/lib/libc/stdtime/strftime.3 1.11.2.5 +2 -177 src/lib/libc/stdtime/strftime.c From owner-cvs-lib Sun Sep 14 10:01:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA18081 for cvs-lib-outgoing; Sun, 14 Sep 1997 10:01:05 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA18053; Sun, 14 Sep 1997 10:00:50 -0700 (PDT) From: Poul-Henning Kamp Received: (from phk@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id JAA07720; Sun, 14 Sep 1997 09:57:28 -0700 (PDT) Date: Sun, 14 Sep 1997 09:57:28 -0700 (PDT) Message-Id: <199709141657.JAA07720@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libc/gen getcwd.c src/lib/libc/sys Makefile.inc Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 1997/09/14 09:57:28 PDT Modified files: lib/libc/gen getcwd.c lib/libc/sys Makefile.inc Log: Add __getcwd() syscall, and have getcwd() take a shot at it. If your kernel doesn't support __getcwd() or if __getcwd() cannot deliver because of cache expiry, it does the canonical thing. Revision Changes Path 1.11 +11 -0 src/lib/libc/gen/getcwd.c 1.40 +2 -2 src/lib/libc/sys/Makefile.inc From owner-cvs-lib Sun Sep 14 11:21:22 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA21592 for cvs-lib-outgoing; Sun, 14 Sep 1997 11:21:22 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA21434; Sun, 14 Sep 1997 11:19:34 -0700 (PDT) From: Wolfram Schneider Received: (from wosch@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id LAA08383; Sun, 14 Sep 1997 11:16:12 -0700 (PDT) Date: Sun, 14 Sep 1997 11:16:12 -0700 (PDT) Message-Id: <199709141816.LAA08383@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libc/gen getpwent.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wosch 1997/09/14 11:16:12 PDT Modified files: lib/libc/gen getpwent.c Log: Potential bufferflow in getpwent(), getpwnam() and getpwuid() PR: bin/4134 Submitted by: nick@foobar.org Revision Changes Path 1.41 +7 -2 src/lib/libc/gen/getpwent.c From owner-cvs-lib Sun Sep 14 15:10:38 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA04506 for cvs-lib-outgoing; Sun, 14 Sep 1997 15:10:38 -0700 (PDT) Received: from venus.GAIANET.NET (vince@venus.GAIANET.NET [207.211.200.27]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA04483; Sun, 14 Sep 1997 15:10:34 -0700 (PDT) Received: from localhost (vince@localhost) by venus.GAIANET.NET (8.8.5/8.8.5) with SMTP id PAA09861; Sun, 14 Sep 1997 15:10:53 -0700 (PDT) Date: Sun, 14 Sep 1997 15:10:52 -0700 (PDT) From: Vincent Poy To: Wolfram Schneider cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libc/gen getpwent.c In-Reply-To: <199709141816.LAA08383@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, 14 Sep 1997, Wolfram Schneider wrote: > wosch 1997/09/14 11:16:12 PDT > > Modified files: > lib/libc/gen getpwent.c > Log: > Potential bufferflow in getpwent(), getpwnam() and getpwuid() > > PR: bin/4134 > Submitted by: nick@foobar.org > > Revision Changes Path > 1.41 +7 -2 src/lib/libc/gen/getpwent.c This one fails after building at: gzip -c /usr/src/lib/libc/../libc/regex/re_format.7 > re_format.7.gz gzip -c /usr/src/lib/libc/../libc/rpc/rstat_svc.8 > rstat_svc.8.gz install -c -o bin -g bin -m 444 libc.a /usr/lib install -c -o bin -g bin -m 444 libc_p.a /usr/lib install -c -o bin -g bin -m 444 -fschg libc.so.3.0 /usr/lib install -c -o bin -g bin -m 444 libc_pic.a /usr/lib ld.so failed: Undefined symbol "SYS___getcwd" in install:/usr/lib/libc.so.3.0 *** Error code 1 Stop. root@mercury [1:27pm][/usr/src/lib/libc] >> Cheers, Vince - vince@MCESTATE.COM - vince@GAIANET.NET ________ __ ____ Unix Networking Operations - FreeBSD-Real Unix for Free / / / / | / |[__ ] GaiaNet Corporation - M & C Estate / / / / | / | __] ] Beverly Hills, California USA 90210 / / / / / |/ / | __] ] HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[____] From owner-cvs-lib Sun Sep 14 16:31:15 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA10863 for cvs-lib-outgoing; Sun, 14 Sep 1997 16:31:15 -0700 (PDT) Received: (from wosch@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA10841; Sun, 14 Sep 1997 16:31:11 -0700 (PDT) Message-ID: <19970914163110.42169@freebsd.org> Date: Sun, 14 Sep 1997 16:31:10 -0700 From: Wolfram Schneider To: Vincent Poy Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libc/gen getpwent.c References: <199709141816.LAA08383@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81 In-Reply-To: ; from Vincent Poy on Sun, Sep 14, 1997 at 03:10:52PM -0700 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sun, Sep 14, 1997 at 03:10:52PM -0700, Vincent Poy wrote: > On Sun, 14 Sep 1997, Wolfram Schneider wrote: > > wosch 1997/09/14 11:16:12 PDT > > > > Modified files: > > lib/libc/gen getpwent.c > > Log: > > Potential bufferflow in getpwent(), getpwnam() and getpwuid() > > > > PR: bin/4134 > > Submitted by: nick@foobar.org > > > > Revision Changes Path > > 1.41 +7 -2 src/lib/libc/gen/getpwent.c > > This one fails after building at: > > gzip -c /usr/src/lib/libc/../libc/regex/re_format.7 > re_format.7.gz > gzip -c /usr/src/lib/libc/../libc/rpc/rstat_svc.8 > rstat_svc.8.gz > install -c -o bin -g bin -m 444 libc.a /usr/lib > install -c -o bin -g bin -m 444 libc_p.a /usr/lib > install -c -o bin -g bin -m 444 -fschg libc.so.3.0 /usr/lib > install -c -o bin -g bin -m 444 libc_pic.a /usr/lib > ld.so failed: Undefined symbol "SYS___getcwd" in > install:/usr/lib/libc.so.3.0 > *** Error code 1 > > Stop. This has nothing to do with getpwent.c. __getcwd is the new system call. Didn't you read the warning in -current? Wolfram From owner-cvs-lib Sun Sep 14 17:12:28 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA13275 for cvs-lib-outgoing; Sun, 14 Sep 1997 17:12:28 -0700 (PDT) Received: from venus.GAIANET.NET (vince@venus.GAIANET.NET [207.211.200.27]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA13263; Sun, 14 Sep 1997 17:12:25 -0700 (PDT) Received: from localhost (vince@localhost) by venus.GAIANET.NET (8.8.5/8.8.5) with SMTP id RAA10332; Sun, 14 Sep 1997 17:12:48 -0700 (PDT) Date: Sun, 14 Sep 1997 17:12:47 -0700 (PDT) From: Vincent Poy To: Wolfram Schneider cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libc/gen getpwent.c In-Reply-To: <19970914163110.42169@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, 14 Sep 1997, Wolfram Schneider wrote: > On Sun, Sep 14, 1997 at 03:10:52PM -0700, Vincent Poy wrote: > > On Sun, 14 Sep 1997, Wolfram Schneider wrote: > > > wosch 1997/09/14 11:16:12 PDT > > > > > > Modified files: > > > lib/libc/gen getpwent.c > > > Log: > > > Potential bufferflow in getpwent(), getpwnam() and getpwuid() > > > > > > PR: bin/4134 > > > Submitted by: nick@foobar.org > > > > > > Revision Changes Path > > > 1.41 +7 -2 src/lib/libc/gen/getpwent.c > > > > This one fails after building at: > > > > gzip -c /usr/src/lib/libc/../libc/regex/re_format.7 > re_format.7.gz > > gzip -c /usr/src/lib/libc/../libc/rpc/rstat_svc.8 > rstat_svc.8.gz > > install -c -o bin -g bin -m 444 libc.a /usr/lib > > install -c -o bin -g bin -m 444 libc_p.a /usr/lib > > install -c -o bin -g bin -m 444 -fschg libc.so.3.0 /usr/lib > > install -c -o bin -g bin -m 444 libc_pic.a /usr/lib > > ld.so failed: Undefined symbol "SYS___getcwd" in > > install:/usr/lib/libc.so.3.0 > > *** Error code 1 > > > > Stop. > > This has nothing to do with getpwent.c. > __getcwd is the new system call. Didn't you read the warning > in -current? Yes I did but I was trying to do a make world before I did the kernel. But now it seems like everything is broken since I didn't build the kernel first. I figured building the new libs first would be a safer bet. Any way to fix this? Cheers, Vince - vince@MCESTATE.COM - vince@GAIANET.NET ________ __ ____ Unix Networking Operations - FreeBSD-Real Unix for Free / / / / | / |[__ ] GaiaNet Corporation - M & C Estate / / / / | / | __] ] Beverly Hills, California USA 90210 / / / / / |/ / | __] ] HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[____] From owner-cvs-lib Sun Sep 14 17:36:42 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA14778 for cvs-lib-outgoing; Sun, 14 Sep 1997 17:36:42 -0700 (PDT) Received: from precipice.shockwave.com (precipice.shockwave.com [207.105.15.229]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA14694; Sun, 14 Sep 1997 17:35:18 -0700 (PDT) Received: from shockwave.com (localhost [127.0.0.1]) by precipice.shockwave.com (8.8.6/8.7.3) with ESMTP id RAA12560; Sun, 14 Sep 1997 17:32:28 -0700 (PDT) Message-Id: <199709150032.RAA12560@precipice.shockwave.com> To: Peter Wemm cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libc/net res_send.c In-reply-to: Your message of "Sun, 14 Sep 1997 02:44:35 PDT." <199709140944.CAA18300@freefall.freebsd.org> Date: Sun, 14 Sep 1997 17:32:28 -0700 From: Paul Traina Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Thanks, this was a good thing to do (tm). Overkill away. :-) From: Peter Wemm Subject: cvs commit: src/lib/libc/net res_send.c peter 1997/09/14 02:44:35 PDT Modified files: lib/libc/net res_send.c Log: Call poll(2) from within the resolver but adapt to older kernels without it if necessary. This removes the need to malloc large fd_set's for selecting on high fd's (larger than FD_SETSIZE at libc compile time). The syscall adaptive stuff only happens on the very first call. SIGSYS is masked, and if the call to poll fails with ENOSYS, then we use select for the life of the program. If poll does not fail with ENOSYS, then we always use poll and skip the once-off signal masking gunk. This may be overkill, but it saved my neck a few times while working on multiple different sets of kernel sources, some with poll, some without. Revision Changes Path 1.19 +68 -26 src/lib/libc/net/res_send.c From owner-cvs-lib Sun Sep 14 17:40:59 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA15140 for cvs-lib-outgoing; Sun, 14 Sep 1997 17:40:59 -0700 (PDT) Received: from precipice.shockwave.com (precipice.shockwave.com [207.105.15.229]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA15133; Sun, 14 Sep 1997 17:40:56 -0700 (PDT) Received: from shockwave.com (localhost [127.0.0.1]) by precipice.shockwave.com (8.8.6/8.7.3) with ESMTP id RAA13043; Sun, 14 Sep 1997 17:38:06 -0700 (PDT) Message-Id: <199709150038.RAA13043@precipice.shockwave.com> To: Wolfram Schneider cc: Vincent Poy , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libc/gen getpwent.c In-reply-to: Your message of "Sun, 14 Sep 1997 16:31:10 PDT." <19970914163110.42169@freebsd.org> Date: Sun, 14 Sep 1997 17:38:06 -0700 From: Paul Traina Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk It seems to me that we want the ability to have libc work with older kernels? If so, something along the lines of what peter did with poll() in the resolver code would be correct, yes? From: Wolfram Schneider Subject: Re: cvs commit: src/lib/libc/gen getpwent.c On Sun, Sep 14, 1997 at 03:10:52PM -0700, Vincent Poy wrote: > On Sun, 14 Sep 1997, Wolfram Schneider wrote: > > wosch 1997/09/14 11:16:12 PDT > > > > Modified files: > > lib/libc/gen getpwent.c > > Log: > > Potential bufferflow in getpwent(), getpwnam() and getpwuid() > > > > PR: bin/4134 > > Submitted by: nick@foobar.org > > > > Revision Changes Path > > 1.41 +7 -2 src/lib/libc/gen/getpwent.c > > This one fails after building at: > > gzip -c /usr/src/lib/libc/../libc/regex/re_format.7 > re_format.7.gz > gzip -c /usr/src/lib/libc/../libc/rpc/rstat_svc.8 > rstat_svc.8.gz > install -c -o bin -g bin -m 444 libc.a /usr/lib > install -c -o bin -g bin -m 444 libc_p.a /usr/lib > install -c -o bin -g bin -m 444 -fschg libc.so.3.0 /usr/lib > install -c -o bin -g bin -m 444 libc_pic.a /usr/lib > ld.so failed: Undefined symbol "SYS___getcwd" in > install:/usr/lib/libc.so.3.0 > *** Error code 1 > > Stop. This has nothing to do with getpwent.c. __getcwd is the new system call. Didn't you read the warning in -current? Wolfram From owner-cvs-lib Sun Sep 14 17:48:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA15616 for cvs-lib-outgoing; Sun, 14 Sep 1997 17:48:04 -0700 (PDT) Received: from venus.GAIANET.NET (vince@venus.GAIANET.NET [207.211.200.27]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA15493; Sun, 14 Sep 1997 17:45:37 -0700 (PDT) Received: from localhost (vince@localhost) by venus.GAIANET.NET (8.8.5/8.8.5) with SMTP id RAA10566; Sun, 14 Sep 1997 17:45:29 -0700 (PDT) Date: Sun, 14 Sep 1997 17:45:28 -0700 (PDT) From: Vincent Poy To: Paul Traina cc: Peter Wemm , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libc/net res_send.c In-Reply-To: <199709150032.RAA12560@precipice.shockwave.com> 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, 14 Sep 1997, Paul Traina wrote: This was the one I build the new libc under without making a new kernel. Everything broke afterwards. Cheers, Vince - vince@MCESTATE.COM - vince@GAIANET.NET ________ __ ____ Unix Networking Operations - FreeBSD-Real Unix for Free / / / / | / |[__ ] GaiaNet Corporation - M & C Estate / / / / | / | __] ] Beverly Hills, California USA 90210 / / / / / |/ / | __] ] HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[____] > Thanks, this was a good thing to do (tm). > > Overkill away. :-) > > From: Peter Wemm > Subject: cvs commit: src/lib/libc/net res_send.c > peter 1997/09/14 02:44:35 PDT > > Modified files: > lib/libc/net res_send.c > Log: > Call poll(2) from within the resolver but adapt to older kernels without it > if necessary. This removes the need to malloc large fd_set's for selecting > on high fd's (larger than FD_SETSIZE at libc compile time). > > The syscall adaptive stuff only happens on the very first call. SIGSYS > is masked, and if the call to poll fails with ENOSYS, then we use select > for the life of the program. If poll does not fail with ENOSYS, then we > always use poll and skip the once-off signal masking gunk. > > This may be overkill, but it saved my neck a few times while working on > multiple different sets of kernel sources, some with poll, some without. > > Revision Changes Path > 1.19 +68 -26 src/lib/libc/net/res_send.c > > From owner-cvs-lib Sun Sep 14 22:26:51 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA00519 for cvs-lib-outgoing; Sun, 14 Sep 1997 22:26:51 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA00462; Sun, 14 Sep 1997 22:26:12 -0700 (PDT) Received: from word.smith.net.au (lot.atrad.adelaide.edu.au [203.20.121.21]) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) with ESMTP id OAA21809; Mon, 15 Sep 1997 14:55:54 +0930 (CST) Received: from word.smith.net.au (localhost.atrad.adelaide.edu.au [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id OAA00323; Mon, 15 Sep 1997 14:51:46 +0930 (CST) Message-Id: <199709150521.OAA00323@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Paul Traina cc: Wolfram Schneider , Vincent Poy , cvs-committers@freebsd.org, cvs-all@freebsd.org, cvs-lib@freebsd.org Subject: Re: cvs commit: src/lib/libc/gen getpwent.c In-reply-to: Your message of "Sun, 14 Sep 1997 17:38:06 MST." <199709150038.RAA13043@precipice.shockwave.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 15 Sep 1997 14:51:44 +0930 From: Mike Smith Sender: owner-cvs-lib@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > It seems to me that we want the ability to have libc work with older > kernels? If so, something along the lines of what peter did with poll() > in the resolver code would be correct, yes? What Peter did with poll() doesn't work. (Yes, it bit me. Hence being late getting to my mail today). A kernel from a couple of days ago, and userland built last night results in instant resolver failure. mike From owner-cvs-lib Sun Sep 14 22:52:40 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA02237 for cvs-lib-outgoing; Sun, 14 Sep 1997 22:52:40 -0700 (PDT) Received: from venus.GAIANET.NET (vince@venus.GAIANET.NET [207.211.200.27]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA02227; Sun, 14 Sep 1997 22:52:37 -0700 (PDT) Received: from localhost (vince@localhost) by venus.GAIANET.NET (8.8.5/8.8.5) with SMTP id WAA11786; Sun, 14 Sep 1997 22:52:21 -0700 (PDT) Date: Sun, 14 Sep 1997 22:52:19 -0700 (PDT) From: Vincent Poy To: Mike Smith cc: Paul Traina , Wolfram Schneider , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libc/gen getpwent.c In-Reply-To: <199709150521.OAA00323@word.smith.net.au> 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, 15 Sep 1997, Mike Smith wrote: > > It seems to me that we want the ability to have libc work with older > > kernels? If so, something along the lines of what peter did with poll() > > in the resolver code would be correct, yes? > > What Peter did with poll() doesn't work. > > (Yes, it bit me. Hence being late getting to my mail today). > > A kernel from a couple of days ago, and userland built last night > results in instant resolver failure. That's what I noticed too with libc before I got bit. The resolver would fail unless you type in the FQDN. Anyways, I nfs mounted the machine and copied the libc.so.3.0 from a 2.2.1R machine and it atleast works. Cheers, Vince - vince@MCESTATE.COM - vince@GAIANET.NET ________ __ ____ Unix Networking Operations - FreeBSD-Real Unix for Free / / / / | / |[__ ] GaiaNet Corporation - M & C Estate / / / / | / | __] ] Beverly Hills, California USA 90210 / / / / / |/ / | __] ] HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[____] From owner-cvs-lib Sun Sep 14 23:45:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA05530 for cvs-lib-outgoing; Sun, 14 Sep 1997 23:45:11 -0700 (PDT) Received: from bunyip.cc.uq.edu.au (bunyip.cc.uq.edu.au [130.102.2.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA05490; Sun, 14 Sep 1997 23:44:50 -0700 (PDT) Received: (from daemon@localhost) by bunyip.cc.uq.edu.au (8.8.7/8.8.7) id QAA03666; Mon, 15 Sep 1997 16:43:34 +1000 Received: from localhost.dtir.qld.gov.au by ogre.dtir.qld.gov.au (8.7.5/DEVETIR-E0.3a) with SMTP id QAA13332; Mon, 15 Sep 1997 16:42:26 +1000 (EST) Message-Id: <199709150642.QAA13332@ogre.dtir.qld.gov.au> To: Paul Traina cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG, syssgm@dtir.qld.gov.au Subject: Re: cvs commit: src/lib/libc/gen getpwent.c References: <199709150038.RAA13043@precipice.shockwave.com> In-Reply-To: <199709150038.RAA13043@precipice.shockwave.com> from Paul Traina at "Mon, 15 Sep 1997 00:38:06 +0000" Date: Mon, 15 Sep 1997 16:42:25 +1000 From: Stephen McKay Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Monday, 15th September 1997, Paul Traina wrote: >It seems to me that we want the ability to have libc work with older >kernels? If so, something along the lines of what peter did with poll() >in the resolver code would be correct, yes? This gives me a bit of a queasy feeling. I have had no trouble with building a kernel first. You can test boot it, and leave it to one side as you build the userland stuff. Worst case, you get your secondary FreeBSD box to build you a new kernel. The trick with dynamically picking poll vs select is cute, but a dangerous precedent. If this gets popular, it should be a library routine with the same arguments as poll(), but which drops back to select() if necessary. After all, userland code using poll() will be widespread only when a new release supporting kernel poll() is made. At that point the hack becomes irrelevant. Indeed, I like the idea of making poll() into a library call which dynamically calls the poll system call or select system call when compiled with some /etc/make.conf flag (maybe POLL_SELECT_COMPAT). Without the special flag, poll would just be poll. Only developers would set POLL_SELECT_COMPAT, and only for a transition period. Seems much neater to me, and puts the developer-saving hack into everything. Stephen. PS As an aside, I'm puzzled that poll is implemented exactly like System V with regards to the timeout parameter. We are moving to ever more precise time quantities, so I would have expected a sort of super-poll taking a timeval or timespec, with poll() as a small library wrapper that accepts the timeout in ms. I suppose there is nothing stopping us adding that later, but now would have been as good a time as any. From owner-cvs-lib Mon Sep 15 01:15:31 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA11721 for cvs-lib-outgoing; Mon, 15 Sep 1997 01:15:31 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA11680; Mon, 15 Sep 1997 01:15:18 -0700 (PDT) From: "Jordan K. Hubbard" Received: (from jkh@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id BAA22766; Mon, 15 Sep 1997 01:11:51 -0700 (PDT) Date: Mon, 15 Sep 1997 01:11:51 -0700 (PDT) Message-Id: <199709150811.BAA22766@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libF77 F77_aloc.c README Version.c abort_.c c_cos.c c_div.c c_log.c c_sin.c c_sqrt.c ef1asc_.c exit.c f2ch.add getenv_.c libF77.xsum main.c makefile pow_zi.c s_cat.c s_paus.c s_rnge.c signal_.c z_cos.c z_div.c z_log.c z_sin.c z_sqrt.c ... Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 1997/09/15 01:11:51 PDT Modified files: (Branch: RELENG_2_2) lib/libF77 F77_aloc.c README Version.c abort_.c c_cos.c c_div.c c_log.c c_sin.c c_sqrt.c ef1asc_.c exit.c f2ch.add getenv_.c libF77.xsum main.c makefile pow_zi.c s_cat.c s_paus.c s_rnge.c signal_.c z_cos.c z_div.c z_log.c z_sin.c z_sqrt.c lib/libI77 Notice README Version.c dfe.c due.c endfile.c err.c f2ch.add fio.h fmt.c fmt.h fmtlib.c iio.c inquire.c libI77.xsum lread.c lwrite.c makefile open.c rawio.h rdfmt.c rsfe.c rsli.c rsne.c sfe.c sue.c uio.c wref.c wrtfmt.c wsfe.c wsle.c wsne.c lib/libf2c Makefile Log: MFC: In honor of fortran programmers everywhere. :) Revision Changes Path 1.1.2.1 +1 -1 src/lib/libF77/F77_aloc.c 1.2.2.1 +17 -5 src/lib/libF77/README 1.2.2.1 +9 -1 src/lib/libF77/Version.c 1.2.2.1 +2 -0 src/lib/libF77/abort_.c 1.1.1.1.8.1 +4 -3 src/lib/libF77/c_cos.c 1.1.1.1.8.1 +23 -22 src/lib/libF77/c_div.c 1.1.1.1.8.1 +4 -3 src/lib/libF77/c_log.c 1.1.1.1.8.1 +4 -3 src/lib/libF77/c_sin.c 1.1.1.1.8.1 +19 -18 src/lib/libF77/c_sqrt.c 1.2.2.1 +3 -1 src/lib/libF77/ef1asc_.c 1.1.2.1 +0 -37 src/lib/libF77/Attic/exit.c 1.1.1.1.8.1 +1 -1 src/lib/libF77/f2ch.add 1.2.2.1 +1 -1 src/lib/libF77/getenv_.c 1.2.2.1 +0 -120 src/lib/libF77/Attic/libF77.xsum 1.3.2.1 +13 -13 src/lib/libF77/main.c 1.2.2.1 +0 -78 src/lib/libF77/Attic/makefile 1.2.2.1 +37 -34 src/lib/libF77/pow_zi.c 1.2.2.1 +4 -0 src/lib/libF77/s_cat.c 1.1.1.1.8.1 +2 -2 src/lib/libF77/s_paus.c 1.2.2.1 +2 -0 src/lib/libF77/s_rnge.c 1.2.2.1 +7 -9 src/lib/libF77/signal_.c 1.1.1.1.8.1 +4 -3 src/lib/libF77/z_cos.c 1.1.1.1.8.1 +23 -23 src/lib/libF77/z_div.c 1.1.1.1.8.1 +4 -4 src/lib/libF77/z_log.c 1.1.1.1.8.1 +4 -3 src/lib/libF77/z_sin.c 1.1.1.1.8.1 +15 -15 src/lib/libF77/z_sqrt.c 1.2.2.1 +1 -1 src/lib/libI77/Notice 1.2.2.1 +36 -1 src/lib/libI77/README 1.2.2.1 +22 -2 src/lib/libI77/Version.c 1.3.2.1 +5 -18 src/lib/libI77/dfe.c 1.3.2.1 +6 -5 src/lib/libI77/due.c 1.2.2.1 +2 -2 src/lib/libI77/endfile.c 1.2.2.1 +11 -8 src/lib/libI77/err.c 1.1.1.1.8.1 +1 -1 src/lib/libI77/f2ch.add 1.2.2.1 +3 -3 src/lib/libI77/fio.h 1.2.2.1 +10 -12 src/lib/libI77/fmt.c 1.2.2.1 +4 -1 src/lib/libI77/fmt.h 1.2.2.1 +12 -6 src/lib/libI77/fmtlib.c 1.3.2.1 +6 -11 src/lib/libI77/iio.c 1.2.2.1 +2 -3 src/lib/libI77/inquire.c 1.2.2.1 +0 -41 src/lib/libI77/Attic/libI77.xsum 1.3.2.1 +20 -25 src/lib/libI77/lread.c 1.3.2.1 +7 -7 src/lib/libI77/lwrite.c 1.1.1.1.8.1 +0 -96 src/lib/libI77/Attic/makefile 1.3.2.1 +7 -8 src/lib/libI77/open.c 1.2.2.1 +4 -10 src/lib/libI77/rawio.h 1.3.2.1 +9 -10 src/lib/libI77/rdfmt.c 1.3.2.1 +3 -10 src/lib/libI77/rsfe.c 1.1.1.1.8.1 +2 -1 src/lib/libI77/rsli.c 1.3.2.1 +25 -25 src/lib/libI77/rsne.c 1.3.2.1 +2 -2 src/lib/libI77/sfe.c 1.3.2.1 +4 -4 src/lib/libI77/sue.c 1.2.2.1 +2 -3 src/lib/libI77/uio.c 1.3.2.1 +9 -9 src/lib/libI77/wref.c 1.3.2.1 +50 -44 src/lib/libI77/wrtfmt.c 1.2.2.1 +3 -9 src/lib/libI77/wsfe.c 1.3.2.1 +1 -1 src/lib/libI77/wsle.c 1.3.2.1 +1 -1 src/lib/libI77/wsne.c 1.6.2.1 +4 -3 src/lib/libf2c/Makefile From owner-cvs-lib Mon Sep 15 01:22:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA12321 for cvs-lib-outgoing; Mon, 15 Sep 1997 01:22:25 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA12284; Mon, 15 Sep 1997 01:22:11 -0700 (PDT) From: "Jordan K. Hubbard" Received: (from jkh@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id BAA23038; Mon, 15 Sep 1997 01:18:44 -0700 (PDT) Date: Mon, 15 Sep 1997 01:18:44 -0700 (PDT) Message-Id: <199709150818.BAA23038@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libF77 exit.c libF77.xsum makefile Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 1997/09/15 01:18:44 PDT Removed files: (Branch: RELENG_2_2) lib/libF77 exit.c libF77.xsum makefile Log: Delete outdated files. From owner-cvs-lib Mon Sep 15 01:23:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA12383 for cvs-lib-outgoing; Mon, 15 Sep 1997 01:23:11 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA12347; Mon, 15 Sep 1997 01:22:53 -0700 (PDT) From: "Jordan K. Hubbard" Received: (from jkh@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id BAA23078; Mon, 15 Sep 1997 01:19:26 -0700 (PDT) Date: Mon, 15 Sep 1997 01:19:26 -0700 (PDT) Message-Id: <199709150819.BAA23078@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libI77 libI77.xsum makefile Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 1997/09/15 01:19:26 PDT Removed files: (Branch: RELENG_2_2) lib/libI77 libI77.xsum makefile Log: Remove outdated files. From owner-cvs-lib Mon Sep 15 01:28:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA13038 for cvs-lib-outgoing; Mon, 15 Sep 1997 01:28:53 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA13010; Mon, 15 Sep 1997 01:28:42 -0700 (PDT) From: Poul-Henning Kamp Received: (from phk@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id BAA23209; Mon, 15 Sep 1997 01:25:15 -0700 (PDT) Date: Mon, 15 Sep 1997 01:25:15 -0700 (PDT) Message-Id: <199709150825.BAA23209@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libc/gen getcwd.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 1997/09/15 01:25:15 PDT Modified files: lib/libc/gen getcwd.c Log: Fix a buglet and a couple of stylistic nits from Bruce. Revision Changes Path 1.12 +2 -3 src/lib/libc/gen/getcwd.c From owner-cvs-lib Mon Sep 15 10:45:39 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA12435 for cvs-lib-outgoing; Mon, 15 Sep 1997 10:45:39 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA12274; Mon, 15 Sep 1997 10:43:45 -0700 (PDT) From: Poul-Henning Kamp Received: (from phk@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id KAA11548; Mon, 15 Sep 1997 10:40:15 -0700 (PDT) Date: Mon, 15 Sep 1997 10:40:15 -0700 (PDT) Message-Id: <199709151740.KAA11548@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libc/gen getcwd.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 1997/09/15 10:40:15 PDT Modified files: lib/libc/gen getcwd.c Log: Fix yet a minor stylistic nit from Bruce (Doesn't he have more important things to do ?? :-) Prepare for the likely case of a change in kernel algorithm. Revision Changes Path 1.13 +9 -7 src/lib/libc/gen/getcwd.c From owner-cvs-lib Mon Sep 15 11:20:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA14597 for cvs-lib-outgoing; Mon, 15 Sep 1997 11:20:19 -0700 (PDT) Received: from precipice.shockwave.com (precipice.shockwave.com [207.105.15.229]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA14586; Mon, 15 Sep 1997 11:20:13 -0700 (PDT) Received: from shockwave.com (localhost [127.0.0.1]) by precipice.shockwave.com (8.8.6/8.7.3) with ESMTP id LAA14943; Mon, 15 Sep 1997 11:17:16 -0700 (PDT) Message-Id: <199709151817.LAA14943@precipice.shockwave.com> To: Stephen McKay cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libc/gen getpwent.c In-reply-to: Your message of "Mon, 15 Sep 1997 16:42:25 +1000." <199709150642.QAA13332@ogre.dtir.qld.gov.au> Date: Mon, 15 Sep 1997 11:17:16 -0700 From: Paul Traina Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Let me posit the reverse, -current's stability is always questionable. If I build a new kernel, then build userland, install new kernel, then find new kernel is suboptimal, what do I do? From: Stephen McKay Subject: Re: cvs commit: src/lib/libc/gen getpwent.c On Monday, 15th September 1997, Paul Traina wrote: >It seems to me that we want the ability to have libc work with older >kernels? If so, something along the lines of what peter did with poll() >in the resolver code would be correct, yes? This gives me a bit of a queasy feeling. I have had no trouble with building a kernel first. You can test boot it, and leave it to one side as you build the userland stuff. Worst case, you get your secondary FreeBSD box to build you a new kernel. The trick with dynamically picking poll vs select is cute, but a dangerous precedent. If this gets popular, it should be a library routine with the same arguments as poll(), but which drops back to select() if necessary. After all, userland code using poll() will be widespread only when a new release supporting kernel poll() is made. At that point the hack becomes irrelevant. Indeed, I like the idea of making poll() into a library call which dynamically calls the poll system call or select system call when compiled with some /etc/make.conf flag (maybe POLL_SELECT_COMPAT). Without the special flag, poll would just be poll. Only developers would set POLL_SELECT_COMPAT, and only for a transition period. Seems much neater to me, and puts the developer-saving hack into everything. Stephen. PS As an aside, I'm puzzled that poll is implemented exactly like System V with regards to the timeout parameter. We are moving to ever more precise time quantities, so I would have expected a sort of super-poll taking a timeval or timespec, with poll() as a small library wrapper that accepts the timeout in ms. I suppose there is nothing stopping us adding that later, but now would have been as good a time as any. From owner-cvs-lib Mon Sep 15 11:21:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA14695 for cvs-lib-outgoing; Mon, 15 Sep 1997 11:21:13 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA14681; Mon, 15 Sep 1997 11:21:08 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.5/8.6.9) id EAA26524; Tue, 16 Sep 1997 04:18:13 +1000 Date: Tue, 16 Sep 1997 04:18:13 +1000 From: Bruce Evans Message-Id: <199709151818.EAA26524@godzilla.zeta.org.au> To: cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-lib@FreeBSD.ORG, phk@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libc/gen getcwd.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Modified files: > lib/libc/gen getcwd.c > Log: > Fix yet a minor stylistic nit from Bruce (Doesn't he have more > important things to do ?? :-) Yes, I do. I read most kernel and library diffs as they are committed, and it takes longer when there are bugs on every line. Bruce From owner-cvs-lib Mon Sep 15 12:41:37 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA19425 for cvs-lib-outgoing; Mon, 15 Sep 1997 12:41:37 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA19360; Mon, 15 Sep 1997 12:40:56 -0700 (PDT) From: Wolfram Schneider Received: (from wosch@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id MAA11927; Mon, 15 Sep 1997 12:37:25 -0700 (PDT) Date: Mon, 15 Sep 1997 12:37:25 -0700 (PDT) Message-Id: <199709151937.MAA11927@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libc/gen getpwent.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wosch 1997/09/15 12:37:25 PDT Modified files: lib/libc/gen getpwent.c Log: Fix yet a minor stylistic nit from Bruce. (`cvs diff -ib' print one new char ;-). Revision Changes Path 1.42 +4 -4 src/lib/libc/gen/getpwent.c From owner-cvs-lib Mon Sep 15 17:53:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA08642 for cvs-lib-outgoing; Mon, 15 Sep 1997 17:53:56 -0700 (PDT) Received: from word.smith.net.au (ppp20.portal.net.au [202.12.71.120]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA08632; Mon, 15 Sep 1997 17:53:50 -0700 (PDT) Received: from word.smith.net.au (localhost.gsoft.com.au [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id KAA00460; Tue, 16 Sep 1997 10:20:56 +0930 (CST) Message-Id: <199709160050.KAA00460@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Paul Traina cc: Stephen McKay , cvs-committers@freebsd.org, cvs-all@freebsd.org, cvs-lib@freebsd.org Subject: Re: cvs commit: src/lib/libc/gen getpwent.c In-reply-to: Your message of "Mon, 15 Sep 1997 11:17:16 MST." <199709151817.LAA14943@precipice.shockwave.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 16 Sep 1997 10:20:53 +0930 From: Mike Smith Sender: owner-cvs-lib@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Let me posit the reverse, -current's stability is always questionable. > > If I build a new kernel, then build userland, install new kernel, then > find new kernel is suboptimal, what do I do? What one always does; fix whatever is busted. If it's the kernel, go back to your previous kernel. If it's something in userland, either step around it until it's fixed, or back up the sources using CVS to a point where it worked and rebuild the fragment, or (sometime in the next 6 months, I hope) back out relevant installs. mike From owner-cvs-lib Mon Sep 15 23:05:26 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA08684 for cvs-lib-outgoing; Mon, 15 Sep 1997 23:05:26 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA08448; Mon, 15 Sep 1997 23:04:27 -0700 (PDT) From: Peter Wemm Received: (from peter@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id XAA14989; Mon, 15 Sep 1997 23:00:52 -0700 (PDT) Date: Mon, 15 Sep 1997 23:00:52 -0700 (PDT) Message-Id: <199709160600.XAA14989@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libc/gen getcwd.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 1997/09/15 23:00:52 PDT Modified files: lib/libc/gen getcwd.c Log: Put a system call not present checking wrapper around the call to __getcwd(). I've got this libc code running on one of my machines at the moment without the __getcwd() syscall being present. Revision Changes Path 1.14 +35 -9 src/lib/libc/gen/getcwd.c From owner-cvs-lib Mon Sep 15 23:07:50 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA09226 for cvs-lib-outgoing; Mon, 15 Sep 1997 23:07:50 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA09125; Mon, 15 Sep 1997 23:07:29 -0700 (PDT) From: Peter Wemm Received: (from peter@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id XAA15019; Mon, 15 Sep 1997 23:03:55 -0700 (PDT) Date: Mon, 15 Sep 1997 23:03:55 -0700 (PDT) Message-Id: <199709160603.XAA15019@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libc/net res_send.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 1997/09/15 23:03:55 PDT Modified files: lib/libc/net res_send.c Log: Some adjustments for the resolver use of poll(). For some reason I thought an unimplemented syscall returned ENOSYS, rather than EINVAL. I have run statically linked code with this wrapper and it does appear to work fine on 2.2-stable which doesn't have poll(). ktrace shows the poll syscall fail once and the fallback to select() working. Revision Changes Path 1.20 +8 -7 src/lib/libc/net/res_send.c From owner-cvs-lib Wed Sep 17 23:55:45 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA12703 for cvs-lib-outgoing; Wed, 17 Sep 1997 23:55:45 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA12657; Wed, 17 Sep 1997 23:55:19 -0700 (PDT) From: Philippe Charnier Received: (from charnier@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id XAA02615; Wed, 17 Sep 1997 23:51:28 -0700 (PDT) Date: Wed, 17 Sep 1997 23:51:28 -0700 (PDT) Message-Id: <199709180651.XAA02615@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libc/stdlib malloc.3 src/lib/libc/stdtime ctime.3 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk charnier 1997/09/17 23:51:28 PDT Modified files: lib/libc/stdlib malloc.3 lib/libc/stdtime ctime.3 Log: environmental -> environment. Revision Changes Path 1.15 +2 -2 src/lib/libc/stdlib/malloc.3 1.4 +1 -1 src/lib/libc/stdtime/ctime.3 From owner-cvs-lib Wed Sep 17 23:56:24 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA12807 for cvs-lib-outgoing; Wed, 17 Sep 1997 23:56:24 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA12715; Wed, 17 Sep 1997 23:55:57 -0700 (PDT) From: Philippe Charnier Received: (from charnier@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id XAA02645; Wed, 17 Sep 1997 23:52:06 -0700 (PDT) Date: Wed, 17 Sep 1997 23:52:06 -0700 (PDT) Message-Id: <199709180652.XAA02645@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libncurses curs_termatt.3 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk charnier 1997/09/17 23:52:06 PDT Modified files: lib/libncurses curs_termatt.3 Log: environmental -> environment. Revision Changes Path 1.4 +1 -1 src/lib/libncurses/curs_termatt.3 From owner-cvs-lib Thu Sep 18 07:06:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA07630 for cvs-lib-outgoing; Thu, 18 Sep 1997 07:06:08 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id HAA07573; Thu, 18 Sep 1997 07:05:10 -0700 (PDT) From: Poul-Henning Kamp Received: (from phk@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id HAA06045; Thu, 18 Sep 1997 07:01:17 -0700 (PDT) Date: Thu, 18 Sep 1997 07:01:17 -0700 (PDT) Message-Id: <199709181401.HAA06045@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libc/db/btree bt_seq.c src/lib/libc/gen getcap.c getpwent.c src/lib/libftpio ftpio.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 1997/09/18 07:01:17 PDT Modified files: lib/libc/db/btree bt_seq.c lib/libc/gen getcap.c getpwent.c lib/libftpio ftpio.c Log: Many places in the code NULL is used in integer context, where plain 0 should be used. This happens to work because we #define NULL to 0, but is stylistically wrong and can cause problems for people trying to port bits of code to other environments. PR: 2752 Submitted by: Arne Henrik Juul Revision Changes Path 1.2 +230 -150 src/lib/libc/db/btree/bt_seq.c 1.5 +1 -1 src/lib/libc/gen/getcap.c 1.43 +2 -2 src/lib/libc/gen/getpwent.c 1.26 +2 -2 src/lib/libftpio/ftpio.c From owner-cvs-lib Thu Sep 18 23:24:57 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA16623 for cvs-lib-outgoing; Thu, 18 Sep 1997 23:24:57 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA16372; Thu, 18 Sep 1997 23:22:20 -0700 (PDT) From: Philippe Charnier Received: (from charnier@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id XAA26303; Thu, 18 Sep 1997 23:18:22 -0700 (PDT) Date: Thu, 18 Sep 1997 23:18:22 -0700 (PDT) Message-Id: <199709190618.XAA26303@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-bin@FreeBSD.ORG, cvs-contrib@FreeBSD.ORG, cvs-lib@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/bin/df df.1 src/bin/ls ls.1 src/contrib/nvi/docs/USD.doc/vi.man vi.1 src/lib/libc/stdlib malloc.3 src/lib/libc/stdtime ctime.3 src/lib/libncurses curs_termatt.3 src/usr.sbin/lpr/lp lp.1 src/usr.sbin/quot quot.8 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk charnier 1997/09/18 23:18:22 PDT Modified files: (Branch: RELENG_2_2) bin/df df.1 bin/ls ls.1 contrib/nvi/docs/USD.doc/vi.man vi.1 lib/libc/stdlib malloc.3 lib/libc/stdtime ctime.3 lib/libncurses curs_termatt.3 usr.sbin/lpr/lp lp.1 usr.sbin/quot quot.8 Log: environmental -> environment Revision Changes Path 1.4.2.2 +2 -2 src/bin/df/df.1 1.5.2.4 +3 -3 src/bin/ls/ls.1 1.1.1.1.2.2 +5 -5 src/contrib/nvi/docs/USD.doc/vi.man/vi.1 1.6.2.3 +2 -2 src/lib/libc/stdlib/malloc.3 1.3.2.1 +1 -1 src/lib/libc/stdtime/ctime.3 1.3.2.1 +1 -1 src/lib/libncurses/curs_termatt.3 1.2.2.1 +2 -2 src/usr.sbin/lpr/lp/lp.1 1.3.4.2 +3 -3 src/usr.sbin/quot/quot.8