Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>2017-03-02 19:26:53 +0300
committerCorinna Vinschen <corinna@vinschen.de>2019-02-07 17:58:02 +0300
commit22d68bada39c0b676af7525d5dae272fd688c1c6 (patch)
tree3255e2106ef30105dbfc04764356497de83e488d /winsup/cygwin/forkable.cc
parent135577f708a07405d1cd80880430429a9beb1041 (diff)
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.cc8
1 files changed, 1 insertions, 7 deletions
diff --git a/winsup/cygwin/forkable.cc b/winsup/cygwin/forkable.cc
index 05b228517..1e02a8a44 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)