summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/strtoumax.c
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2013-02-27 07:34:09 +0000
committerkib <kib@FreeBSD.org>2013-02-27 07:34:09 +0000
commit4bffdc6be720eb93176e86c7b9c1c54e8749ebb5 (patch)
tree8df71fb8d7a1a41ceafe22fe0100b2ffb83a0935 /lib/libc/stdlib/strtoumax.c
parent85115264a0ce0884fa30a442870f1a689aa87c58 (diff)
downloadFreeBSD-src-4bffdc6be720eb93176e86c7b9c1c54e8749ebb5.zip
FreeBSD-src-4bffdc6be720eb93176e86c7b9c1c54e8749ebb5.tar.gz
Make recursive getblk() slightly more useful. Keep the buffer state
intact if getblk() is done on the already owned buffer. Exit from brelse() early when the lock recursion is detected, otherwise brelse() might prematurely destroy the buffer under some circumstances. Sponsored by: The FreeBSD Foundation Noted by: mckusick Tested by: pho MFC after: 2 weeks
Diffstat (limited to 'lib/libc/stdlib/strtoumax.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud