This is the mail archive of the cygwin-cvs@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[newlib-cygwin] * autoload.cc (CreateEnvironmentBlock): Make loading non-fatal.


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=6bd719beeb334e07ca7b0cb097494b28c5137fc3

commit 6bd719beeb334e07ca7b0cb097494b28c5137fc3
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Wed Mar 11 12:56:53 2015 +0100

    * autoload.cc (CreateEnvironmentBlock): Make loading non-fatal.
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/cygwin/ChangeLog   | 4 ++++
 winsup/cygwin/autoload.cc | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 56af2b8..bcf1bde 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,9 @@
 2015-03-11  Corinna Vinschen  <corinna@vinschen.de>
 
+	* autoload.cc (CreateEnvironmentBlock): Make loading non-fatal.
+
+2015-03-11  Corinna Vinschen  <corinna@vinschen.de>
+
 	* autoload.cc (std_dll_init): Fix condition for breaking from DLL
 	loading loop.
 
diff --git a/winsup/cygwin/autoload.cc b/winsup/cygwin/autoload.cc
index fd25e17..5832e27 100644
--- a/winsup/cygwin/autoload.cc
+++ b/winsup/cygwin/autoload.cc
@@ -676,7 +676,7 @@ LoadDLLfunc (SetParent, 8, user32)
 LoadDLLfunc (SetProcessWindowStation, 4, user32)
 LoadDLLfunc (SetThreadDesktop, 4, user32)
 
-LoadDLLfunc (CreateEnvironmentBlock, 12, userenv)
+LoadDLLfuncEx (CreateEnvironmentBlock, 12, userenv, 1)
 LoadDLLfuncEx2 (CreateProfile, 16, userenv, 1, 1)
 LoadDLLfunc (DestroyEnvironmentBlock, 4, userenv)
 LoadDLLfunc (LoadUserProfileW, 8, userenv)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]