diff options
author | Christopher Faylor <me@cgf.cx> | 2001-07-26 19:22:24 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-07-26 19:22:24 +0000 |
commit | 6b91b8d53be5b2333c3a8909d48a7a603aae4177 (patch) | |
tree | 060507f0ad7dac4b9a88696268df574996feb1dc /winsup/cygwin/cygheap.cc | |
parent | c784c833aa9313a233a493cdb9e28f69fa7d360d (diff) | |
download | newlib-6b91b8d53be5b2333c3a8909d48a7a603aae4177.zip newlib-6b91b8d53be5b2333c3a8909d48a7a603aae4177.tar.gz newlib-6b91b8d53be5b2333c3a8909d48a7a603aae4177.tar.bz2 |
Throughout, reorganize header file inclusion to put security.h prior to
fhandler.h.
* fhandler.h (fhandler_base::get_inheritance): New method.
* fhandler_socket.cc (fhandler_socket::create_secret_event): Use proper
close-on-exec inheritance when creating.
(fhandler_socket::check_peer_secret_event): Create handle as non-inheritable.
Diffstat (limited to 'winsup/cygwin/cygheap.cc')
-rw-r--r-- | winsup/cygwin/cygheap.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/cygwin/cygheap.cc b/winsup/cygwin/cygheap.cc index 3ca185a..b974f7a 100644 --- a/winsup/cygwin/cygheap.cc +++ b/winsup/cygwin/cygheap.cc @@ -11,9 +11,9 @@ #include "winsup.h" #include <string.h> #include <errno.h> -#include <fhandler.h> #include <assert.h> #include <stdlib.h> +#include "security.h" #include "fhandler.h" #include "dtable.h" #include "cygheap.h" @@ -22,7 +22,6 @@ #include "cygerrno.h" #include "sync.h" #include "shared_info.h" -#include "security.h" init_cygheap NO_COPY *cygheap; void NO_COPY *cygheap_max = NULL; |