summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler_tty.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-02-02 20:33:09 +0000
committerChristopher Faylor <me@cgf.cx>2004-02-02 20:33:09 +0000
commit6027d26d8b829833f716743acfb6881bb4236627 (patch)
tree840fa61c5a691ce1152acc328f9bf86f140b3ff4 /winsup/cygwin/fhandler_tty.cc
parent94d61fcb762f88e1835fc531d20341a596b245f2 (diff)
downloadcygnal-6027d26d8b829833f716743acfb6881bb4236627.tar.gz
cygnal-6027d26d8b829833f716743acfb6881bb4236627.tar.bz2
cygnal-6027d26d8b829833f716743acfb6881bb4236627.zip
Throughout, change name from set_inheritance to set_no_inheritance to better
reflect input arguments of this function. * cygheap.h (CYGHEAPSIZE): Increase size of cygheap to something closer to the 21st century.
Diffstat (limited to 'winsup/cygwin/fhandler_tty.cc')
-rw-r--r--winsup/cygwin/fhandler_tty.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc
index 97252734d..df074a44e 100644
--- a/winsup/cygwin/fhandler_tty.cc
+++ b/winsup/cygwin/fhandler_tty.cc
@@ -1341,24 +1341,24 @@ fhandler_tty_common::set_close_on_exec (int val)
else
{
if (output_done_event)
- set_inheritance (output_done_event, val);
+ set_no_inheritance (output_done_event, val);
if (ioctl_request_event)
- set_inheritance (ioctl_request_event, val);
+ set_no_inheritance (ioctl_request_event, val);
if (ioctl_done_event)
- set_inheritance (ioctl_done_event, val);
+ set_no_inheritance (ioctl_done_event, val);
if (inuse)
- set_inheritance (inuse, val);
- set_inheritance (output_mutex, val);
- set_inheritance (input_mutex, val);
- set_inheritance (input_available_event, val);
- set_inheritance (output_handle, val);
+ set_no_inheritance (inuse, val);
+ set_no_inheritance (output_mutex, val);
+ set_no_inheritance (input_mutex, val);
+ set_no_inheritance (input_available_event, val);
+ set_no_inheritance (output_handle, val);
#ifndef DEBUGGING
fhandler_base::set_close_on_exec (val);
#else
/* FIXME: This is a duplication from fhandler_base::set_close_on_exec.
It is here because we need to specify the "from_pty" stuff here or
we'll get warnings from ForceCloseHandle when debugging. */
- set_inheritance (get_io_handle (), val);
+ set_no_inheritance (get_io_handle (), val);
set_close_on_exec_flag (val);
#endif
}