diff options
author | Christopher Faylor <me@cgf.cx> | 2003-03-02 17:29:47 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-03-02 17:29:47 +0000 |
commit | 3efc65f7df1be5ce066e2da0d6c21f68aec71dbf (patch) | |
tree | 891f7d059e68c12341407369cbe62204902eb790 | |
parent | 4aa3feb8991e4d1ecf1c4915d25ab88863e84ef6 (diff) | |
download | newlib-3efc65f7df1be5ce066e2da0d6c21f68aec71dbf.zip newlib-3efc65f7df1be5ce066e2da0d6c21f68aec71dbf.tar.gz newlib-3efc65f7df1be5ce066e2da0d6c21f68aec71dbf.tar.bz2 |
* dll_init.cc (dll_list::load_after_fork): Fix typo where result of LoadLibrary
was ignored.
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/dll_init.cc | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index b8b2090..7aef2ee 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2003-03-02 Christopher Faylor <cgf@redhat.com> + + * dll_init.cc (dll_list::load_after_fork): Fix typo where result of + LoadLibrary was ignored. + 2003-03-01 Corinna Vinschen <corinna@vinschen.de> * fhandler_socket.cc (fhandler_socket::bind): Open and write socket diff --git a/winsup/cygwin/dll_init.cc b/winsup/cygwin/dll_init.cc index b02cacd..7400c14 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); |