summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* o Add $FreeBSD$ as a rcsid instead of in a commentmarcel1999-10-021-31/+28
| | | | | | | o Remove bitrotted #undef directives o Actually set errno now and order the functions Submitted by: bde
* o Add $FreeBSD$ as a rcsid instead of in a comment.marcel1999-10-021-5/+12
| | | | | | | o Fix formatting o Return the error if sigprocmask fails instead of undefined data. Submitted by: bde
* Fix misspelling of the "addq" opcode.jdp1999-09-291-1/+1
|
* sigset_t change (part 5 of 5)marcel1999-09-2912-91/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ----------------------------- Most of the userland changes are in libc. For both the alpha and the i386 setjmp has been changed to accomodate for the new sigset_t. Internally, libc is mostly rewritten to use the new syscalls. The exception is in compat-43/sigcompat.c The POSIX thread library has also been rewritten to use the new sigset_t. Except, that it currently only handles NSIG signals instead of the maximum _SIG_MAXSIG. This should not be a problem because current applications don't use any signals higher than NSIG. There are version bumps for the following libraries: libdialog libreadline libc libc_r libedit libftpio libss These libraries either a) have one of the modified structures visible in the interface, or b) use sigset_t internally and may cause breakage if new binaries are used against libraries that don't have the sigset_t change. This not an immediate issue, but will be as soon as applications start using the new range to its fullest. NOTE: libncurses already had an version bump and has not been given one now. NOTE: doscmd is a real casualty and has been disconnected for the moment. Reconnection will eventually happen after doscmd has been fixed. I'm aware that being the last one to touch it, I'm automaticly promoted to being maintainer. According to good taste this means that I will receive a badge which either will be glued or mechanically stapled, drilled or otherwise violently forced onto me :-) NOTE: pcvt/vttest cannot be compiled with -traditional. The change cause sys/types to be included along the way which contains the const and volatile modifiers. I don't consider this a solution, but more a workaround.
* Back out my backout, it was already posix compliant. Any new fields arepeter1999-09-281-1/+0
| | | | | | required to be "announced" by a new bit in sa_flags to indicate the program is aware of and has taken care of them. eg: SA_SIGINFO means the program has used the sa_siginfo field (versus sa_handler).
* Fix previous commit. The standards specifically say: "The structurepeter1999-09-281-0/+1
| | | | | | | | | sigaction, used to describe an action to be taken, is defined in the header <signal.h> to include at least the following members:" ^^^^^^^^ A sigaction defined on stack with essentially random contents may have just about anything underneath fields that the program doesn't know about. It is not safe to delete the bzero.
* Explicitly use sigemptyset to clear a sigset_t. Explicitmarcel1999-09-281-1/+2
| | | | initialization of sa_flags allows us to lose the bzero.
* Explicitly use sigemptyset to clear a sigset_t. Explicitmarcel1999-09-281-1/+4
| | | | | | initialization of sa_flags allows us to lose the bzero. $FreeBSD$ tag added.
* Xref strlcat, strlcpyimp1999-09-282-2/+5
| | | | Inspired by: NetBSD commit message describing this.
* Change .Fn to .Xr on a couple of lines where abort(3) is referenced.chris1999-09-251-2/+2
|
* mdoc(7)'fyphantom1999-09-231-5/+6
|
* Nuke dlopen.3 -> dlversion.3 link.phantom1999-09-231-2/+1
| | | | | | This function was removed by jdp in rev.1.5 of dlopen.3 Forgoten by: jdp
* Add gencat(1) to SEE ALSO section.phantom1999-09-223-0/+3
| | | | | PR: docs/13658 Submitted by: Zahemszky Gabor <zgabor@code.hu>
* Add links for errc.3, verrc.3, warnc.3, vwarnc.3.phantom1999-09-221-2/+3
| | | | | PR: docs/13222 Submitted by: Ben Smithurst <ben@scientia.demos.co.uk>
* If `who' was not specified, set the appropriate bits as the chmod(1)ru1999-09-221-2/+6
| | | | | | manual page states. `chmod +s foo' and `chmod +t foodir' now work. PR: 13889
* mdoc(7)'fyphantom1999-09-211-1/+1
| | | | Reviewed by: mpp
* Fixed a typo (well, format-o) in yesterday's edits.wes1999-09-211-2/+3
| | | | Spotted by: John Polstra <jdp@polstra.com> (again)
* Fixed the description of when and why aio_suspend returns.wes1999-09-201-11/+15
| | | | | | | Also spelled out the return values and conditions a little better. Noticed by: John Polstra <jdp@polstra.com>
* Correct spelling : ascii -> ASCIIphantom1999-09-201-1/+1
| | | | | | PR: docs/13702 Submitted by: Stephen J. Roznowski <sjr@home.com> Reviewed by: mpp
* Fix typophantom1999-09-191-1/+1
| | | | | PR: docs/13814 Submitted by: Alex Vasylenko <lxv@mix.nest.org>
* Add a version number field to the jail(2) argument so that future changesphk1999-09-191-3/+14
| | | | can be handled intelligently.
* __collate_substitute() do something non-trivial only for German. For everyonedt1999-09-123-6/+25
| | | | | | | | else, it is equivalent to strdup(). So, we will check if the substitution tables are trivial at the load time, and possibly save 2 calls to __collate_substitute() in strcoll(). Still, __collate_substitute() should not exist.
* Reduce time of __collate_substitute() from O(strlen(s)^2) to O(strlen(s)).dt1999-09-121-8/+11
| | | | | | | | Other minor optimizations. I got ~30% speedup in strcoll() for 50 char strings, ~40% speedup for 100 char strings, and unmeasurable speedup for 1M strings. Collates are still terribly slow. To make them reasonable fast, __collate_substitute() should be killed.
* Implement new format specifier for strftime: %OB, alternative nationaldt1999-09-113-19/+58
| | | | | | | | | representation of the full month name. In the Russian locale, this alternative will be "nominative case", useful when the date designate month as a whole. E.g. month heading in a calendar. I hope it can be useful for some other locales too. Discussed with: wollman, ache
* Add FreeBSD history in 'HISTORY'alfred1999-09-111-1/+4
| | | | Pointed out by: obrien
* Fixed disordering in previous commit.bde1999-09-111-1/+1
|
* Document fhopen, fhstat, and fhstatfs syscalls.alfred1999-09-112-1/+137
| | | | Obtained from: NetBSD
* sync with src/sys/sys/mount.halfred1999-09-101-1/+2
|
* Add aio_{cancel,error,return,suspend,write} into the mix.billf1999-09-091-1/+3
| | | | | Submitted by: Dan Nelson <dnelson@emsphone.com> Forgotten by: mpp
* - add reference to siginterrupt(3)ru1999-09-061-32/+35
| | | | - mdoc(7) fixes
* Don't forget to reset _pw_stepping_yp to 0 before returning. Fixes a bugdes1999-09-061-0/+1
| | | | | | | | where getpwent() would ignore wildcard entries that followed a netgroup entry. PR: misc/12999 Submitted by: David Hedley <david@inty.net>
* Tidy up $Log$ debris.peter1999-09-051-32/+2
|
* Some style and "look" fixesphantom1999-09-059-12/+27
| | | | Reviewed by: mpp
* Name Description (.Nd macro) added.phantom1999-09-051-6/+7
| | | | | | | | Style and punctuation errors fixes. ERRORS section included to RETURN VALUES because it's describing return values instead of errors and their handling. Reviewed by: mpp
* mdoc(7) style fix.phantom1999-09-051-2/+4
| | | | | | Correct RB_* values list bounds. Reviewed by: mpp
* mdoc(7) style fix: FreeBSD -> .Fxphantom1999-09-057-7/+14
| | | | Reviewed by: mpp
* Remove useless .Fn macro suffixphantom1999-09-051-1/+1
| | | | Reviewed by: mpp
* mdoc style fix.phantom1999-09-051-4/+2
| | | | Reviewed by: mpp
* mdoc(7) style fixesphantom1999-09-051-2/+4
| | | | Reviewed by: mpp
* Spelling and grammar error fix.phantom1999-09-041-2/+8
| | | | | | | | mdoc(7)'fy. PR: docs/13406 Submitted by: Garret Woolman <woolman@khavrinen.lcs.mit.edu> Reviewed by: mpp
* Use definitions provided in sysarch.h for args structures.luoqi1999-09-025-41/+12
| | | | Reviewed by: marcel
* Fix the root cause of the fts buffer overflow. This is a temporaryimp1999-09-022-10/+46
| | | | | | | | | patch to stop the core dumps while others come up with a better reviewed patch which may also fix other problems. We do illegal pointer arithmetic, but it should be OK since FreeBSD only supports machines with flat address spaces. Submitted by: bde
* Back out previous commit. I mistook passing commentary from bde forsheldonh1999-08-311-9/+6
| | | | | | review. Requested by: bde
* Only issue a warning for the first occurrence of a UID > USHRT_MAX andsheldonh1999-08-301-6/+9
| | | | | | | the first occurrence of a GID > USHRT_MAX. PR: 13344 Reviewed by: bde
* Add $FreeBSD$ lines to man pages that are missing them to makempp1999-08-281-0/+2
| | | | | | | it easier for translation teams. PR: docs/13418 Submitted by: Alexey Zelkin <phantom@cris.net>
* $Header$ -> $FreeBSD$peter1999-08-284-4/+8
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* $Id$ -> $FreeBSD$peter1999-08-28686-765/+765
|
* $Id$ -> $FreeBSD$peter1999-08-273-3/+3
|
* Remove some 4.3BSDish anacronisims that stated that it was anmpp1999-08-275-19/+5
| | | | | | | error for a pathname to contain a character with the high-order bit set. Inspired by: joerg's previous commit
OpenPOWER on IntegriCloud