summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* misc typosadam1995-10-273-7/+7
|
* Remove unneded ctype.hache1995-10-261-1/+0
|
* Reviewed by: julian and jhay@mikom.csir.co.zajulian1995-10-265-1/+462
| | | | | | | | | | | | | | | | | | | | | Submitted by: Mike Mitchell, supervisor@alb.asctmd.com This is a bulk mport of Mike's IPX/SPX protocol stacks and all the related gunf that goes with it.. it is not guaranteed to work 100% correctly at this time but as we had several people trying to work on it I figured it would be better to get it checked in so they could all get teh same thing to work on.. Mikes been using it for a year or so but on 2.0 more changes and stuff will be merged in from other developers now that this is in. Mike Mitchell, Network Engineer AMTECH Systems Corporation, Technology and Manufacturing 8600 Jefferson Street, Albuquerque, New Mexico 87113 (505) 856-8000 supervisor@alb.asctmd.com
* Fix it for chars with 8bit setache1995-10-231-1/+1
|
* Treat empty encoding as "C" encodingache1995-10-231-1/+1
|
* Optimize PathLocale handling.ache1995-10-231-7/+15
| | | | | Handle C/POSIX/"" properly. Don't reset collate to C when it is unnecessary
* Don't reset LC_TIME to C when it isn't neccessaryache1995-10-231-13/+17
|
* Use fake (empty) startup_setlocale for XPG4ache1995-10-231-3/+3
|
* Reduce static binaries bloat by splitting out normally unusedache1995-10-233-8/+45
| | | | setinvalidrune()
* libxpg4 addedache1995-10-231-1/+1
|
* This commit was generated by cvs2svn to compensate for changes in r11696,ache1995-10-231-0/+8
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * XPG4 hookache1995-10-231-0/+8
|
* Migrate from XPG4 to XPG3 (libxpg4 will be added soon)ache1995-10-239-56/+444
| | | | | Remove big part of my startup_setlocale hack. Add missing manpage links.
* Undo the the changes in the previous revision (MANSRC now works right again).bde1995-10-221-7/+8
| | | | Use ${INSTALL} instead of install.
* Update to 4.4lite2 (clean up includes; initialize the name of the masterbde1995-10-221-9/+10
| | | | | | pty correctly (it was broken for calls to openpty() after the first successful one)). Obtained from: 4.4lite2
* Removed unnecessary include of <sys/tty.h>. tty.h apparently once hadbde1995-10-221-1/+0
| | | | some user interfaces in it. It no longer does.
* Update to 4.4lite2 (initialize arrow key data completely).bde1995-10-221-1/+5
|
* Fixed lint from cc -Wall.bde1995-10-221-5/+6
| | | | Cleaned up includes.
* Fixed dependencies for scrt0.o.bde1995-10-221-7/+14
| | | | | | Build a static gcrt0.o (sgcrt0.o) too. Currently only the dynamic gcrt0.o is used, although -pg forces -static. Sorted the .o targets.
* Fixed use of too many args for `.Em'.bde1995-10-221-10/+12
| | | | | | | | Fixed description of domain of y*(). Fixed description of error domain. (This description is still half redundant and half wrong, as in many other math man pages. fdlibm doesn't support the VAX or Tahoe.) Fixed capitalization of `Bessel'.
* minor cleanup, #includes.phk1995-10-225-6/+11
|
* Mino cleanup, #includes & unused vars.phk1995-10-222-2/+6
|
* Minor cleanup, #include's and unused vars.phk1995-10-223-1/+5
| | | | Added compile-time warning to an old funky function.
* Well, cvs commit core'ed on me, I belive I have got all the locks out,phk1995-10-2223-32/+64
| | | | | | | | | | | | | | | | | | | but a commit mail got lost, it's the same as for this commit: lib/libc/gen confstr.c crypt.c disklabel.c fstab.c getcap.c getgrent.c getgrouplist.c getpass.c getpwent.c initgroups.c nlist.c psignal.c pwcache.c setmode.c sleep.c sysconf.c sysctl.c syslog.c usleep.c lib/libc/locale none.c read_runemagi.c setlocale.c lib/libc/net gethostbydns.c getnetbydns.c getnetbynis.c lib/libc/nls msgcat.c lib/libc/quad Makefile.inc lib/libc/regex engine.c regcomp.c regerror.c Minor cleanup, mostly unused vars and missing #includes. Limit the number of quad functions we pull in for 'i386'. I still belive the quad stuff should go back into gcc. Add compile-time warnings about crypt functions.
* Remove EXTRA_SANITY, fix a unused var.phk1995-10-221-4/+8
|
* More cleanup.phk1995-10-223-4/+1
| | | | Uhm, I also forgot: I took "EXTRA_SANITY" out of malloc.c
* limit the number of functions we pull in for 'i386'.phk1995-10-221-1/+11
| | | | I still belive this stuff should go back into gcc.
* and so on...phk1995-10-221-5/+3
|
* As above.phk1995-10-223-5/+7
|
* As above.phk1995-10-223-3/+2
| | | | Oh I also put in a couple of compile-time warnings for the crypt stuff.
* Minor cleanup, mostly unused vars and missing #includes.phk1995-10-2219-43/+46
|
* Finally catch up with the Frenchmen, and create the German messagejoerg1995-10-211-2/+8
| | | | | catalog. :-)
* Add $Id$ since this version of the file has diverged from the BSD base apeter1995-10-211-1/+5
| | | | fair bit. I forgot to add it when I made the fixes some time ago.
* -fomit-frame-pointer is becomming an increasingly popular optimization,phk1995-10-201-2/+2
| | | | | so before somebody screws up royally, make sure this always works by adding a -fno-omit-frame-pointer here.
* Propogate default table to restricted 8859-1 templateache1995-10-191-0/+32
| | | | | (only control/graph/punct/print tags used) Based on: kaleb@x.org and Bruce suggestions
* Remove the bugs section. sh(1) now has a ulimit builtin.joerg1995-10-191-9/+0
|
* put the _getenv and _strncmp under #ifdef DEBUG, which is the only timephk1995-10-181-1/+6
| | | | they are used. Saves a few bytes here and there, nothing major.
* Create a scrt0.o file that specifically excludes the shared-lib support.dg1995-10-181-6/+11
| | | | This will be used for -static programs.
* Doubled the performance of getenv()/__findenv() by rewriting it to notdg1995-10-171-20/+24
| | | | use strncmp()..
* Add moncontrol.3 -> monstartup.3 link here.phk1995-10-151-0/+1
|
* Another tweak/speedup pass:wpaul1995-10-111-62/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fix buffer overflow problem once and for all: do away with the buffer copies to 'user' prior to calling _scancaches() and just pass a pointer to the buffer returned by yp_match()/yp_first()/yp_next()/whatever. (We turn the first ':' to a NUL first so strcmp() works, then change it back later. Submitted by Bill Fenner <fenner@parc.xerox.com> and tweaked slightly by me. - Give _pw_breakout_yp() the 'more elegant solution' I promised way back when. Eliminate several copies to static buffers and replace them with just one copy. (The buffer returned by the NIS functions is at most YPMAXRECORD bytes long, so we should only need one static buffer of the same length (plus 2 for paranoia's sake).) - Also in _pw_breakout_yp(): always set pw.pw_passwd to the username obtained via NIS regardless of what pw_fields says: usernames cannot be overridden so we have no choice but to use the name returned by NIS. - _Again_ in _pw_breakout_yp(): before doing anything else, check that the first character of the NIS-returned buffer is not a '+' or '-'. If it is, drop the entry. (#define EXTRA_PARANOIA 1 :) - Probe for the master.passwd.* maps once during __initdb() instead of doing it each time _getyppass() or _nextyppass() is called. - Don't copy the NIS data buffers to static memory in _getyppass() and _nextyppass(): this is done in _pw_breakout_yp() now. - Test against phkmalloc and phkmalloc/2 (TNG!) to make sure we're free()ing the yp buffers sanely. - Put _havemaster(), _getyppass() and nextyppass() prototypes under #ifdef YP. (Somehow they ended up on the wrong side of the #endif.) - Remove unused variable ___yp_only.
* phkmalloc/2phk1995-10-082-311/+370
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "zero' and 'junk' options to help find and diagnose malloc abuse. EXTRA_SANITY defaults "junk" to on. Don't dump the internal state, unless EXTRA_SANITY. General code cleanup. Error messages cleaned up a bit, more checking earlier. EXTRA_SANITY is default at this time (just in case). Performance (without EXTRA_SANITY) is better, beats gnumalloc in both time & space most of the time: # In-memory test. ./malloc 50000000 2000 8192 159.2u 1.5s 2:41.85 99.3% 5+7742k 0+0io 0pf+0w ./gnumalloc 50000000 2000 8192 272.6u 0.4s 4:35.01 99.3% 5+8533k 0+0io 0pf+0w # Swap-space test. ./malloc 500000 14000 8192 6.5u 4.1s 4:08.87 4.3% 5+49209k 0+0io 9772pf+0w ./gnumalloc 500000 14000 8192 16.2u 14.5s 15:36.14 3.2% 5+54100k 0+0io 47651pf+0w # Small items test. ./malloc 20000000 20000 2048 67.0u 0.3s 1:07.83 99.2% 5+18199k 0+0io 4pf+0w ./gnumalloc 20000000 20000 2048 66.2u 0.3s 1:07.03 99.3% 5+18107k 0+0io 0pf+0w SANITY is not an option anymore. (!!)
* Some NIS bug stomping:wpaul1995-10-061-24/+41
| | | | | | | | | | | | | | | | | | | | | | - In some cases, we don't properly resolve _all_ possible group memberships. If a user is a member of both local and NIS groups, we sometimes lose some of the membership info from NIS. (Reported by: Thorsten Kukuk <kukuk@uni-paderborn.de>) - Make NIS +groupname overrides actually work the way the SunOS group(5) man page says they should (make them work for all cases: getgrent(), getgrnam() and getgrgid()). - When not compiled with -DYP, grscan() should ignore entries that begin with a '+'. When compiled _with_ -DYP, grscan() should ignore +groupname entries that don't refer to real NIS groups. - Remove redundant redeclaration of fgets(), strsep() and index() inside grscan(). We already #include all the right header files for these. Note: -groupname exclusion as specified in the Sun documentation still isn't supported. This'll be a 2.2 addition. Right now I just want this stuff to work.
* remove GCC support functions from libc.phk1995-10-052-4/+2
| | | | Should never have been here in the first place.
* Fix the problem that I aroused with the last commit..peter1995-10-051-4/+10
| | | | | | | | | | | | | | | What was happening, is if syslogd was not running, syslog() would do a strcat("\r\n") on a non-null-terminated buffer, and write it to the console. This meant that sometimes extra characters could be written to the console during boot, depending on the stack contents. This totally avoids the potential problem by using writev() like the rest of the does, and avoid modifying the buffer after the trouble we've gone to to carefully protect it. This is actually a trivial fix, in spite of the long commit message.. :-) It only appeared during boot and shutdown with syslogd stopped.
* Make a link-time warning for the use of gets().peter1995-10-041-0/+3
| | | | | | | IMHO, the run-time warning should come out, but I'm not game to start that fight yet... This uses a feature of the gnu linker. Inspired by: NetBSD
* Calling sbrk(2) with zero argument doesn't need to generate a syscall.phk1995-10-042-8/+20
| | | | Reviewed by: bde
* Add man pages for the SYSV shm* and sem* functions.joerg1995-10-037-1/+890
| | | | | | | This partially closes PR # docs/177. This should probably also go into 2.1. Submitted by: daveho@infocom.com (David Hovemeyer)
* Compress manual pages (if desired) in the obj directory ratherwollman1995-10-021-7/+6
| | | | | | than in the installation destination. Should make release-building substantially faster. The msun Makefile changes simple adapt to the new scheme.
* Build secure libcrypt if available and allowedache1995-09-291-1/+7
|
OpenPOWER on IntegriCloud