summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/bsearch.c
diff options
context:
space:
mode:
authormillert <>2015-11-24 22:03:33 +0000
committermillert <>2015-11-24 22:03:33 +0000
commit7b803d1733f95d2823783aaaeb057de2eaab0231 (patch)
tree2ff05b2b872a27106976e6dd366bcbc261b1d2eb /src/lib/libc/stdlib/bsearch.c
parent0dbd386e3a1720959cdaa0731b8feb9c2c5b62dd (diff)
downloadopenbsd-7b803d1733f95d2823783aaaeb057de2eaab0231.tar.gz
openbsd-7b803d1733f95d2823783aaaeb057de2eaab0231.tar.bz2
openbsd-7b803d1733f95d2823783aaaeb057de2eaab0231.zip
Use reentrant versions of getpw{nam,uid} and getgr{nam,gid} within
libc to avoid reusing the static buffers returned by the non-reentrant versions. Since this is inside libc we can use constants for the buffer sizes instead of having to call sysconf(). OK guenther@ deraadt@
Diffstat (limited to 'src/lib/libc/stdlib/bsearch.c')
0 files changed, 0 insertions, 0 deletions