From owner-cvs-lib Sun Oct 15 10:40:24 1995 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA04369 for cvs-lib-outgoing; Sun, 15 Oct 1995 10:40:24 -0700 Received: (from phk@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA04360 ; Sun, 15 Oct 1995 10:40:21 -0700 Date: Sun, 15 Oct 1995 10:40:21 -0700 From: Poul-Henning Kamp Message-Id: <199510151740.KAA04360@freefall.freebsd.org> To: CVS-commiters, cvs-lib Subject: cvs commit: src/lib/libc/gmon Makefile.inc Sender: owner-cvs-lib@FreeBSD.org Precedence: bulk phk 95/10/15 10:40:21 Modified: lib/libc/gmon Makefile.inc Log: Add moncontrol.3 -> monstartup.3 link here. From owner-cvs-lib Tue Oct 17 14:37:54 1995 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA09182 for cvs-lib-outgoing; Tue, 17 Oct 1995 14:37:54 -0700 Received: (from davidg@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA09171 ; Tue, 17 Oct 1995 14:37:44 -0700 Date: Tue, 17 Oct 1995 14:37:44 -0700 From: David Greenman Message-Id: <199510172137.OAA09171@freefall.freebsd.org> To: CVS-commiters, cvs-lib Subject: cvs commit: src/lib/libc/stdlib getenv.c Sender: owner-cvs-lib@FreeBSD.org Precedence: bulk davidg 95/10/17 14:37:43 Modified: lib/libc/stdlib getenv.c Log: Doubled the performance of getenv()/__findenv() by rewriting it to not use strncmp().. From owner-cvs-lib Tue Oct 17 21:19:13 1995 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id VAA24395 for cvs-lib-outgoing; Tue, 17 Oct 1995 21:19:13 -0700 Received: (from davidg@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id VAA24378 ; Tue, 17 Oct 1995 21:19:03 -0700 Date: Tue, 17 Oct 1995 21:19:03 -0700 From: David Greenman Message-Id: <199510180419.VAA24378@freefall.freebsd.org> To: CVS-commiters, cvs-lib Subject: cvs commit: src/lib/csu/i386 Makefile Sender: owner-cvs-lib@FreeBSD.org Precedence: bulk davidg 95/10/17 21:19:02 Modified: lib/csu/i386 Makefile Log: Create a scrt0.o file that specifically excludes the shared-lib support. This will be used for -static programs. From owner-cvs-lib Tue Oct 17 21:42:41 1995 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id VAA25870 for cvs-lib-outgoing; Tue, 17 Oct 1995 21:42:41 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id VAA25855 ; Tue, 17 Oct 1995 21:42:24 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id OAA10353; Wed, 18 Oct 1995 14:41:56 +1000 Date: Wed, 18 Oct 1995 14:41:56 +1000 From: Bruce Evans Message-Id: <199510180441.OAA10353@godzilla.zeta.org.au> To: CVS-commiters@freefall.freebsd.org, cvs-lib@freefall.freebsd.org, davidg@freefall.freebsd.org Subject: Re: cvs commit: src/lib/libc/stdlib getenv.c Sender: owner-cvs-lib@FreeBSD.org Precedence: bulk > Modified: lib/libc/stdlib getenv.c > Log: > Doubled the performance of getenv()/__findenv() by rewriting it to not > use strncmp().. The __findenv() wart is now duplicated. It is inlined in getenv() and exported for use by only (?) setenv(). It should be `static inline' in a private header file and inlined by both (if it is worth inlining at all). Bruce From owner-cvs-lib Tue Oct 17 21:53:43 1995 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id VAA26298 for cvs-lib-outgoing; Tue, 17 Oct 1995 21:53:43 -0700 Received: from Root.COM (implode.Root.COM [198.145.90.17]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id VAA26287 ; Tue, 17 Oct 1995 21:53:33 -0700 Received: from corbin.Root.COM (corbin [198.145.90.50]) by Root.COM (8.6.12/8.6.5) with ESMTP id VAA26101; Tue, 17 Oct 1995 21:53:30 -0700 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.12/8.6.5) with SMTP id VAA29068; Tue, 17 Oct 1995 21:52:21 -0700 Message-Id: <199510180452.VAA29068@corbin.Root.COM> To: Bruce Evans cc: CVS-commiters@freefall.freebsd.org, cvs-lib@freefall.freebsd.org Subject: Re: cvs commit: src/lib/libc/stdlib getenv.c In-reply-to: Your message of "Wed, 18 Oct 95 14:41:56 +1000." <199510180441.OAA10353@godzilla.zeta.org.au> From: David Greenman Reply-To: davidg@Root.COM Date: Tue, 17 Oct 1995 21:52:15 -0700 Sender: owner-cvs-lib@FreeBSD.org Precedence: bulk >> Modified: lib/libc/stdlib getenv.c >> Log: >> Doubled the performance of getenv()/__findenv() by rewriting it to not >> use strncmp().. > >The __findenv() wart is now duplicated. It is inlined in getenv() and >exported for use by only (?) setenv(). It should be `static inline' >in a private header file and inlined by both (if it is worth inlining >at all). I'm aware of that and it was quite intentional. getenv() is called often, setenv() is rarely called. There is no reason to inline __findenv() for setenv() and unsetenv(), and inlining it for all three cases would just create yet one more copy. It was cheap to inline it for getenv() since it only required moving it within the file. If we are going to "fix" this, the only thing I would accept would be to make getenv() completely self contained (__findenv() does more than getenv() needs), and move __findenv() into setenv.c and then make it static. -DG From owner-cvs-lib Tue Oct 17 22:27:29 1995 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id WAA27988 for cvs-lib-outgoing; Tue, 17 Oct 1995 22:27:29 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id WAA27969 ; Tue, 17 Oct 1995 22:27:19 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id PAA12213; Wed, 18 Oct 1995 15:26:50 +1000 Date: Wed, 18 Oct 1995 15:26:50 +1000 From: Bruce Evans Message-Id: <199510180526.PAA12213@godzilla.zeta.org.au> To: bde@zeta.org.au, davidg@Root.COM Subject: Re: cvs commit: src/lib/libc/stdlib getenv.c Cc: CVS-commiters@freefall.freebsd.org, cvs-lib@freefall.freebsd.org Sender: owner-cvs-lib@FreeBSD.org Precedence: bulk >>The __findenv() wart is now duplicated. It is inlined in getenv() and > I'm aware of that and it was quite intentional. getenv() is called often, >setenv() is rarely called. There is no reason to inline __findenv() for >setenv() and unsetenv(), and inlining it for all three cases would just >create yet one more copy. It was cheap to inline it for getenv() since it I messed the 3rd use in unsetenv(). >only required moving it within the file. If we are going to "fix" this, the >only thing I would accept would be to make getenv() completely self contained >(__findenv() does more than getenv() needs), and move __findenv() into >setenv.c and then make it static. This could be done by putting a `static inline char *ifinddev()' in a header file and outlining it in setenv.c: static char *ofinddev() { return iffinddev(); } I actually don't think it's worth inlining either __finddev() or strncmp(). The usual method of comparing the first character would eliminate about 25/26 of the failing calls to strncmp(), and getenv() isn't called all that often. Note that inlining is often a pessimization, but this doesn't show up in simple tests because the stuff being tested stays in the cache. In real use, inlined code often displaces more generally useful code (such as that for strncmp()) from the cache. The only time inlining is clearly best is when the inlined code is smaller than the code to call the function. Bruce From owner-cvs-lib Wed Oct 18 08:57:09 1995 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA09967 for cvs-lib-outgoing; Wed, 18 Oct 1995 08:57:09 -0700 Received: (from phk@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA09949 ; Wed, 18 Oct 1995 08:56:59 -0700 Date: Wed, 18 Oct 1995 08:56:59 -0700 From: Poul-Henning Kamp Message-Id: <199510181556.IAA09949@freefall.freebsd.org> To: CVS-commiters, cvs-lib Subject: cvs commit: src/lib/csu/i386 crt0.c Sender: owner-cvs-lib@FreeBSD.org Precedence: bulk phk 95/10/18 08:56:57 Modified: lib/csu/i386 crt0.c Log: put the _getenv and _strncmp under #ifdef DEBUG, which is the only time they are used. Saves a few bytes here and there, nothing major. From owner-cvs-lib Thu Oct 19 11:45:52 1995 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA28162 for cvs-lib-outgoing; Thu, 19 Oct 1995 11:45:52 -0700 Received: (from joerg@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA28150 ; Thu, 19 Oct 1995 11:45:46 -0700 Date: Thu, 19 Oct 1995 11:45:46 -0700 From: Joerg Wunsch Message-Id: <199510191845.LAA28150@freefall.freebsd.org> To: CVS-commiters, cvs-lib Subject: cvs commit: src/lib/libc/sys getrlimit.2 Sender: owner-cvs-lib@FreeBSD.org Precedence: bulk joerg 95/10/19 11:45:45 Modified: lib/libc/sys getrlimit.2 Log: Remove the bugs section. sh(1) now has a ulimit builtin. From owner-cvs-lib Thu Oct 19 12:30:07 1995 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA29506 for cvs-lib-outgoing; Thu, 19 Oct 1995 12:30:07 -0700 Received: (from ache@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA29488 ; Thu, 19 Oct 1995 12:29:57 -0700 Date: Thu, 19 Oct 1995 12:29:57 -0700 From: "Andrey A. Chernov" Message-Id: <199510191929.MAA29488@freefall.freebsd.org> To: CVS-commiters, cvs-lib Subject: cvs commit: src/lib/libc/locale table.c Sender: owner-cvs-lib@FreeBSD.org Precedence: bulk ache 95/10/19 12:29:57 Modified: lib/libc/locale table.c Log: Propogate default table to restricted 8859-1 template (only control/graph/punct/print tags used) Based on: kaleb@x.org and Bruce suggestions From owner-cvs-lib Fri Oct 20 13:05:29 1995 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA17342 for cvs-lib-outgoing; Fri, 20 Oct 1995 13:05:29 -0700 Received: (from phk@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA17332 ; Fri, 20 Oct 1995 13:05:21 -0700 Date: Fri, 20 Oct 1995 13:05:21 -0700 From: Poul-Henning Kamp Message-Id: <199510202005.NAA17332@freefall.freebsd.org> To: CVS-commiters, cvs-lib Subject: cvs commit: src/lib/csu/i386 Makefile Sender: owner-cvs-lib@FreeBSD.org Precedence: bulk phk 95/10/20 13:05:20 Modified: lib/csu/i386 Makefile Log: -fomit-frame-pointer is becomming an increasingly popular optimization, so before somebody screws up royally, make sure this always works by adding a -fno-omit-frame-pointer here. From owner-cvs-lib Fri Oct 20 21:03:42 1995 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id VAA02175 for cvs-lib-outgoing; Fri, 20 Oct 1995 21:03:42 -0700 Received: (from julian@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id VAA02160 ; Fri, 20 Oct 1995 21:03:31 -0700 Date: Fri, 20 Oct 1995 21:03:31 -0700 From: Julian Elischer Message-Id: <199510210403.VAA02160@freefall.freebsd.org> To: CVS-commiters, cvs-lib Subject: cvs commit: src/lib/libipx - New directory Sender: owner-cvs-lib@FreeBSD.org Precedence: bulk julian 95/10/20 21:03:29 src/lib/libipx - New directory From owner-cvs-lib Fri Oct 20 23:41:43 1995 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA05196 for cvs-lib-outgoing; Fri, 20 Oct 1995 23:41:43 -0700 Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id XAA05191 ; Fri, 20 Oct 1995 23:41:36 -0700 Received: from blaise.ibp.fr (blaise.ibp.fr [132.227.60.1]) by ibp.ibp.fr (8.6.12/jtpda-5.0) with ESMTP id HAA26162 ; Sat, 21 Oct 1995 07:41:32 +0100 Received: from (uucp@localhost) by blaise.ibp.fr (8.6.12/jtpda-5.0) with UUCP id HAA13617 ; Sat, 21 Oct 1995 07:41:31 +0100 Received: (from roberto@localhost) by keltia.freenix.fr (8.7.1/keltia-uucp-2.6) id XAA28864; Fri, 20 Oct 1995 23:52:10 +0100 (MET) From: Ollivier Robert Message-Id: <199510202252.XAA28864@keltia.freenix.fr> Subject: Re: cvs commit: src/lib/csu/i386 Makefile To: phk@freefall.freebsd.org (Poul-Henning Kamp) Date: Fri, 20 Oct 1995 23:52:09 +0100 (MET) Cc: CVS-commiters@freefall.freebsd.org, cvs-lib@freefall.freebsd.org In-Reply-To: <199510202005.NAA17332@freefall.freebsd.org> from "Poul-Henning Kamp" at Oct 20, 95 01:05:21 pm X-Operating-System: FreeBSD 2.2-CURRENT ctm#1224 X-Mailer: ELM [version 2.4 PL24 ME8b] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-lib@FreeBSD.org Precedence: bulk It seems that Poul-Henning Kamp said: > Log: > -fomit-frame-pointer is becomming an increasingly popular optimization, > so before somebody screws up royally, make sure this always works by > adding a -fno-omit-frame-pointer here. Is it really useful ? Has anyone ever looked at how many % one can get with this ? -- Ollivier ROBERT -=- The daemon is FREE! -=- roberto@keltia.frmug.fr.net FreeBSD keltia.freenix.fr 2.2-CURRENT #0: Sat Oct 14 19:05:10 MET 1995 From owner-cvs-lib Sat Oct 21 00:05:10 1995 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA05466 for cvs-lib-outgoing; Sat, 21 Oct 1995 00:05:10 -0700 Received: (from peter@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id AAA05457 ; Sat, 21 Oct 1995 00:05:04 -0700 Date: Sat, 21 Oct 1995 00:05:04 -0700 From: Peter Wemm Message-Id: <199510210705.AAA05457@freefall.freebsd.org> To: CVS-commiters, cvs-lib Subject: cvs commit: src/lib/libc/gen syslog.c Sender: owner-cvs-lib@FreeBSD.org Precedence: bulk peter 95/10/21 00:05:03 Modified: lib/libc/gen syslog.c Log: Add $Id$ since this version of the file has diverged from the BSD base a fair bit. I forgot to add it when I made the fixes some time ago. From owner-cvs-lib Sat Oct 21 16:47:50 1995 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA17472 for cvs-lib-outgoing; Sat, 21 Oct 1995 16:47:50 -0700 Received: (from joerg@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA17462 ; Sat, 21 Oct 1995 16:47:44 -0700 Date: Sat, 21 Oct 1995 16:47:44 -0700 From: Joerg Wunsch Message-Id: <199510212347.QAA17462@freefall.freebsd.org> To: CVS-commiters, cvs-lib Subject: cvs commit: src/lib/libncurses lib_raw.c Sender: owner-cvs-lib@FreeBSD.org Precedence: bulk joerg 95/10/21 16:47:44 Modified: usr.bin/ee Makefile lib/libncurses lib_raw.c Added: usr.bin/ee/nls/de_DE.ISO_8859-1 ee.msg Log: Finally catch up with the Frenchmen, and create the German message catalog. :-) From owner-cvs-lib Sat Oct 21 17:00:30 1995 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id RAA17734 for cvs-lib-outgoing; Sat, 21 Oct 1995 17:00:30 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id RAA17725 ; Sat, 21 Oct 1995 17:00:20 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id BAA05919; Sun, 22 Oct 1995 01:00:15 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id BAA22465; Sun, 22 Oct 1995 01:00:14 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id AAA25596; Sun, 22 Oct 1995 00:58:59 +0100 From: J Wunsch Message-Id: <199510212358.AAA25596@uriah.heep.sax.de> Subject: Re: cvs commit: src/lib/libncurses lib_raw.c To: jkh@freefall.freebsd.org (Jordan K. Hubbard) Date: Sun, 22 Oct 1995 00:58:58 +0100 (MET) Cc: CVS-commiters@freefall.freebsd.org, cvs-lib@freefall.freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199510212347.QAA17462@freefall.freebsd.org> from "Joerg Wunsch" at Oct 21, 95 04:47:44 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 778 Sender: owner-cvs-lib@FreeBSD.org Precedence: bulk As Joerg Wunsch wrote: > > joerg 95/10/21 16:47:44 > > Modified: usr.bin/ee Makefile > lib/libncurses lib_raw.c > Added: usr.bin/ee/nls/de_DE.ISO_8859-1 ee.msg > Log: > Finally catch up with the Frenchmen, and create the German message > catalog. > :-) Shit. I've been invoking the cvs commit from one dir level too high. :( ========= The message for "lib/libncurses lib_raw.c" is: Preserve the state of IEXTEN across raw()/noraw() calls, but turn off IEXTEN while raw() is active. This patch ought to go into 2.1, lest ee(1)'s ^O and ^V keys won't work, Jordan. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)