summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/autoload.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2011-05-11 13:25:27 +0000
committerCorinna Vinschen <corinna@vinschen.de>2011-05-11 13:25:27 +0000
commit31ddf45dd8694ffb1c995000cf8600d00eee57e9 (patch)
treec5bcbcee169333bcc79287690731bc0e3c64ff2d /winsup/cygwin/autoload.cc
parentb27800ad458c51698e3f265ae980c958f74ad592 (diff)
downloadcygnal-31ddf45dd8694ffb1c995000cf8600d00eee57e9.tar.gz
cygnal-31ddf45dd8694ffb1c995000cf8600d00eee57e9.tar.bz2
cygnal-31ddf45dd8694ffb1c995000cf8600d00eee57e9.zip
* autoload.cc (EnumProcessModules): Remove.
* dlfcn.cc (dlopen): Make sure errno is set if an error occurs. (dlsym): Rewrite using RtlQueryProcessDebugInformation instead of EnumProcessModules. * ntdll.h (struct _DEBUG_MODULE_ARRAY): Define. (RtlCreateQueryDebugBuffer): Declare. (RtlDestroyQueryDebugBuffer): Declare. (RtlQueryProcessDebugInformation): Declare.
Diffstat (limited to 'winsup/cygwin/autoload.cc')
-rw-r--r--winsup/cygwin/autoload.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/winsup/cygwin/autoload.cc b/winsup/cygwin/autoload.cc
index 5cf9cf36c..cb8c5bf35 100644
--- a/winsup/cygwin/autoload.cc
+++ b/winsup/cygwin/autoload.cc
@@ -414,8 +414,6 @@ LoadDLLfunc (RtlSetCurrentTransaction, 4, ntdll)
LoadDLLfunc (CoTaskMemFree, 4, ole32)
-LoadDLLfunc (EnumProcessModules, 16, psapi)
-
LoadDLLfunc (LsaDeregisterLogonProcess, 4, secur32)
LoadDLLfunc (LsaFreeReturnBuffer, 4, secur32)
LoadDLLfunc (LsaLogonUser, 56, secur32)