Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | inet_nsap_ntoa() and inet_nsap_addr() go away. Unused APIs from darker | 2013-12-17 | 2 | -100/+4 | ||
| | | | | days. | |||||
* | f_prealloc() goes away. Comment from the original source file: | 2013-12-17 | 1 | -24/+1 | ||
| | | | | | * XXX. Force immediate allocation of internal memory. Not used by stdio, * but documented historically for certain applications. Bad applications. | |||||
* | Add tcgetsid() now that it is in POSIX base. Man page adapted from | 2013-12-17 | 3 | -3/+118 | ||
| | | | | NetBSD (thorpej). OK kettenis@ | |||||
* | POSIX no longer requires sys/types.h be included to get the pid_t | 2013-12-12 | 2 | -6/+4 | ||
| | | | | definition, and neither do our headers. OK espie@ guenther@ | |||||
* | no more regexp(3), so point to regex(3); | 2013-12-05 | 1 | -3/+3 | ||
| | | | | as advised by deraadt | |||||
* | express final disapproval of the interfaces in libcompat, such as | 2013-12-04 | 1 | -3/+2 | ||
| | | | | | | | | | them ftime(), gtty(), stty(), re_comp(), cuserid() and others. Discussion and ongoing work to fix the ports tree from many, especially naddy. ok naddy [There is a bit more cleanup possible after that, but this is considered the current safe step] | |||||
* | tweak from deraadt; | 2013-12-04 | 1 | -2/+2 | ||
| | ||||||
* | update BUGS to reflect previous; as advised by | 2013-12-04 | 1 | -4/+3 | ||
| | | | | guenther and deraadt | |||||
* | Remove string.h dependency from sys/select.h; from FreeBSD, tweaked | 2013-12-03 | 1 | -6/+3 | ||
| | | | | | | by deraadt@. Sync man page. ok guenther@, deraadt@ | |||||
* | CIRCLEQ begone. | 2013-12-02 | 1 | -22/+21 | ||
| | | | | ok miller@ | |||||
* | Eliminate references to the basep argument which was removed in the | 2013-12-01 | 1 | -12/+8 | ||
| | | | | | | | | change to getdents(). Indicate that d_off values are valid for seeking on directories. problem noted by Jared Yanovich (slovichon (at) gmail.com) ok jmc@ | |||||
* | The print() routine here can be passed at least some of the non-characters | 2013-11-28 | 1 | -6/+17 | ||
| | | | | | | | | | | OUT to EOW, making its domain CHAR_MIN...CODEMAX. It makes sense to have pchar() take the same domain and output those non-characters appropriately, so the (unsigned char) cast for isprint() goes in pchar(). Constipate pchar() while we're here, and let print() pass through NUL to it, as it knows how to output it unambiguously. ok otto@ millert@ | |||||
* | 1 << 31 cleanup. Eitan Adler pointed out that there has been a | 2013-11-26 | 3 | -10/+10 | ||
| | | | | | resurrection of the bad idiom in the tree. sufficient review by miod, kettenis, tedu | |||||
* | unsigned char cast for ctype; ok guenther | 2013-11-26 | 1 | -2/+2 | ||
| | ||||||
* | unsigned char changes for ctype | 2013-11-25 | 1 | -10/+11 | ||
| | | | | re-re-reviewed by krw | |||||
* | use an unsigned char instead, to avoid lots of casts | 2013-11-25 | 1 | -2/+2 | ||
| | ||||||
* | Use iswupper() for wide characters, not isupper(); ok deraadt | 2013-11-25 | 1 | -3/+2 | ||
| | ||||||
* | most obvious unsigned char casts for ctype | 2013-11-24 | 14 | -65/+85 | ||
| | | | | ok jca krw ingo | |||||
* | doc nit okay millert@ | 2013-11-22 | 1 | -3/+3 | ||
| | ||||||
* | In getdiskbyname() set partition size with DL_SETPSIZE(). Make sure | 2013-11-16 | 1 | -2/+4 | ||
| | | | | | | d_secperunith and p_offseth are set to 0 since they can't be read from disktab and lower 32 bits (d_secperunit and p_offset) are read directly from the input. | |||||
* | getpwnam_r() and getpwuid_r() reopen the passwd even when called with | 2013-11-15 | 1 | -7/+3 | ||
| | | | | | | | setpassent(stayopen). Bug found and fixed by Erik Lax <erik-AT-halon-DOT-se> ok millert@ guenther@ | |||||
* | oops should not be static | 2013-11-13 | 1 | -2/+2 | ||
| | ||||||
* | bring in proto | 2013-11-13 | 1 | -1/+2 | ||
| | ||||||
* | bring in math.h to provide prototypes | 2013-11-13 | 3 | -3/+6 | ||
| | ||||||
* | remove dead files | 2013-11-12 | 11 | -7785/+0 | ||
| | | | | ok deraadt@ | |||||
* | put the _readdir_unlocked() prototype in an obvious place | 2013-11-12 | 2 | -4/+4 | ||
| | ||||||
* | ANSI prototypes | 2013-11-12 | 1 | -3/+3 | ||
| | ||||||
* | a __fputwc_unlock() prototype was available in fvwrite.h, so use that | 2013-11-12 | 4 | -8/+7 | ||
| | ||||||
* | both files contain a function which should only be static. | 2013-11-12 | 2 | -4/+4 | ||
| | | | | not cranking libc over this (unless an issue is found in ports) | |||||
* | permute15() should be static. Not cranking libc now, because it is | 2013-11-12 | 1 | -2/+2 | ||
| | | | | not urgent. | |||||
* | insert the proper arguments into a prototype | 2013-11-12 | 1 | -2/+2 | ||
| | ||||||
* | avoid arithetic on void * | 2013-11-12 | 1 | -4/+4 | ||
| | | | | ok guenther otto | |||||
* | ANSI prototype | 2013-11-12 | 1 | -2/+2 | ||
| | ||||||
* | pull in missing includes (math.h, unistd.h, stdlib.h) needed for | 2013-11-12 | 8 | -8/+17 | ||
| | | | | prototypes | |||||
* | pull in stdlib.h as required | 2013-11-12 | 1 | -1/+2 | ||
| | ||||||
* | add proto for amd64 case; unify otherwise | 2013-11-12 | 2 | -3/+5 | ||
| | ||||||
* | ttyslot() needs <stdlib.h> | 2013-11-12 | 1 | -2/+3 | ||
| | | | | ok guenther | |||||
* | Nowadays, seekdir(3) doesn't call _readdir_unlocked(). | 2013-11-06 | 2 | -14/+7 | ||
| | | | | | | Consequently, the "skipdeleted" argument is always == 1. Remove it, effectively reverting readdir.c rev. 1.14. ok millert@ guenther@ | |||||
* | Search the userland buffer of dirent structures before falling back to | 2013-11-06 | 2 | -26/+46 | ||
| | | | | | | | getdents(2). No functional change, but considerable speedup in many cases, see http://marc.info/?l=openbsd-tech&m=138369623117934 for some approximate numbers. ok guenther@, "good diagnosis" deraadt@ | |||||
* | Cleanup, no functional change: | 2013-11-05 | 4 | -41/+12 | ||
| | | | | | | | | 1. avoid code duplication in rewinddir() by calling seekdir() directly 2. move __seekdir() into seekdir() and _telldir_unlocked() into telldir() Both functions were called from nowhere else. 3. remove some unused #include directives and one unused function prototype ok otto@ millert@ | |||||
* | Make sure seekdir(3) works even when dirp->dd_buf still contains some | 2013-11-05 | 1 | -1/+2 | ||
| | | | | | | | | | | | | | pending entries: At the time of the lseek(2), also invalidate the buffer in order to force getdents(2) during the next readdir(3). Because this throws away buffered data that could still be used in some cases, this is not particularly efficient, but at least it works; i will suggest optimizations soon. Bug found when investigating perl-5.18.1/t/op/threads-dirh.t that was reported broken by Andrew Fresh <andrew at afresh1 dot com>. ok guenther@ deraadt@ | |||||
* | Oops, utime() is section 3, not 2 | 2013-11-02 | 1 | -2/+2 | ||
| | | | | noted by jmc@ | |||||
* | Fix lie that predated NetBSD: the struct stat time padding affected | 2013-11-02 | 1 | -3/+3 | ||
| | | | | | | utime() usage, not utimes() ok deraadt@ | |||||
* | out of place word; discussed with jmc and guenther | 2013-11-02 | 1 | -2/+2 | ||
| | ||||||
* | .Xr clock_gettime | 2013-11-02 | 4 | -8/+12 | ||
| | | | | okay deraadt@ | |||||
* | finish xref linking clock_gettime and getitimer | 2013-11-02 | 2 | -4/+7 | ||
| | ||||||
* | Pull in gdtoa.h instead of declaring __dtoa() and __freedtoa() directly | 2013-11-01 | 4 | -13/+8 | ||
| | | | | ok deraadt@ | |||||
* | kill kame version symbols and sysctl | 2013-10-28 | 1 | -7/+2 | ||
| | | | | ports tree grep run by sthen | |||||
* | close(fd), then set errno | 2013-10-25 | 1 | -3/+3 | ||
| | ||||||
* | Align suseconds_t with POSIX: it's the type of the tv_usec member of timeval. | 2013-10-24 | 1 | -4/+4 | ||
| | | | | | | | | Use useconds_t in the ualarm() declaration. Bump libstdc++ major to be sure there isn't ABI issues. ok deraadt@ jca@ jmc@ millert@ ports testing by landry@ |