Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-12-12 | POSIX no longer requires sys/types.h be included to get the pid_t | Todd C. Miller | |
definition, and neither do our headers. OK espie@ guenther@ | |||
2013-12-05 | no more regexp(3), so point to regex(3); | Jason McIntyre | |
as advised by deraadt | |||
2013-12-04 | express final disapproval of the interfaces in libcompat, such as | Theo de Raadt | |
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] | |||
2013-12-04 | tweak from deraadt; | Jason McIntyre | |
2013-12-04 | update BUGS to reflect previous; as advised by | Jason McIntyre | |
guenther and deraadt | |||
2013-12-03 | Remove string.h dependency from sys/select.h; from FreeBSD, tweaked | Christian Weisgerber | |
by deraadt@. Sync man page. ok guenther@, deraadt@ | |||
2013-12-02 | CIRCLEQ begone. | Kenneth R Westerback | |
ok miller@ | |||
2013-12-01 | Eliminate references to the basep argument which was removed in the | Philip Guenther | |
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@ | |||
2013-11-28 | The print() routine here can be passed at least some of the non-characters | Philip Guenther | |
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@ | |||
2013-11-26 | 1 << 31 cleanup. Eitan Adler pointed out that there has been a | Theo de Raadt | |
resurrection of the bad idiom in the tree. sufficient review by miod, kettenis, tedu | |||
2013-11-26 | unsigned char cast for ctype; ok guenther | Theo de Raadt | |
2013-11-25 | unsigned char changes for ctype | Theo de Raadt | |
re-re-reviewed by krw | |||
2013-11-25 | use an unsigned char instead, to avoid lots of casts | Theo de Raadt | |
2013-11-25 | Use iswupper() for wide characters, not isupper(); ok deraadt | Stefan Sperling | |
2013-11-24 | most obvious unsigned char casts for ctype | Theo de Raadt | |
ok jca krw ingo | |||
2013-11-22 | doc nit okay millert@ | Marc Espie | |
2013-11-16 | In getdiskbyname() set partition size with DL_SETPSIZE(). Make sure | Kenneth R Westerback | |
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. | |||
2013-11-15 | getpwnam_r() and getpwuid_r() reopen the passwd even when called with | Sebastian Benoit | |
setpassent(stayopen). Bug found and fixed by Erik Lax <erik-AT-halon-DOT-se> ok millert@ guenther@ | |||
2013-11-13 | oops should not be static | Theo de Raadt | |
2013-11-13 | bring in proto | Theo de Raadt | |
2013-11-13 | bring in math.h to provide prototypes | Theo de Raadt | |
2013-11-12 | remove dead files | Eric Faurot | |
ok deraadt@ | |||
2013-11-12 | put the _readdir_unlocked() prototype in an obvious place | Theo de Raadt | |
2013-11-12 | ANSI prototypes | Theo de Raadt | |
2013-11-12 | a __fputwc_unlock() prototype was available in fvwrite.h, so use that | Theo de Raadt | |
2013-11-12 | both files contain a function which should only be static. | Theo de Raadt | |
not cranking libc over this (unless an issue is found in ports) | |||
2013-11-12 | permute15() should be static. Not cranking libc now, because it is | Theo de Raadt | |
not urgent. | |||
2013-11-12 | insert the proper arguments into a prototype | Theo de Raadt | |
2013-11-12 | avoid arithetic on void * | Theo de Raadt | |
ok guenther otto | |||
2013-11-12 | ANSI prototype | Theo de Raadt | |
2013-11-12 | pull in missing includes (math.h, unistd.h, stdlib.h) needed for | Theo de Raadt | |
prototypes | |||
2013-11-12 | pull in stdlib.h as required | Theo de Raadt | |
2013-11-12 | add proto for amd64 case; unify otherwise | Theo de Raadt | |
2013-11-12 | ttyslot() needs <stdlib.h> | Theo de Raadt | |
ok guenther | |||
2013-11-06 | Nowadays, seekdir(3) doesn't call _readdir_unlocked(). | Ingo Schwarze | |
Consequently, the "skipdeleted" argument is always == 1. Remove it, effectively reverting readdir.c rev. 1.14. ok millert@ guenther@ | |||
2013-11-06 | Search the userland buffer of dirent structures before falling back to | Ingo Schwarze | |
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@ | |||
2013-11-05 | Cleanup, no functional change: | Ingo Schwarze | |
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@ | |||
2013-11-05 | Make sure seekdir(3) works even when dirp->dd_buf still contains some | Ingo Schwarze | |
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@ | |||
2013-11-02 | Oops, utime() is section 3, not 2 | Philip Guenther | |
noted by jmc@ | |||
2013-11-02 | Fix lie that predated NetBSD: the struct stat time padding affected | Philip Guenther | |
utime() usage, not utimes() ok deraadt@ | |||
2013-11-02 | out of place word; discussed with jmc and guenther | Theo de Raadt | |
2013-11-02 | .Xr clock_gettime | Marc Espie | |
okay deraadt@ | |||
2013-11-02 | finish xref linking clock_gettime and getitimer | Ted Unangst | |
2013-11-01 | Pull in gdtoa.h instead of declaring __dtoa() and __freedtoa() directly | Philip Guenther | |
ok deraadt@ | |||
2013-10-28 | kill kame version symbols and sysctl | Theo de Raadt | |
ports tree grep run by sthen | |||
2013-10-25 | close(fd), then set errno | Ted Unangst | |
2013-10-24 | Align suseconds_t with POSIX: it's the type of the tv_usec member of timeval. | Philip Guenther | |
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@ | |||
2013-10-22 | - add UNIX-domain socket info to struct kinfo_file2 | Philip Guenther | |
- convert netstat from kvm_getfiles() to kvm_getfile2() using that - delete kvm_getfiles() and KERN_FILE as no longer used (bump libkvm's major) - rename kvm_getfile2() to kvm_getfiles(), kinfo_file2 to kinfo_file and KERN_FILE2 to KERN_FILE. ok deraadt@, millert@ ports scan sthen@ | |||
2013-10-22 | tweak previous; | Jason McIntyre | |
2013-10-22 | delete extra words; Henri Kemppainen | Theo de Raadt | |