summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/dll_init.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2014-10-10 15:29:18 +0000
committerCorinna Vinschen <corinna@vinschen.de>2014-10-10 15:29:18 +0000
commit3ab591cf71a5302ead4eaa1eeff9242717cfdcad (patch)
treeb7affacc2be2bb796e9606186d6287b4bdffcbed /winsup/cygwin/dll_init.cc
parent7a84e9c4bcf9d38a7400bf797e5a4ec8d200b916 (diff)
downloadcygnal-3ab591cf71a5302ead4eaa1eeff9242717cfdcad.tar.gz
cygnal-3ab591cf71a5302ead4eaa1eeff9242717cfdcad.tar.bz2
cygnal-3ab591cf71a5302ead4eaa1eeff9242717cfdcad.zip
* dlfcn.cc (dlopen): Disable old 32 bit code on 64 bit.
* dcrt0.cc (check_sanity_and_sync): Ditto. * dll_init.cc (dll_dllcrt0_1): Fix typo in comment.
Diffstat (limited to 'winsup/cygwin/dll_init.cc')
-rw-r--r--winsup/cygwin/dll_init.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/dll_init.cc b/winsup/cygwin/dll_init.cc
index 3fcb448b9..51ef186a3 100644
--- a/winsup/cygwin/dll_init.cc
+++ b/winsup/cygwin/dll_init.cc
@@ -640,7 +640,7 @@ dll_dllcrt0_1 (VOID *x)
when loaded either statically or dynamically. Because this leaves
a stale pointer into demapped memory space if the DLL is unloaded
by a call to dlclose, we prevent this happening for dynamically
- loaded DLLS in dlopen by saving and restoring cxx_malloc around
+ loaded DLLs in dlopen by saving and restoring cxx_malloc around
the call to LoadLibrary, which invokes the DLL's startup sequence.
Modern DLLs won't even attempt to override the pointer when loaded
statically, but will write their overrides directly into the