summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex/regex2.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2013-05-03 19:08:58 +0000
committerjhb <jhb@FreeBSD.org>2013-05-03 19:08:58 +0000
commit3ddeecb12be89773eb9b5a58fa1c35fd61bf6693 (patch)
tree9f71a61a71448b959e4b046b7e95e860c09f40dd /lib/libc/regex/regex2.h
parent383aea5677ae9f4489314b23087ca08e6ab7b483 (diff)
downloadFreeBSD-src-3ddeecb12be89773eb9b5a58fa1c35fd61bf6693.zip
FreeBSD-src-3ddeecb12be89773eb9b5a58fa1c35fd61bf6693.tar.gz
Fix FIONREAD on regular files. The computed result was being ignored and
it was being passed down to VOP_IOCTL() where it promptly resulted in ENOTTY due to a missing else for the past 8 years. While here, use a shared vnode lock while fetching the current file's size. MFC after: 1 week
Diffstat (limited to 'lib/libc/regex/regex2.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud