diff options
author | Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com> | 2017-03-02 17:26:53 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2019-02-03 12:08:59 +0100 |
commit | f3d515f7f6e99e52dac30336d43411b0faf8ad0c (patch) | |
tree | 0574c1f657899a3a8f88883f71294d7fc84ad187 /winsup/cygwin/forkable.cc | |
parent | 99fcc209dbb83c683a8e2c17e77bf427b70920c8 (diff) | |
download | newlib-f3d515f7f6e99e52dac30336d43411b0faf8ad0c.zip newlib-f3d515f7f6e99e52dac30336d43411b0faf8ad0c.tar.gz newlib-f3d515f7f6e99e52dac30336d43411b0faf8ad0c.tar.bz2 |
forkables: inline dll_list::forkables_supported
And LONG fits better for shared_info member forkable_hardlink_support.
Diffstat (limited to 'winsup/cygwin/forkable.cc')
-rw-r--r-- | winsup/cygwin/forkable.cc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/winsup/cygwin/forkable.cc b/winsup/cygwin/forkable.cc index 05b2285..1e02a8a 100644 --- a/winsup/cygwin/forkable.cc +++ b/winsup/cygwin/forkable.cc @@ -10,7 +10,6 @@ details. */ #include "cygerrno.h" #include "perprocess.h" #include "sync.h" -#include "dll_init.h" #include "environ.h" #include "security.h" #include "path.h" @@ -19,6 +18,7 @@ details. */ #include "cygheap.h" #include "pinfo.h" #include "shared_info.h" +#include "dll_init.h" #include "child_info.h" #include "cygtls.h" #include "exception.h" @@ -501,12 +501,6 @@ dll::create_forkable () return false; } -bool -dll_list::forkables_supported () -{ - return cygwin_shared->forkable_hardlink_support >= 0; -} - /* return the number of characters necessary to store one forkable name */ size_t dll_list::forkable_ntnamesize (dll_type type, PCWCHAR fullntname, PCWCHAR modname) |