summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Nuke non-standard EAI_RESNULL.ume2001-03-172-13/+0
|
* Fix some further style nitsbrian2001-03-171-8/+11
| | | | Pointed out by: bde
* Add a new entrypoint to the hashes in libmd:phk2001-03-1710-14/+114
| | | | | | | | | char * FooFileChunk(const char *filename, char *buf, off_t offset, off_t length) Which only hashes part of a file. Implement FooFile() in terms of this function. Submitted by: roam
* Fix type-odillon2001-03-161-1/+1
| | | | Submitted by: okazaki
* Bump MAX_GLOBENTRIES up to 16384, so it is a power of two. Addjlemon2001-03-161-1/+7
| | | | | | some comments explaining that this is an arbitrary limit. Requested by: jkh
* mdoc(7) police: ``It'' macro does not take argument in -enum lists.ru2001-03-161-2/+2
| | | | | | | (In -mdocNG, this only causes warning. In current implementation, it is fatal.) Pointy hat to: markm (for not checking stderr)
* Correct descriptions of SOCK_RDM and SOCK_SEQPACKET.dd2001-03-161-2/+2
| | | | | | PR: 25797 Submitted by: Yuko Sasaki <yuko@veltec.co.jp> Approved by: nik
* Correct spelling of MNT_ASYNC.dwmalone2001-03-151-2/+2
| | | | | PR: 25835 Submitted by: Tony Finch <dot@dotat.at>
* Limit the number of paths that glob can return to MAX_GLOBENTRIES, whichjlemon2001-03-151-0/+7
| | | | | | | is currently set to 10000. This is intended to prevent glob from running amok when a highly recursive path is provided (such as "../*/../*/../*/...") Reviewed by: Diane Bruce <db@db.net>, jhb
* Mention that MAXHOSTNAMELEN includes space for the NUL.brian2001-03-151-0/+2
|
* Actually commit the new version of trimdomain *blush*brian2001-03-151-70/+80
| | | | Thanks for covering my blunder to: peter
* o To support new EA interface with explicit namespaces, introduce tworwatson2001-03-154-3/+155
| | | | | | | | | | | utility functions which convert between string namespace names and numeric constants used by the interface. Right now, two namespaces are supported, EXTATTR_NAMESPACE_SYSTEM ("system") and EXTATTR_NAMESPACE_USER ("user"). These functions are used by various userland EA utilities, rather than hard coding the routines all over the place. Obtained from: TrustedBSD Project
* Make tdelete(3), tfind(3), and twalk(3) links to tsearch(3).dd2001-03-151-0/+1
| | | | Approved by: nik
* It would help if trimdomain.c was actually committed. This is a stopgappeter2001-03-151-0/+105
| | | | | | world-unbreaker until Brian Somers commits the one he intended to. Pointy Hat to: brian
* Move trimdomain() into it's own source file and tidy things up a bit.brian2001-03-142-61/+5
| | | | | | Fix disorder in the Makefile. Reviewed (mostly) by: bde
* MAXHOSTNAMELEN includes space for the NULbrian2001-03-141-4/+4
| | | | | | | Don't read past the end of the host passed to realhostname() Not objected to by: freebsd-audit Interface disliked by: imp
* o Update copyright dates.rwatson2001-03-1320-196/+214
| | | | | | | | o Rename internal library functions so that they are prefixed with _posix1e or _POSIX1E, removing them from the application namespace (and potential conflict with other ACL functions elsewhere in the system). Obtained from: TrustedBSD Project
* Document the rest of the possible return codes.dd2001-03-131-0/+12
| | | | | PR: 25188 Approved by: nik
* .St -p1003.1g -> .St -p1003.1g-2000.ru2001-03-123-4/+4
|
* Updates for Blowfish password hashing.markm2001-03-111-1/+1
|
* 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''
OpenPOWER on IntegriCloud