summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdlib/wcstombs_r.c
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2012-06-03 18:02:45 +0000
committerChristopher Faylor <me@cgf.cx>2012-06-03 18:02:45 +0000
commit3143cb7c00fc1b6f4d75a83ac28f3bfbc5d2e658 (patch)
treefb4a3fbfc0eea1168646125aca7fd53478418b00 /newlib/libc/stdlib/wcstombs_r.c
parentff80d22a7c3d0d330c2892686aa694a080b109cb (diff)
downloadcygnal-3143cb7c00fc1b6f4d75a83ac28f3bfbc5d2e658.tar.gz
cygnal-3143cb7c00fc1b6f4d75a83ac28f3bfbc5d2e658.tar.bz2
cygnal-3143cb7c00fc1b6f4d75a83ac28f3bfbc5d2e658.zip
* DevNotes: Add entry cgf-000011.
* fhandler.h (fhandler_base::refcnt): Delete. (fhandler_base::inc_refcnt): New function. (fhandler_base::dec_refcnt): New function. * cygheap.h (cygheap_fdnew::~cygheap_fdnew): Accommodate split of refcnt to inc_refcnt/dec_refcnt. (cygheap_fdget::cygheap_fdget): Ditto. (cygheap_fdget::~cygheap_fdget::cygheap_fdget): Ditto. * dtable.cc (dtable::release): Ditto. (cygwin_attach_handle_to_fd): Ditto. (dtable::init_std_file_from_handle): Ditto. (dtable::dup3): On success, return with fdtab locked. * dtable.h (dtable): Add dup_finish as a friend. * syscalls.cc (dup_finish): Define new function. Increment refcnt while fdtab is locked. (dup2): Use common dup_finish() to perform dup operation. (dup3): Ditto.
Diffstat (limited to 'newlib/libc/stdlib/wcstombs_r.c')
0 files changed, 0 insertions, 0 deletions