summaryrefslogtreecommitdiffstats
path: root/lib/libc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* query ip6.arpa then ip6.int for IPv6 reverse lookup. follows RFC3152.itojun2002-07-291-2/+8
| | | | (need some string-manipulation cleanup near here)
* more snprintf and strlcpy; help from millertderaadt2002-07-251-13/+48
|
* kill more strcpyderaadt2002-07-254-16/+15
|
* cleanupderaadt2002-07-251-23/+26
|
* real vforkmickey2002-07-251-4/+16
|
* add *asprintfderaadt2002-07-241-1/+3
|
* Document that *printf can return -1 on error. This includes snprintf(),millert2002-07-241-1/+2
| | | | though our implementation never does this.
* o Mention that interval timers are cleared (FreeBSD)millert2002-07-241-1/+21
| | | | | | | o Mention that _exit(2) should be used to avoid problems with stdio buffers and atexit(3) o Add STANDARDS section OK deraadt@
* Convert to ANSI function headers and make 'ch' argument int, not char.millert2002-07-242-8/+6
| | | | Noticed by deraadt@
* have _THREAD_PRIVATE_MUTEX for DNS/YP/hosts lookup.itojun2002-07-241-3/+16
|
* correct check for strchr() failure in EXAMPLE; from pinskia@physics.uc.edupvalchev2002-07-201-2/+2
|
* ansideraadt2002-07-2031-166/+81
|
* typomillert2002-07-181-2/+2
|
* ansideraadt2002-07-161-4/+2
|
* suppress ctags warnings; millert@ okmickey2002-07-151-2/+2
|
* indent, and double free fix; millert okderaadt2002-07-141-10/+12
|
* Add a missing check for fts_alloc() returning NULL; Chad Lodermillert2002-07-121-3/+4
|
* Back out revision 1.3; we return EWOULDBLOCK on lock failure, not EAGAIN.millert2002-07-111-9/+2
|
* we can live very well w/ MI ffs()mickey2002-07-082-62/+2
|
* Use qsort() instead of mergesort() since the latter can fail duemillert2002-07-081-2/+18
| | | | | to malloc(). opendir() requires a stable sort so we rig the compare routine to never return 0. From Lars J. Buitinck
* offload the arguments from the stack before performingmickey2002-07-081-9/+7
| | | | | | the copying, initial idea is from freebsd (not fully implemented there, apparently). this also makes bcopy/memcpy a tiny little bit faster.
* Remove kernel support for NTP. ok deraadt@ and tholo@nordin2002-07-063-10/+3
|
* KNFderaadt2002-07-063-64/+67
|
* cope better if realloc fails; better fix than cloder@acm.orgderaadt2002-07-061-1/+2
|
* more refinementderaadt2002-07-051-9/+10
|
* missing priority argument in example; ok millert@stevesk2002-07-021-2/+2
|
* more type pedantitojun2002-07-011-2/+2
|
* lint clean (and don't mixup signed/unsigned). from martin husemannitojun2002-07-011-12/+12
|
* need string.hderaadt2002-07-011-1/+2
|
* Disc -> Disk for EDQUOT; now the error and log messages that appear whenpjanzen2002-07-011-2/+2
| | | | quotas are exceeded are consistent. deraadt@ ok
* Fix strnvis(): don't truncate unnecessarily, set the return value correctlypjanzen2002-07-012-17/+31
| | | | if we had to truncate, and don't NUL-terminate if size == 0.
* typoespie2002-07-011-2/+2
|
* make more pedantic check on strtoul. from deraadt, sync w/kameitojun2002-07-011-8/+12
|
* indentderaadt2002-07-011-1/+2
|
* correct port range check. from deraadt. sync w/kame. bind-bugs have already notified.itojun2002-06-291-2/+3
|
* Replace strtou?q() with the more standard strtou?ll(), using weakmillert2002-06-295-42/+108
| | | | aliases to fake up strtou?q(). espie@ OK.
* minor bump for readpassphrase() flag additionmillert2002-06-281-1/+1
|
* Add RPP_STDIN flag which acts as the converse of RPP_REQUIRE_TTY.millert2002-06-282-6/+11
| | | | Based on a patch from Brett Eldridge.
* Lies, damn lies and getcap(3). The description for cgetclose() wasmillert2002-06-281-4/+12
| | | | | | completely wrong and has apparently caused people to believe that cgetclose() frees memory allocated by cgetent() which is *not* the case.
* %uderaadt2002-06-271-3/+3
|
* KNFderaadt2002-06-271-2/+2
|
* note Supplementary group IDs remain unchanged; ok deraadt@ tholo@stevesk2002-06-271-2/+4
|
* %u and uid/gidderaadt2002-06-271-4/+4
|
* %d -> %u. mostly in #ifdef DEBUG.itojun2002-06-275-34/+34
|
* %d/%u mixup (in #ifdef DEBUG)itojun2002-06-272-5/+5
|
* ntohs() returns unsigned valueitojun2002-06-271-2/+2
|
* correct bad practice in the code - it uses two changing variablesitojun2002-06-262-26/+22
| | | | | | | to manage buffer (buf and buflen). we eliminate buflen and use fixed point (ep) as the ending pointer. this fix is NOT critical.
* avoid remote buffer overrun on hostbuf[]. From: Joost Pol <joost@pine.nl>itojun2002-06-262-43/+33
| | | | | | | | correct bad practice in the code - it uses two changing variables to manage buffer (buf and buflen). we eliminate buflen and use fixed point (ep) as the ending pointer. this fix is critical.
* uid_t is unsignedderaadt2002-06-232-4/+4
|
* use strtok_r() instead of strtok(); millert okderaadt2002-06-221-15/+16
|