summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Adds slice_type_name() which extends chunk_n[] for subtype's too.obrien1997-01-234-1/+63
| | | | Curorary review by: phk
* Only send QUIT if the last operation didn't time out (otherwise you'rejkh1997-01-211-2/+5
| | | | just going to hang forever on the close).
* Sort cross references.wosch1997-01-20141-276/+277
|
* Sort cross references.wosch1997-01-205-11/+11
|
* Yow! Is my face red... I just noticed (duh) that signal() always installsjkh1997-01-171-9/+41
| | | | | | | | | | the handler with SA_RESTART set, so the system calls I wanted to have the timeout effect will just restart instead (which is NOT what I wanted). Sheepishly use sigaction() like a good boy and make timeouts actually do something. Also pass errors out more effectively so that fetch(1) actually understands what went wrong.
* Sweep through the tree fixing mmap() usage:alex1997-01-162-3/+3
| | | | | | | | | | | | - Use MAP_FAILED instead of the constant -1 to indicate failure (required by POSIX). - Removed flag arguments of '0' (required by POSIX). - Fixed code which expected an error return of 0. - Fixed code which thought any address with the high bit set was an error. - Check for failure where no checks were present. Discussed with: bde
* Use collate for national [a-z]-like rangesache1997-01-161-8/+13
| | | | Should go in 2.2
* The following patch to lib/libc/stdio implements positional arguments injkh1997-01-142-22/+414
| | | | | | | | | a manner consistent with other implementations. Its done in a way that adds only a tiny amount of overhead when positional arguments are not used. I also have a test program to go with this, but don't know where it belongs in the tree. Submitted-By: Bill Fenner <fenner@FreeBSD.ORG>
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-14643-724/+724
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* When attempting to load a `lastditch' timezone (e.g., because the loadwollman1997-01-131-7/+8
| | | | | | | | | of the user's timezone failed), don't bail if the specified timezone doesn't have an offset; in this case it isn't going to. (Perhaps it would be better to change the caller to always supply one, but this is quick and clean and fixes the bug in the easiest possible way.) Should be in 2.2. Fixes (properly) PR#1740.
* Bump libutil.so version (2.1 -> 2.2) since a whole heap of new functionspeter1997-01-131-1/+1
| | | | | | were added with the login class stuff. This is needed since libutil.so.2.1 is what is used in RELENG_2_2 and well into the release cycle. We only bump once per release cycle as needed.
* Convert to mdoc format.jdp1997-01-121-136/+152
| | | | | | | Add descriptions of RTLD_LAZY and RTLD_NOW. Correct the synopsis to agree with the actual function prototypes. Add clarifications of a few things. Clean up the wording in a few places.
* Add definitions of RTLD_LAZY and RTLD_NOW.jdp1997-01-121-0/+6
|
* Back out the last backout. This should work now that the bsd.info.mkpeter1997-01-122-4/+4
| | | | spammed revisions have been restored.
* Disconnect the doc subdir as well, bsd.info.mk freaks out if therepeter1997-01-122-4/+4
| | | | is no ${INFO} variable set.. :-(
* Add missing RETURN VALUES/ERRORS sections.mpp1997-01-126-13/+69
|
* Rename the DIAGNOSTICS sections in several man pagesmpp1997-01-126-7/+7
| | | | to RETURN VALUES like they should be.
* Set the "crt_ldso" member of the crt-to-ld.so interface structure. Thisjdp1997-01-111-1/+2
| | | | | | | | | | was apparently overlooked at the time the member was added. Its absence causes some error messages from the dynamic linker to begin with "(null):" instead of with the pathname of the dynamic linker as they should. I am also adding a work-around to the dynamic linker, to cope with legacy binaries that were built with older versions of crt0.
* Remove the EINVAL error from the ERRORS sections thatmpp1997-01-1127-70/+10
| | | | | say is means that a pathname had the high-order bit set, since this is no longer an error.
* Minor mdoc fixes in msync.2 and munmap.2.mpp1997-01-113-6/+31
| | | | | | Add RETURN VALUES and ERRORS sections to mincore. Closes PR# 1493.
* Forgot a .El macro.mpp1997-01-111-0/+1
|
* Add RETURN VALUES and ERRORS sections.mpp1997-01-111-3/+28
|
* Some mdoc cleanup. Also added a RETURN VALUES and ERRORSmpp1997-01-111-22/+45
| | | | | | section. Part of PR# 1493.
* Remove the comment about file names having tompp1997-01-111-2/+1
| | | | | | be 7 bit clean, since it isn't true anymore. Part of PR# 1493.
* Bring stat(2) into line with what is now actually inmpp1997-01-111-13/+34
| | | | | | stat.h. Also add a little blurb regarding st_mtime & friends clarifiying how they are defined in a non-_POSIX_SOURCE envorinment. Closes PR# 1089.
* Add a couple of additional xrefs.mpp1997-01-111-1/+3
|
* This texinfo documentation isn't really enough texinfo-izedjmacd1997-01-111-2/+2
| | | | | to construct an info file from, as documented at the top. There are no nodes, so I'm commenting out the INFO= list.
* Correct logic braino when attempting to exclude loopback addresses onpeter1997-01-091-2/+2
| | | | | | the first pass. Submitted by: Greg Lehey <grog@lemis.de>
* Two minor changes to try and make it more robust in the face of manypeter1997-01-091-2/+4
| | | | | | | | | interfaces, until it's redone to use sysctl(). - bump the SIOCGIFCONF buffer size from 1K to 8K - if we didn't find a suitable address, return a failure. Previously if it didn't find anything it left the return address uninitialised. Perhaps it would be better to return AF_INET/111/127.0.0.1 rather than failing?
* Minor mdoc style fixes.mpp1997-01-093-50/+82
|
* The error returned when F_SETLK collides with an existing lock isjdp1997-01-081-3/+3
| | | | | EAGAIN, not EACCES. POSIX says that either one is OK. 2.2 candidate.
* Delete -D_POSIX_MODE and -D_MULTI_LIBM from CFLAGS. They never had any effectwollman1997-01-081-2/+2
| | | | | | | because _IEEE_LIBM always takes priority, so the definition just served to confuse. Reviewed by: bde
* Fix fake failures on the short names which looks like hexadecimal numbersache1997-01-081-8/+4
| | | | Submitted by: paul@vix.com
* Document the various reasons for EINVAL.joerg1997-01-081-11/+21
| | | | | Document the flaw that `offset' is required to be page-aligned, in the BUGS section.
* Build ebones/libtelnet only if MAKE_EBONES definedache1997-01-081-1/+1
|
* Man page police.mpp1997-01-081-6/+6
|
* Various bugfixes.davidn1997-01-072-34/+42
|
* Consistency check: refs to ~/.login.conf should be ~/.login_conf.davidn1997-01-072-7/+7
|
* Commit the right version this time. :-)davidn1997-01-071-2/+2
|
* Fix for login_getclass(NULL) case.davidn1997-01-071-4/+6
|
* Fix Makefile so that dependencies are actually right this time.wollman1997-01-051-8/+8
| | | | | It is almost always the wrong thing to put .y and .l files directly into the SRCS.
* Disable isxdigit block until proper solution will be foundache1997-01-051-2/+7
| | | | | isxdigit(name[0]) gives false failures on short names which looks like hexadecimal digits, f.e. "fade", "babe", "d133", etc.
* Fix typos pointed out by bde (thanks!).davidn1997-01-051-3/+3
|
* Don't depend only <stdio.h> bogusly including <sys/types.h>.bde1997-01-051-1/+2
| | | | | | (<sys/types.h> is a prerequisite for <login_cap.h> mainly because the latter wants to typedef rlim_t. rlim_t is typedefed in <sys/types.h> in NetBSD.)
* Add missing manpage for login.conf.davidn1997-01-051-0/+361
|
* Library functions relating to the login class capabilities database,davidn1997-01-0411-2/+2644
| | | | | including manpages. See also login_cap.h.
* Fix the short description of kvm_getloadavg(3) to reflectmpp1997-01-021-2/+1
| | | | | | | | what the function really does. Also fix a small mdoc problem I noticed while in there. Obtained from: NetBSD-bugs (NetBSD PR#3077)
* Added group= facility to /etc/ttys for tty grouping for moredavidn1997-01-022-1/+9
| | | | | | | | more manageable and convenient referencing by login.conf (login class database) and (e.g.) login.access. This is the first of a group of commits which implements the login class capabilities database.
* Remove bogus weak reference.jkh1997-01-011-3/+1
|
* Eliminate unnecessary warning introduced by a missing forward declaration.jkh1997-01-011-1/+3
|
OpenPOWER on IntegriCloud