aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/shared.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2013-12-01 17:52:48 +0000
committerChristopher Faylor <me@cgf.cx>2013-12-01 17:52:48 +0000
commitf456b9f6f8efcb1e7472d31860b5815ccd614aa4 (patch)
treec263f4fab9d502e46cea61f8254fbbc088a274e7 /winsup/cygwin/shared.cc
parent10a5939224465e3feb8e19208f187904000a0c38 (diff)
downloadnewlib-f456b9f6f8efcb1e7472d31860b5815ccd614aa4.zip
newlib-f456b9f6f8efcb1e7472d31860b5815ccd614aa4.tar.gz
newlib-f456b9f6f8efcb1e7472d31860b5815ccd614aa4.tar.bz2
* dtable.cc (dtable::find_unused_handle): Fix off-by-one error. Always exit
through the bottom. (cygwin_attach_handle_to_fd): Make sure that fd tab is locked for the duration of this function. * dtable.h (dtable::lock): Make public. (dtable::unlock): Ditto. (dtable): Remove friends.
Diffstat (limited to 'winsup/cygwin/shared.cc')
0 files changed, 0 insertions, 0 deletions