summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/tmpnam.c
diff options
context:
space:
mode:
authortruckman <truckman@FreeBSD.org>2004-03-16 06:53:03 +0000
committertruckman <truckman@FreeBSD.org>2004-03-16 06:53:03 +0000
commit3c4fad0869664ea6deed5d1f4e86560376db97da (patch)
treea6e0cbaeb32bc5ac4be7f32b3e010255a6ba46d8 /lib/libc/stdio/tmpnam.c
parent82bae980d54105229d205178fcc40f41b6ca9d6b (diff)
downloadFreeBSD-src-3c4fad0869664ea6deed5d1f4e86560376db97da.zip
FreeBSD-src-3c4fad0869664ea6deed5d1f4e86560376db97da.tar.gz
Rename the wiredlen member of struct sysctl_req to validlen and always
set it to avoid the need for a bunch of code that tests whether or not the lock member is set to REQ_WIRED in order to determine which length member should be used. Fix another bug in the oldlen return value code. Fix a potential wired memory leak if a sysctl handler uses sysctl_wire_old_buffer() and returns an EAGAIN error to trigger a retry.
Diffstat (limited to 'lib/libc/stdio/tmpnam.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud