summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler.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.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.cc')
-rw-r--r--winsup/cygwin/fhandler.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc
index 2b86d3c51..7b701d820 100644
--- a/winsup/cygwin/fhandler.cc
+++ b/winsup/cygwin/fhandler.cc
@@ -1299,7 +1299,7 @@ fhandler_dev_null::dump (void)
}
void
-fhandler_base::set_inheritance (HANDLE &h, int not_inheriting)
+fhandler_base::set_no_inheritance (HANDLE &h, int not_inheriting)
{
HANDLE oh = h;
/* Note that we could use SetHandleInformation here but it is not available
@@ -1335,7 +1335,7 @@ void
fhandler_base::set_close_on_exec (int val)
{
if (!get_nohandle ())
- set_inheritance (io_handle, val);
+ set_no_inheritance (io_handle, val);
set_close_on_exec_flag (val);
debug_printf ("set close_on_exec for %s to %d", get_name (), val);
}