diff options
author | Christopher Faylor <me@cgf.cx> | 2011-11-08 00:05:49 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2011-11-08 00:05:49 +0400 |
commit | 65a6152f18884f2867b4350723bdcff5732e3f29 (patch) | |
tree | a9469b6d6b77ad6bbf2c1e6d1c7f6943a1566214 /winsup/cygwin/cygwin.din | |
parent | 78942629ac8b7683f64fb21b39a4c1eaee2b768b (diff) |
* cygwin.din (ptsname_r): Export.
* fhandler.cc (fhandler_base::ptsname_r): Define.
* fhandler.h (fhandler_base::ptsname): Delete.
(fhandler_base::ptsname_r): Declare.
(fhandler_pty_master::ptsname_r): Declare.
* fhandler_tty.cc (fhandler_pty_master::ptsname): Delete.
(fhandler_pty_master::ptsname_r): New reentrant function derived from previous
ptsname.
* syscalls.cc (ptsname_r): Implement new function with functionality similar to
Linux.
(ptsname): Use ptsname_r () to fill out buf.
* include/cygwin/stdlib.h (ptsname_r): Declare.
* include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR to 255 to reflect
export of ptsname_r.
* pinfo.cc (pinfo::wait): Return bool rather than int.
* pinfo.h (info::wait): Ditto.
(pinfo::reattach): Define !defined(_SIGPROC_H) case for consistency.
* sigproc.cc (child_info_spawn::reattach_children): Use correct dwProcessId
rather than pid when duplicating handle.
Diffstat (limited to 'winsup/cygwin/cygwin.din')
-rw-r--r-- | winsup/cygwin/cygwin.din | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/cygwin.din b/winsup/cygwin/cygwin.din index 594edda9f..615088a56 100644 --- a/winsup/cygwin/cygwin.din +++ b/winsup/cygwin/cygwin.din @@ -1277,6 +1277,7 @@ pthread_spin_unlock SIGFE pthread_testcancel SIGFE pthread_yield = sched_yield SIGFE ptsname SIGFE +ptsname_r SIGFE putc SIGFE _putc = putc SIGFE putc_unlocked SIGFE |