From owner-cvs-lib Tue Dec 26 05:25:18 1995 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA02790 for cvs-lib-outgoing; Tue, 26 Dec 1995 05:25:18 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA02783 Tue, 26 Dec 1995 05:25:16 -0800 (PST) Date: Tue, 26 Dec 1995 05:25:16 -0800 (PST) From: Bruce Evans Message-Id: <199512261325.FAA02783@freefall.freebsd.org> To: CVS-committers, cvs-lib Subject: cvs commit: src/lib/libc/quad quad.h Sender: owner-cvs-lib@FreeBSD.ORG Precedence: bulk bde 95/12/26 05:25:15 Modified: sys/libkern qsort.c quad.h lib/libc/stdlib qsort.c lib/libc/quad quad.h Log: Added prototypes. Revision Changes Path 1.2 +9 -3 src/sys/libkern/qsort.c 1.3 +6 -2 src/sys/libkern/quad.h 1.3 +8 -3 src/lib/libc/stdlib/qsort.c 1.2 +6 -1 src/lib/libc/quad/quad.h From owner-cvs-lib Tue Dec 26 14:50:12 1995 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA20019 for cvs-lib-outgoing; Tue, 26 Dec 1995 14:50:12 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA20012 Tue, 26 Dec 1995 14:50:10 -0800 (PST) Date: Tue, 26 Dec 1995 14:50:10 -0800 (PST) From: Peter Wemm Message-Id: <199512262250.OAA20012@freefall.freebsd.org> To: CVS-committers, cvs-lib Subject: cvs commit: src/lib/libutil setproctitle.3 setproctitle.c Makefile Sender: owner-cvs-lib@FreeBSD.ORG Precedence: bulk peter 95/12/26 14:50:09 Modified: lib/libutil Makefile Added: lib/libutil setproctitle.3 setproctitle.c Log: Bring in an initial version of setproctitle().. This is intended to replace the dozen other various hacks in the code that do all sorts of crude things including spamming the envrionment strings with the new argv string. This version is mainly inspired by the sendmail version, with a couple of ideas taken from the NetBSD implementation as well. Revision Changes Path 1.2 +2 -1 src/lib/libutil/Makefile From owner-cvs-lib Tue Dec 26 15:00:41 1995 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA20433 for cvs-lib-outgoing; Tue, 26 Dec 1995 15:00:41 -0800 (PST) Received: from jhome.DIALix.COM (root@jhome.DIALix.COM [192.203.228.69]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id PAA20428 Tue, 26 Dec 1995 15:00:36 -0800 (PST) Received: (from peter@localhost) by jhome.DIALix.COM (8.7.3/8.7.3) id HAA02273; Wed, 27 Dec 1995 07:01:28 +0800 (WST) Date: Wed, 27 Dec 1995 07:01:28 +0800 (WST) From: Peter Wemm To: CVS-committers@freefall.freebsd.org, cvs-lib@freefall.freebsd.org Subject: Re: cvs commit: src/lib/libutil setproctitle.3 setproctitle.c Makefile In-Reply-To: <199512262250.OAA20012@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-lib@FreeBSD.ORG Precedence: bulk On Tue, 26 Dec 1995, Peter Wemm wrote: > Modified: lib/libutil Makefile > Added: lib/libutil setproctitle.3 setproctitle.c > Log: > Bring in an initial version of setproctitle().. This is intended to > replace the dozen other various hacks in the code that do all sorts > of crude things including spamming the envrionment strings with the new > argv string. I was also intending to add two sysctl variables to allow any old statically linked binaries to automatically pick up any changes to the kernel supplied user stack in the future. I'm not so sure this is necessary now, as the majority of the uses of this code that will be statically linked will be system dependent in other ways (eg: sizeof(proc structs etc)). Any applications that use this will most likely be dynamically linked and will pick up any changes automatically. This code has a heuristic to allow it to run on the slightly older user stack layout that was in -current several weeks ago and is still in -stable. -stable will have to change to support BSD/OS 2.x binaries. I think that's about as far as the backwards compatability needs to go, but if anybody thinks it's worthwhile adding sysctl variables to make it "just that little bit more" adaptable in the face of any changes in the stack layout in the future, then let me know. DG expressed interest in the ability to expand the kernel VM space in the future, which led me to the sysctl ideas in the first place. Doing this will blow away the ability to support BSD/OS 2.x binaries, so to a certain extent our hands are already a bit tied with regard to the ability to expand the kernel VM space. :-( -Peter From owner-cvs-lib Wed Dec 27 10:47:49 1995 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA07910 for cvs-lib-outgoing; Wed, 27 Dec 1995 10:47:49 -0800 (PST) Received: (from davidg@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA07903 Wed, 27 Dec 1995 10:47:47 -0800 (PST) Date: Wed, 27 Dec 1995 10:47:47 -0800 (PST) From: David Greenman Message-Id: <199512271847.KAA07903@freefall.freebsd.org> To: CVS-committers, cvs-lib Subject: cvs commit: src/lib/libc/i386/string bcopy.S memmove.S Sender: owner-cvs-lib@FreeBSD.ORG Precedence: bulk davidg 95/12/27 10:47:46 Modified: lib/libc/i386/string bcopy.S memmove.S Log: Be smarter about handling overlapped copies and only go backwards if it is really necessary. Going backwards on a P6 is much slower than forwards and it's a little slower on a P5. Also moved the count mask and 'std' down a few lines - it's a couple percent faster this way on a P5. Revision Changes Path 1.3 +8 -6 src/lib/libc/i386/string/bcopy.S 1.3 +8 -6 src/lib/libc/i386/string/memmove.S From owner-cvs-lib Wed Dec 27 15:23:03 1995 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA25032 for cvs-lib-outgoing; Wed, 27 Dec 1995 15:23:03 -0800 (PST) Received: (from joerg@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA25025 Wed, 27 Dec 1995 15:23:01 -0800 (PST) Date: Wed, 27 Dec 1995 15:23:01 -0800 (PST) From: Joerg Wunsch Message-Id: <199512272323.PAA25025@freefall.freebsd.org> To: CVS-committers, cvs-lib Subject: cvs commit: src/lib/libc/gen getpass.c Sender: owner-cvs-lib@FreeBSD.ORG Precedence: bulk joerg 95/12/27 15:23:01 Modified: lib/libc/gen getpass.c Log: Don't block SIGINT in getpass(3); this doesn't make sense. Revision Changes Path 1.3 +1 -1 src/lib/libc/gen/getpass.c From owner-cvs-lib Thu Dec 28 10:06:30 1995 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA20289 for cvs-lib-outgoing; Thu, 28 Dec 1995 10:06:30 -0800 (PST) Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id KAA20277 Thu, 28 Dec 1995 10:06:20 -0800 (PST) Received: by halloran-eldar.lcs.mit.edu; (5.65/1.1.8.2/19Aug95-0530PM) id AA23043; Thu, 28 Dec 1995 13:06:19 -0500 Date: Thu, 28 Dec 1995 13:06:19 -0500 From: "Garrett A. Wollman" Message-Id: <9512281806.AA23043@halloran-eldar.lcs.mit.edu> To: Joerg Wunsch Cc: CVS-committers@freefall.freebsd.org, cvs-lib@freefall.freebsd.org Subject: cvs commit: src/lib/libc/gen getpass.c In-Reply-To: <199512272323.PAA25025@freefall.freebsd.org> References: <199512272323.PAA25025@freefall.freebsd.org> Sender: owner-cvs-lib@FreeBSD.ORG Precedence: bulk < said: > joerg 95/12/27 15:23:01 > Modified: lib/libc/gen getpass.c > Log: > Don't block SIGINT in getpass(3); this doesn't make sense. It shouldn't block SIGTSTP, either. (The calling program should if it's important.) This is very obnoxious when I'm on a text console attempting to FTP somewhere using S/Key, since it is impossible to suspend ftp while it's prompting for a password. Under OSF/1, it works. -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant From owner-cvs-lib Thu Dec 28 13:06:18 1995 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA29469 for cvs-lib-outgoing; Thu, 28 Dec 1995 13:06:18 -0800 (PST) Received: (from gpalmer@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA29461 Thu, 28 Dec 1995 13:06:15 -0800 (PST) Date: Thu, 28 Dec 1995 13:06:15 -0800 (PST) From: Gary Palmer Message-Id: <199512282106.NAA29461@freefall.freebsd.org> To: CVS-committers, cvs-lib Subject: cvs commit: src/lib/libc/locale tolower.3 toupper.3 Sender: owner-cvs-lib@FreeBSD.ORG Precedence: bulk gpalmer 95/12/28 13:06:12 Modified: lib/libc/locale tolower.3 toupper.3 Log: Correct what seem to me to be some mistakes in the references and standards sections. Also add a missing `,' to each file. Revision Changes Path 1.2 +3 -3 src/lib/libc/locale/tolower.3 1.2 +3 -3 src/lib/libc/locale/toupper.3 From owner-cvs-lib Thu Dec 28 14:19:03 1995 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA04187 for cvs-lib-outgoing; Thu, 28 Dec 1995 14:19:03 -0800 (PST) Received: from precipice.shockwave.com (precipice.shockwave.com [171.69.108.33]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id OAA04180 Thu, 28 Dec 1995 14:18:55 -0800 (PST) Received: from localhost.shockwave.com (localhost.shockwave.com [127.0.0.1]) by precipice.shockwave.com (8.7.3/8.6.12) with SMTP id OAA12618; Thu, 28 Dec 1995 14:18:15 -0800 (PST) Message-Id: <199512282218.OAA12618@precipice.shockwave.com> To: "Garrett A. Wollman" cc: Joerg Wunsch , CVS-committers@freefall.freebsd.org, cvs-lib@freefall.freebsd.org Subject: Re: cvs commit: src/lib/libc/gen getpass.c In-reply-to: Your message of "Thu, 28 Dec 1995 13:06:19 EST." <9512281806.AA23043@halloran-eldar.lcs.mit.edu> Date: Thu, 28 Dec 1995 14:18:15 -0800 From: Paul Traina Sender: owner-cvs-lib@FreeBSD.ORG Precedence: bulk Two points: (a) you two just changed the semantics of this routine, you need to check all of the callers to make sure THEY block SIGINT and SIGTSTP. (b) This is a bad idea if you use ^C or ^Z as part of your password, which was legal. Paul From: "Garrett A. Wollman" Subject: cvs commit: src/lib/libc/gen getpass.c <>bsd.org> said: > joerg 95/12/27 15:23:01 > Modified: lib/libc/gen getpass.c > Log: > Don't block SIGINT in getpass(3); this doesn't make sense. It shouldn't block SIGTSTP, either. (The calling program should if it's important.) This is very obnoxious when I'm on a text console attempting to FTP somewhere using S/Key, since it is impossible to suspend ftp while it's prompting for a password. Under OSF/1, it works. -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance >>. Opinions not those of| It is a bond more powerful than absence. We like peop >>le MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollan >>t From owner-cvs-lib Thu Dec 28 18:50:50 1995 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA17987 for cvs-lib-outgoing; Thu, 28 Dec 1995 18:50:50 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id SAA17977 Thu, 28 Dec 1995 18:50:08 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id NAA26338; Fri, 29 Dec 1995 13:45:32 +1100 Date: Fri, 29 Dec 1995 13:45:32 +1100 From: Bruce Evans Message-Id: <199512290245.NAA26338@godzilla.zeta.org.au> To: CVS-committers@freefall.freebsd.org, cvs-lib@freefall.freebsd.org, gpalmer@freefall.freebsd.org Subject: Re: cvs commit: src/lib/libc/locale tolower.3 toupper.3 Sender: owner-cvs-lib@FreeBSD.ORG Precedence: bulk > Modified: lib/libc/locale tolower.3 toupper.3 > Log: > Correct what seem to me to be some mistakes in the references and Um, they seem to me to be mistakes now. > standards sections. Also add a missing `,' to each file. This change is^H^Hseems to be correct :-). > > Revision Changes Path > 1.2 +3 -3 src/lib/libc/locale/tolower.3 > 1.2 +3 -3 src/lib/libc/locale/toupper.3 Bruce From owner-cvs-lib Fri Dec 29 00:24:05 1995 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA06809 for cvs-lib-outgoing; Fri, 29 Dec 1995 00:24:05 -0800 (PST) Received: (from gpalmer@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA06789 Fri, 29 Dec 1995 00:24:03 -0800 (PST) Date: Fri, 29 Dec 1995 00:24:03 -0800 (PST) From: Gary Palmer Message-Id: <199512290824.AAA06789@freefall.freebsd.org> To: CVS-committers, cvs-lib Subject: cvs commit: src/lib/libc/locale tolower.3 Sender: owner-cvs-lib@FreeBSD.ORG Precedence: bulk gpalmer 95/12/29 00:24:01 Modified: lib/libc/locale tolower.3 Log: Oops. I seem to have over-corrected with my last commit. It should be right this time Revision Changes Path 1.3 +2 -2 src/lib/libc/locale/tolower.3 From owner-cvs-lib Fri Dec 29 00:25:18 1995 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA06919 for cvs-lib-outgoing; Fri, 29 Dec 1995 00:25:18 -0800 (PST) Received: from westhill.cdrom.com (westhill.cdrom.com [192.216.223.138]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id AAA06905 Fri, 29 Dec 1995 00:25:09 -0800 (PST) From: gpalmer@westhill.cdrom.com Received: from localhost.cdrom.com (localhost.cdrom.com [127.0.0.1]) by westhill.cdrom.com (8.6.12/8.6.12) with SMTP id AAA02730 ; Fri, 29 Dec 1995 00:24:25 -0800 X-Authentication-Warning: westhill.cdrom.com: Host localhost.cdrom.com didn't use HELO protocol To: Bruce Evans cc: CVS-committers@freefall.freebsd.org, cvs-lib@freefall.freebsd.org Subject: Re: cvs commit: src/lib/libc/locale tolower.3 toupper.3 In-reply-to: Your message of "Fri, 29 Dec 1995 13:45:32 +1100." <199512290245.NAA26338@godzilla.zeta.org.au> Date: Fri, 29 Dec 1995 00:24:24 -0800 Message-ID: <2728.820225464@westhill.cdrom.com> Sender: owner-cvs-lib@FreeBSD.ORG Precedence: bulk Bruce Evans wrote in message ID <199512290245.NAA26338@godzilla.zeta.org.au>: > > Modified: lib/libc/locale tolower.3 toupper.3 > > Log: > > Correct what seem to me to be some mistakes in the references and > Um, they seem to me to be mistakes now. man toupper reveals (or used to): TOUPPER(3) UNIX Programmer's Manual TOUPPER(3) NAME toupper - lower case to upper case letter conversion SYNOPSIS #include int toupper(int c) DESCRIPTION The toupper() function converts a lower-case letter to the corresponding upper-case letter. If the argument is a lower-case letter, the toupper() function returns the corresponding upper-case letter if there is one; otherwise the argument is returned unchanged. SEE ALSO isascii(3), isalnum(3), isalpha(3), iscntrl(3), isdigit(3), isgraph(3), islower(3), isprint(3), ispunct(3), isspace(3), isupper(3), isxdigit(3), toascii(3), toupper(3), stdio(3) ascii(7) STANDARDS The tolower() function conforms to ANSI C3.159-1989 (``ANSI C''). BSD Experimental June 4, 1993 1 I really didn't see the point of referring to toupper(3) from toupper(3), and then go on to talk about how tolower() conforms to ANSI C! I see what Bruce is referring to tho... I messed up on the tolower() page, which I just fixed. Gary From owner-cvs-lib Fri Dec 29 04:26:08 1995 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA17755 for cvs-lib-outgoing; Fri, 29 Dec 1995 04:26:08 -0800 (PST) Received: (from gpalmer@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA17747 Fri, 29 Dec 1995 04:26:04 -0800 (PST) Date: Fri, 29 Dec 1995 04:26:04 -0800 (PST) From: Gary Palmer Message-Id: <199512291226.EAA17747@freefall.freebsd.org> To: CVS-committers, cvs-lib Subject: cvs commit: src/lib/libc/locale tolower.3 toupper.3 Sender: owner-cvs-lib@FreeBSD.ORG Precedence: bulk gpalmer 95/12/29 04:26:04 Branch: lib/libc/locale RELENG_2_1_0 Modified: lib/libc/locale tolower.3 toupper.3 Log: Bring in fixes from the head Revision Changes Path 1.1.1.1.6.1 +1 -1 src/lib/libc/locale/tolower.3 1.1.1.1.6.1 +3 -3 src/lib/libc/locale/toupper.3 From owner-cvs-lib Fri Dec 29 23:01:54 1995 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA03634 for cvs-lib-outgoing; Fri, 29 Dec 1995 23:01:54 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA03626 Fri, 29 Dec 1995 23:01:52 -0800 (PST) Date: Fri, 29 Dec 1995 23:01:52 -0800 (PST) From: Bruce Evans Message-Id: <199512300701.XAA03626@freefall.freebsd.org> To: CVS-committers, cvs-lib Subject: cvs commit: src/lib/libc/gmon mcount.c Sender: owner-cvs-lib@FreeBSD.ORG Precedence: bulk bde 95/12/29 23:01:51 Modified: lib/libc/gmon mcount.c Log: Added $Id$. Revision Changes Path 1.5 +4 -0 src/lib/libc/gmon/mcount.c