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:
authorChristopher Faylor <me@cgf.cx>2003-03-02 20:29:47 +0300
committerChristopher Faylor <me@cgf.cx>2003-03-02 20:29:47 +0300
commit3efc65f7df1be5ce066e2da0d6c21f68aec71dbf (patch)
tree891f7d059e68c12341407369cbe62204902eb790 /winsup/cygwin/dll_init.cc
parent4aa3feb8991e4d1ecf1c4915d25ab88863e84ef6 (diff)
* dll_init.cc (dll_list::load_after_fork): Fix typo where result of LoadLibrary
was ignored.
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 b02cacd51..7400c14d7 100644
--- a/winsup/cygwin/dll_init.cc
+++ b/winsup/cygwin/dll_init.cc
@@ -310,7 +310,7 @@ dll_list::load_after_fork (HANDLE parent, dll *first)
if (!h)
{
unload = false;
- LoadLibrary (d.name);
+ h = LoadLibrary (d.name);
}
if (!h)
system_printf ("can't reload %s", d.name);