summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/path.cc
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2000-06-08 00:55:27 +0000
committerDJ Delorie <dj@redhat.com>2000-06-08 00:55:27 +0000
commit48b8705360615755832ad520ae3b151321f17e9c (patch)
tree27948c94aa8ae060f0991fea80fbd1b45c7d915b /winsup/cygwin/path.cc
parent6b878fd051121334a20711107bfe662b6371d937 (diff)
downloadcygnal-48b8705360615755832ad520ae3b151321f17e9c.tar.gz
cygnal-48b8705360615755832ad520ae3b151321f17e9c.tar.bz2
cygnal-48b8705360615755832ad520ae3b151321f17e9c.zip
* cygwin.din: add cygwin_dll_init
* dcrt0.cc (cygwin_dll_init): new (dll_crt0_1): short circuit if manually loaded * path.cc (mount_info::init): don't init if manually loaded
Diffstat (limited to 'winsup/cygwin/path.cc')
-rw-r--r--winsup/cygwin/path.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc
index d3bc76c19..af23932da 100644
--- a/winsup/cygwin/path.cc
+++ b/winsup/cygwin/path.cc
@@ -854,6 +854,9 @@ mount_info::init ()
the registry. */
from_registry ();
+ if (dynamically_loaded)
+ return;
+
/* If slash isn't already mounted, mount system directory as slash. */
if (nmounts != 0)
for (int i = 0; i < nmounts; i++)