Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Document behavior when no conversion could be performed. Adapted | millert | 2007-06-29 | 2 | -5/+17 |
| | | | | from FreeBSD. With help from jmc@. | ||||
* | ``dot'' notation | jmc | 2007-06-12 | 1 | -19/+9 |
| | | | | | | | is more readable than `.' notation zap some silly .Tn whilst here; | ||||
* | _FD_LOCK/UNLOCK() is libpthread specific and not needed for librthread, so | kurt | 2007-06-05 | 1 | -21/+35 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | isolate its usage to libpthread only and replace with generic non-static mutex support in the one place it is needed: - remove _FD_LOCK/UNLOCK from lseek and ftruncate in libc and make the functions weak so that libpthread can override with its own new versions that do the locking. - remove _thread_fd_lock/unlock() weak functions from libc and adjust libpthread for the change. - add generic _thread_mutex_lock/unlock/destroy() weak functions in libc to support non-static mutexes in libc and add libpthread and librthread implementations for them. libc can utilize non-static mutexes via the new _MUTEX_LOCK/UNLOCK/DESTROY() macros. Actually these new macros can support both static and non-static mutexes but currently only using them for non-static. - make opendir/closedir/readdir/readdir_r/seekdir/telldir() thread-safe for both thread libraries by using a non-static mutex in the struct _dirdesc (typedef DIR), utilizing it in the *dir functions and remove remaining and incorrect _FD_LOCK/UNLOCK() use in libc. - add comments to both thread libraries to indicate libc depends on the current implementation of static mutex initialization. suggested by marc@ - major bump libc and libpthread due to function removal, structure change and weak symbol conversions. okay marc@, tedu@ | ||||
* | remove ipx-related stuff. objections nobody. major bump by kurt in a few | henning | 2007-06-05 | 4 | -385/+3 |
| | |||||
* | convert to new .Dd format; | jmc | 2007-05-31 | 105 | -210/+210 |
| | |||||
* | More comment typos from Diego Casati. Including winners like funtion, allmost, | krw | 2007-05-26 | 1 | -1/+1 |
| | | | | oustside, seqencer, toghether, nessissary, etc. | ||||
* | Typos. | ray | 2007-05-20 | 1 | -3/+3 |
| | | | | OK jmc@. | ||||
* | Remove no-op code. From tbert. | ray | 2007-05-18 | 1 | -3/+1 |
| | | | | OK moritz@ and jaredy@ | ||||
* | Improve reentrancy by not using global variable. Removes two | ray | 2007-05-17 | 1 | -31/+11 |
| | | | | | | wrappers around fopen/fclose. From tbert. OK millert@, tedu@, and itojun@. | ||||
* | Add basename(3) and dirname(3) regression tests, from tbert. | ray | 2007-05-17 | 5 | -3/+170 |
| | | | | OK otto@. | ||||
* | Wrap some functions, labels, and variables in #ifdefs corresponding | ray | 2007-05-16 | 2 | -2/+8 |
| | | | | | | | to #ifdefs where they are used. Found by lint by bret dot lambert at gmail. OK deraadt@. | ||||
* | Use size_t for strlen results. | ray | 2007-05-12 | 1 | -4/+6 |
| | | | | OK moritz@. | ||||
* | Clean up macros according to style. From tbert <bret dot lambert at gmail>. | ray | 2007-05-12 | 1 | -27/+27 |
| | | | | OK moritz@ and jaredy@. | ||||
* | Use syslog_r instead of syslog in getaddrinfo. Slowly making | ray | 2007-05-10 | 1 | -4/+9 |
| | | | | | | getaddrinfo reentrant. OK millert@ and deraadt@. | ||||
* | macros at start of line require a `.'; | jmc | 2007-05-02 | 1 | -2/+2 |
| | |||||
* | Document the lack of error return value in arc4random. | pyr | 2007-05-02 | 1 | -1/+4 |
| | | | | Sync the documentation in getpid with arc4random's format. | ||||
* | -These option are ignored | jmc | 2007-04-21 | 1 | -2/+2 |
| | | | | +These options are ignored | ||||
* | Support for optional args separated with whitespace was removed | millert | 2007-04-10 | 1 | -17/+1 |
| | | | | some time ago--it caused too many problems. | ||||
* | Add proper checks against fgets failure. From Charles Longeau. | ray | 2007-04-06 | 2 | -2/+4 |
| | | | | OK moritz@, millert@, and jaredy@. | ||||
* | Add the cRLSign bit by default, so that certs generated using this file | cloder | 2007-03-28 | 1 | -1/+1 |
| | | | | | | will be able to sign CRLs. OK reyk, hshoexer, millert | ||||
* | remove some bogus *p tests from charles longeau | tedu | 2007-03-20 | 6 | -10/+10 |
| | | | | ok deraadt millert | ||||
* | Get rid of useless #if 0 block, especially since the code is included | ray | 2007-03-19 | 1 | -5/+1 |
| | | | | | | immediately after. OK millert@. | ||||
* | If NLS is disabled, strerror does not print the correct error string. | bluhm | 2007-03-01 | 1 | -2/+2 |
| | | | | | | No binary change with NLS enabled. ok otto millert espie | ||||
* | usage(): add -P and tweak -X; from Igor Sobrado | jmc | 2007-02-20 | 1 | -3/+3 |
| | |||||
* | Change hard coded numbers to sizeof(buf). Also change some | ray | 2007-02-20 | 1 | -3/+3 |
| | | | | | | | | sizeof(buf) - 1 to sizeof(buf), since fgets takes the whole buffer size. Based on diff from Charles Longeau <chl at tuxfamily dot org> long ago. OK millert@. | ||||
* | wording fix from wiz@netbsd, -r1.11; | jmc | 2007-02-19 | 1 | -2/+2 |
| | |||||
* | from hubertf@netbsd: | jmc | 2007-02-19 | 1 | -6/+18 |
| | | | | | | | | | | Try to tell what this really does. Including a BUGS section on why it doesn't. *roff code by wiz@, with some input from Slava Semushin <slava.semushin@gmail.com> ok millert | ||||
* | strlen(3) returns size_t, not int. | ray | 2007-02-18 | 1 | -14/+16 |
| | | | | | | Suggested by itojun@ in response to my getaddrinfo fixes. OK millert@. | ||||
* | strlen(3) returns size_t. | ray | 2007-02-18 | 1 | -4/+6 |
| | | | | OK itojun@. | ||||
* | Remove duplicate code. No functional change. | ray | 2007-02-17 | 1 | -39/+22 |
| | | | | OK itojun@, moritz@, and millert@. | ||||
* | remove two expired certificates, diff from <Christian_Rusch@genua.de> | grunk | 2007-02-17 | 1 | -97/+0 |
| | | | | ok jakob@ | ||||
* | Remove two mutexes by replacing getservbyname() and getservbyport() | ray | 2007-02-15 | 2 | -32/+29 |
| | | | | | | calls with their reentrant versions. OK millert@. | ||||
* | correct a mistake concerning ifa_data; | jmc | 2007-02-14 | 1 | -6/+5 |
| | | | | found by Srebrenko Sehic, corrected by millert and claudio; | ||||
* | remove size_t and int mixup. same as getaddrinfo.c 1.30 -> 1.31. | itojun | 2007-02-14 | 1 | -5/+2 |
| | |||||
* | Remove int pretending to be a size_t. | ray | 2007-02-14 | 1 | -5/+2 |
| | | | | OK millert@. | ||||
* | get cheaper random bytes, less waste and no getpid() calls, which are | otto | 2007-02-12 | 1 | -2/+3 |
| | | | | done by arc4random(); ok millert@ deraadt@ | ||||
* | provide an libc internal interface to get random bytes, to be used by malloc | otto | 2007-02-12 | 1 | -3/+12 |
| | | | | to get random data without calling getpid(), ok millert@ deraadt@ | ||||
* | consistency tweak; | jmc | 2007-02-07 | 1 | -2/+2 |
| | |||||
* | fix some dodgy displays; | jmc | 2007-02-06 | 1 | -2/+2 |
| | |||||
* | sync with the code: int -> intmax_t | steven | 2007-01-16 | 1 | -3/+3 |
| | | | | ok jmc@ | ||||
* | advertising clauses that can be dropped | deraadt | 2007-01-08 | 1 | -6/+2 |
| | |||||
* | Fix format string misuse in kssl_err_set(), which is not | moritz | 2007-01-03 | 1 | -1/+1 |
| | | | | | | called with user-supplied strings at the moment. ok markus@ | ||||
* | RFC4291 declares that IPv6 numeric representation must have no more than | itojun | 2006-12-30 | 1 | -3/+8 |
| | | | | 4 hex digits between colons. deraadt ok | ||||
* | a failed mmap returns MAP_FAILED, not NULL. found while exercising pax | otto | 2006-12-19 | 1 | -3/+3 |
| | | | | in low-mem conditions; ok dim@ | ||||
* | tweak the text on deprecated functions, after some help from tom; | jmc | 2006-12-09 | 2 | -12/+14 |
| | |||||
* | various tweaks; | jmc | 2006-12-09 | 1 | -18/+17 |
| | |||||
* | various tweaks; my apologies to itojun for forgetting to | jmc | 2006-12-09 | 1 | -26/+28 |
| | | | | send him feedback for these | ||||
* | switch IPv6 advanced API from RFC2292 to RFC3542 (2292 is superseded by 3542). | itojun | 2006-12-09 | 7 | -5/+971 |
| | | | | | | | | | | the kernel still handles RFC2292 set/getsockopts, so that compiled binary has no trouble running. userland sees RFC3542 symbols only on header file so new code has to use RFC3542 API. bump libc shlib minor for function additions. tested on i386/amd64 by jmc, i386 by brad. checked by deraadt. | ||||
* | return is not a function. (cosmetic) | itojun | 2006-12-08 | 1 | -28/+28 |
| | |||||
* | tweaks; from claus assmann (pr #5317); | jmc | 2006-12-02 | 1 | -3/+3 |
| |