summaryrefslogtreecommitdiff
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Flag empty UID entries as errors (to stop typos from turning intoEivind Eklund1999-11-061-1/+6
| | | | | | | alternate root accounts). Notes: svn path=/head/; revision=52921
* Add unsigned char cast to isalphaAndrey A. Chernov1999-11-042-2/+2
| | | | Notes: svn path=/head/; revision=52865
* Add unsigned char cast to isdigitAndrey A. Chernov1999-11-041-1/+1
| | | | Notes: svn path=/head/; revision=52864
* Add unsigned char cast to is[x]digitAndrey A. Chernov1999-11-042-5/+5
| | | | Notes: svn path=/head/; revision=52863
* Add unsigned char cast to isdigitAndrey A. Chernov1999-11-042-2/+2
| | | | Notes: svn path=/head/; revision=52862
* Add unsigned char cast to isupperAndrey A. Chernov1999-11-041-1/+1
| | | | Notes: svn path=/head/; revision=52860
* unsigned char cast to ctype macrosAndrey A. Chernov1999-11-041-1/+3
| | | | Notes: svn path=/head/; revision=52859
* Add unsigned char cast to ctype macros argAndrey A. Chernov1999-11-045-37/+39
| | | | Notes: svn path=/head/; revision=52858
* Add unsigned char cast to isspace argAndrey A. Chernov1999-11-044-7/+15
| | | | Notes: svn path=/head/; revision=52856
* Fix a really lame buglet which broke with IPs of 34Brian Feldman1999-11-031-1/+1
| | | | | | | (ERANGE...) Notes: svn path=/head/; revision=52820
* It is no longer necessary to prepend underscores to external symbols underJoerg Wunsch1999-11-021-24/+8
| | | | | | | | | ELF. Submitted by: A.Leidinger@WJPServer.CS.Uni-SB.de (Alexander Leidinger) Notes: svn path=/head/; revision=52802
* Document that bind(2) can fail with EAGAIN.Nik Clayton1999-11-011-0/+3
| | | | | | | | | PR: docs/14173 docs/14181 Submitted by: Charles Randall <crandall@matchlogic.com> Submitted by: Kelly Yancey <kbyanc@posi.net> Notes: svn path=/head/; revision=52765
* Allow whitespace termination. Internal use of /etc/resolv.conf reliesBrian Feldman1999-10-311-3/+6
| | | | | | | on this, and who knows what else would, too... Notes: svn path=/head/; revision=52708
* This is the new inet_addr/inet_aton with proper error checking. ThisBrian Feldman1999-10-311-65/+69
| | | | | | | | | | | | should close all outstanding PRs on incorrect inet_aton behavior, and since it has a decent parsing routine, doesn't allow some hysterically working behavior. PR: 13628 Submitted by: Adrian Chadd <adrian@FreeBSD.org> Notes: svn path=/head/; revision=52707
* mdoc(7)'fyAlexey Zelkin1999-10-303-9/+21
| | | | Notes: svn path=/head/; revision=52671
* Add HISTORY.David E. O'Brien1999-10-291-0/+8
| | | | Notes: svn path=/head/; revision=52629
* "S" comes before "U"...David E. O'Brien1999-10-251-2/+2
| | | | | | | Alphabet taught to Green by: obrien Notes: svn path=/head/; revision=52474
* Remove UNSAFE_WARN ifdef for mktemp warning (never defined)Andrey A. Chernov1999-10-243-6/+6
| | | | | | | Use _mktemp internally Notes: svn path=/head/; revision=52466
* YP/NIS code: remove unnecessary endgrent() calls which can cause fail onAndrey A. Chernov1999-10-161-5/+3
| | | | | | | | | next try over chroot (descriptor closed). getgrnam() used already handles endgrent() properly and honors _gr_stayopen. Automatically call setgroupent(1) when _pw_stayopen is set (for YP/NIS code). Notes: svn path=/head/; revision=52310
* Fix longstanding bug "unused stayopen" introduced in rev1.11Andrey A. Chernov1999-10-161-2/+6
| | | | | | | PR: 14201 Notes: svn path=/head/; revision=52306
* Remove osig* from NOASM. It bogus now.Marcel Moolenaar1999-10-142-4/+2
| | | | Notes: svn path=/head/; revision=52232
* In longjmp, call sigreturn instead of osigreturn. The latter isn'tJohn Polstra1999-10-141-1/+1
| | | | | | | | | visible from userland any more. Reviewed by: luoqi Notes: svn path=/head/; revision=52224
* Not needed now the syscall matches the prototype.Marcel Moolenaar1999-10-123-117/+0
| | | | Notes: svn path=/head/; revision=52151
* \begin{quote}Marcel Moolenaar1999-10-102-2/+2
| | | | | | | | | | | | | | setjmp() gets the jmp_buf pointer from the wrong place (the place where the return address is) in the shlib case, and uses it (only) to fetch the current signal mask to address (return_address + 28). This address is normally read-only (I hope), so the sigprocmask() call has no effect except to return an error code. \end{quote} Submitted by: bde Notes: svn path=/head/; revision=52083
* Remove syscall wrappers.Marcel Moolenaar1999-10-095-192/+4
| | | | Notes: svn path=/head/; revision=52062
* Remove old sig* wrappers.Doug Rabson1999-10-091-2/+1
| | | | Notes: svn path=/head/; revision=52056
* Correct the description of the timeout argument. I've examinedWes Peters1999-10-091-0/+10
| | | | | | | | | | | the code, which seems to implement the POSIX requirements, and have described the behavior here. Basically, it behaves the same as select(2). Noticed by: John Polstra Notes: svn path=/head/; revision=52041
* Fix sigvec(). When the sigset_t changes came in, it was alteredJohn Polstra1999-10-091-6/+17
| | | | | | | | | | | | to call osigaction(). But that's wrong because it causes the handler to receive a struct osigcontext instead of the expected struct sigcontext. Use sigaction() instead, copying the compatible portion of the signal mask. Reviewed by: marcel Notes: svn path=/head/; revision=52040
* o Add $FreeBSD$ as a rcsid instead of in a commentMarcel Moolenaar1999-10-021-31/+28
| | | | | | | | | | o Remove bitrotted #undef directives o Actually set errno now and order the functions Submitted by: bde Notes: svn path=/head/; revision=51872
* o Add $FreeBSD$ as a rcsid instead of in a comment.Marcel Moolenaar1999-10-021-5/+12
| | | | | | | | | | o Fix formatting o Return the error if sigprocmask fails instead of undefined data. Submitted by: bde Notes: svn path=/head/; revision=51870
* Fix misspelling of the "addq" opcode.John Polstra1999-09-291-1/+1
| | | | Notes: svn path=/head/; revision=51802
* sigset_t change (part 5 of 5)Marcel Moolenaar1999-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. Notes: svn path=/head/; revision=51794
* Back out my backout, it was already posix compliant. Any new fields arePeter Wemm1999-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). Notes: svn path=/head/; revision=51764
* Fix previous commit. The standards specifically say: "The structurePeter Wemm1999-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. Notes: svn path=/head/; revision=51762
* Explicitly use sigemptyset to clear a sigset_t. ExplicitMarcel Moolenaar1999-09-281-1/+2
| | | | | | | initialization of sa_flags allows us to lose the bzero. Notes: svn path=/head/; revision=51759
* Explicitly use sigemptyset to clear a sigset_t. ExplicitMarcel Moolenaar1999-09-281-1/+4
| | | | | | | | | initialization of sa_flags allows us to lose the bzero. $FreeBSD$ tag added. Notes: svn path=/head/; revision=51758
* Xref strlcat, strlcpyWarner Losh1999-09-282-2/+5
| | | | | | | Inspired by: NetBSD commit message describing this. Notes: svn path=/head/; revision=51743
* Change .Fn to .Xr on a couple of lines where abort(3) is referenced.Chris Costello1999-09-251-2/+2
| | | | Notes: svn path=/head/; revision=51667
* mdoc(7)'fyAlexey Zelkin1999-09-231-5/+6
| | | | Notes: svn path=/head/; revision=51610
* Nuke dlopen.3 -> dlversion.3 link.Alexey Zelkin1999-09-231-2/+1
| | | | | | | | | This function was removed by jdp in rev.1.5 of dlopen.3 Forgoten by: jdp Notes: svn path=/head/; revision=51605
* Add gencat(1) to SEE ALSO section.Alexey Zelkin1999-09-223-0/+3
| | | | | | | | PR: docs/13658 Submitted by: Zahemszky Gabor <zgabor@code.hu> Notes: svn path=/head/; revision=51577
* Add links for errc.3, verrc.3, warnc.3, vwarnc.3.Alexey Zelkin1999-09-221-2/+3
| | | | | | | | PR: docs/13222 Submitted by: Ben Smithurst <ben@scientia.demos.co.uk> Notes: svn path=/head/; revision=51571
* If `who' was not specified, set the appropriate bits as the chmod(1)Ruslan Ermilov1999-09-221-2/+6
| | | | | | | | | manual page states. `chmod +s foo' and `chmod +t foodir' now work. PR: 13889 Notes: svn path=/head/; revision=51549
* mdoc(7)'fyAlexey Zelkin1999-09-211-1/+1
| | | | | | | Reviewed by: mpp Notes: svn path=/head/; revision=51518
* Fixed a typo (well, format-o) in yesterday's edits.Wes Peters1999-09-211-2/+3
| | | | | | | Spotted by: John Polstra <jdp@polstra.com> (again) Notes: svn path=/head/; revision=51509
* Fixed the description of when and why aio_suspend returns.Wes Peters1999-09-201-11/+15
| | | | | | | | | | Also spelled out the return values and conditions a little better. Noticed by: John Polstra <jdp@polstra.com> Notes: svn path=/head/; revision=51470
* Correct spelling : ascii -> ASCIIAlexey Zelkin1999-09-201-1/+1
| | | | | | | | | PR: docs/13702 Submitted by: Stephen J. Roznowski <sjr@home.com> Reviewed by: mpp Notes: svn path=/head/; revision=51457
* Fix typoAlexey Zelkin1999-09-191-1/+1
| | | | | | | | PR: docs/13814 Submitted by: Alex Vasylenko <lxv@mix.nest.org> Notes: svn path=/head/; revision=51419
* Add a version number field to the jail(2) argument so that future changesPoul-Henning Kamp1999-09-191-3/+14
| | | | | | | can be handled intelligently. Notes: svn path=/head/; revision=51398
* __collate_substitute() do something non-trivial only for German. For everyoneDmitrij Tejblum1999-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. Notes: svn path=/head/; revision=51216