summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Add OpenBSD-style blowfish password hashing. This makes one lessmarkm2001-03-114-7/+23
| | | | | | | | | | gratuitous difference between us and our sister project. This was given to me _ages_ ago. May apologies to Paul for the length of time its taken me to commit. Obtained from: Niels Provos <provos@physnet.uni-hamburg.de>/OpenBSD Submitted by: Paul Herman <pherman@frenchfries.net>
* In theory it would be perfectly legal for a system administrator tobillf2001-03-101-1/+1
| | | | | | | | # cd /dev && ./MAKEDEV pty0 pty3 and/or # rm -rf /dev/ptyp0 and expect all programs that use openpty() to still try to find available ptys.
* Correct a race condition where it was possible for a signaleddeischen2001-03-093-6/+24
| | | | | | | | thread to become stranded and not placed in the run queue. MFC Candidate Reported by: tegge
* This is the getsid() we are talking about, not setsid().ru2001-03-091-1/+1
| | | | | PR: docs/25626 Submitted by: Yoshihiko Sarumaru <mistral@imasy.or.jp>
* Submitted by: Ian Dowse <iedowse@maths.tcd.ie>, David Cross <dec@freebsd.org>dec2001-03-082-0/+2
| | | | | | | | | | | | | Reviewed by: David Cross <dec@freebsd.org>, jkh <jkh@freebsd.org> Approved by: jkh <jkh@freebsd.org> Obtained from: Ian Dowse <iedowse@maths.tcd.ie>, David Cross <dec@freebsd.org> We have been running this patch on a production NIS server for 2.5 weeks now. Normally we would have ypserv die at least once a week, and often many times a day. This patch treats and error from select as zeroing out the FD_SET to indicate that no fds are ready for reading. This is safe because the rpc code always re-inits the FDSET before calling select.
* Don't remember an EINTR, since the caller may want to restart the call.des2001-03-071-2/+4
|
* Support lower-case versions of the proxy environment variables.des2001-03-073-3/+13
| | | | PR: bin/25494
* A quick and dirty port of libstand to ia64.dfr2001-03-063-0/+161
|
* Use relative paths to find byte_swap_*.S to make it easier to use thesedfr2001-03-064-4/+4
| | | | from libstand.
* Make this compile. Still need to write/borrow a working setjmp.dfr2001-03-061-0/+1
|
* Use ieee floats on ia64.dfr2001-03-061-1/+1
|
* Use the right format string for printing ULONG_MAX.dwmalone2001-03-051-2/+2
|
* Fix style nit.obrien2001-03-051-1/+1
|
* Fix style breakage.obrien2001-03-051-0/+1
|
* Fix style that got corrupted.obrien2001-03-051-17/+17
|
* Fix FreeBSD id style breakage from rev 1.17obrien2001-03-051-1/+1
|
* Use our standard .c rcsid format.obrien2001-03-051-1/+2
|
* Fix copyright breakage in rev 1.2.obrien2001-03-051-0/+7
| | | | We *cannot* remove clause #4 from the Univ of California's license.
* Correct a comment.obrien2001-03-051-1/+1
|
* Fix style breakage in rev 1.3obrien2001-03-051-0/+1
|
* Fix style bug that was introduced.obrien2001-03-051-0/+1
|
* Change mon_decimal_point from "." to "" (N/A>) as it is specified by POSIX forache2001-03-031-1/+1
| | | | POSIX locale.
* Actually implement T_FMT_AMPMache2001-03-021-1/+1
|
* Implement ampm_fmt (%r) per POSIXache2001-03-024-9/+22
|
* Removed duplicate $FreeBSD$.ru2001-03-021-2/+0
|
* Fix setlocale() to conform to the ISO C and POSIX standards.ru2001-03-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The below text is quoted from the latest POSIX draft: : The values of locale categories shall be determined by a precedence : order; the first condition met below determines the value: : : 1. If the LC_ALL environment variable is defined and is not null, : the value of LC_ALL shall be used. : 2. If the LC_* environment variable (LC_COLLATE, LC_CTYPE, LC_MESSAGES, : LC_MONETARY, LC_NUMERIC, LC_TIME) is defined and is not null, the : value of the environment variable shall be used to initialize the : category that corresponds to the environment variable. : 3. If the LANG environment variable is defined and is not null, the : value of the LANG environment variable shall be used. : 4. If the LANG environment variable is not set or is set to the empty : string, the implementation-defined default locale shall be used. The conditions 1 and 2 were interchanged, i.e., LC_* were looked first, then LC_ALL, then LANG (note that LC_ALL and LANG were essentially the same, providing the default, with LC_ALL taking precedence over LANG). Now, LC_ALL and LANG serve the different purposes. LC_ALL overrides any LC_*, and LANG provides the default fallback. Testcase: /usr/bin/env LC_ALL=C LC_TIME=de_DE.ISO_8859-1 /bin/date Should return date in the "C" locale format. Inspired by: date(1) reference page in the Draft
* mdoc(7) police: fix markup.ru2001-03-024-14/+18
|
* Hide the definition of struct __sFILEX and add the neededdeischen2001-03-012-81/+33
| | | | | | | lock definitions to it. flockfile state is now allocated along with the rest of FILE. This eliminates the need for a separate allocation of flockfile state as well as eliminating the mutex/lock used to serialize its allocation.
* s/fstat/_fstat/deischen2001-03-011-1/+1
| | | | Approved by: phantom
* Merge in strtoul.3 rev 1.11 mdoc(7) police changes:obrien2001-02-281-2/+3
| | | | | .Nd line broken in rev 1.10 use .Bx for ``BSD''
* Eliminate mdocNG warnings caused by misplaced or extraneous macro calls.ru2001-02-281-1/+1
|
* Use the new EV_SET macro to insure that all fields in struct keventjlemon2001-02-281-5/+3
| | | | | | | are correctly initialized before use. This should fix the problem with DNS. Pointy hat to: me
* mdoc(7) police: prepare for mdocNG.ru2001-02-281-1/+1
|
* mdoc(7) police: fix the .Nd line broken in previous revision.ru2001-02-281-2/+3
| | | | | | Noticed by: bde Use .Bx for ``BSD''.
* Remove the `r' devices.obrien2001-02-271-5/+2
|
* Use formula with better random distribution for rand()ache2001-02-271-0/+26
| | | | | | Even better formula from random() could not be intetgrated because rand_r() supposed to store its state in the single variable (but table needed for random() algorithm integration).
* I accidently deleted an include when I added the $FreeBSD$ so I couldobrien2001-02-272-0/+4
| | | | check in my changes.
* In soshutdown(), use SHUT_{RD,WR,RDWR} instead of FREAD and FWRITE.ru2001-02-271-23/+30
| | | | Also, return EINVAL if `how' is invalid, as required by POSIX spec.
* Impliment the ISO-C99 strto[u]ll()obrien2001-02-277-175/+111
| | | | and rewrite strto[u]q() in terms of it.
* Use ``.St -p1003.[12]''.ru2001-02-262-6/+18
|
* Use ``.St -p1003.1g''.ru2001-02-262-2/+4
|
* Use ``.St -p1003.1-96''.ru2001-02-2670-210/+140
|
* /^\.St/ s/-iso9945-1/-p1003.1-96/ru2001-02-2615-17/+17
|
* ``.St -p1003.1b'' -> ``.St -p1003.1b-93''.ru2001-02-262-2/+2
|
* .St -ansiC -> .St -isoCru2001-02-26113-117/+117
|
* Document the EINTR error.jasone2001-02-261-0/+2
|
* mdoc(7) police: use .Vt macro.ru2001-02-261-6/+2
|
* Prepare for mdocNG.ru2001-02-261-1/+1
|
* Document various changes to kq:jlemon2001-02-261-10/+44
| | | | | | | - new EV_SET macro, - NOTE_LOWAT option for low water marks on read/write filters, - NOTE_REVOKE for filesystem unmounting (and revoke() calls) - improved API for EVFILT_AIO
* Really set the flags for a private mutex (used by libc/libc_r).deischen2001-02-263-6/+15
|
OpenPOWER on IntegriCloud