diff options
author | Christopher Faylor <me@cgf.cx> | 2006-08-09 15:04:32 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2006-08-09 15:04:32 +0000 |
commit | bbf38a55c6d1df220bd0160a99907048b6d215a0 (patch) | |
tree | 1c41c0a7d38123bfa2ff20fe7a337fc3e1e7dfab /winsup/cygwin/autoload.cc | |
parent | 7636b58590621af3c341c3eb37a017e0e6598d3f (diff) | |
download | cygnal-bbf38a55c6d1df220bd0160a99907048b6d215a0.tar.gz cygnal-bbf38a55c6d1df220bd0160a99907048b6d215a0.tar.bz2 cygnal-bbf38a55c6d1df220bd0160a99907048b6d215a0.zip |
* autoload.cc (GetHandleInformation): Declare new function.
(SetHandleInformation): Ditto.
* debug.cc (add_handle): Use SetHandleInformation to protect handle.
(close_handle): Use SetHandleInformation to unprotect handle.
* spawn.cc (spawn_guts): Move detached test outside of P_OVERLAY block.
Diffstat (limited to 'winsup/cygwin/autoload.cc')
-rw-r--r-- | winsup/cygwin/autoload.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/autoload.cc b/winsup/cygwin/autoload.cc index d1d234dee..25ef3d62f 100644 --- a/winsup/cygwin/autoload.cc +++ b/winsup/cygwin/autoload.cc @@ -507,6 +507,7 @@ LoadDLLfuncEx (FindVolumeClose, 4, kernel32, 1) LoadDLLfuncEx2 (GetCompressedFileSizeA, 8, kernel32, 1, 0xffffffff) LoadDLLfuncEx (GetConsoleWindow, 0, kernel32, 1) LoadDLLfuncEx (GetDiskFreeSpaceEx, 16, kernel32, 1) +LoadDLLfuncEx (GetHandleInformation, 8, kernel32, 1) LoadDLLfuncEx (GetNativeSystemInfo, 4, kernel32, 1) LoadDLLfuncEx (GetProcessWorkingSetSize, 12, kernel32, 1) LoadDLLfuncEx (GetVolumeNameForVolumeMountPointA, 12, kernel32, 1) @@ -516,6 +517,7 @@ LoadDLLfuncEx (IsWow64Process, 8, kernel32, 1); LoadDLLfuncEx (Process32First, 8, kernel32, 1) LoadDLLfuncEx (Process32Next, 8, kernel32, 1) LoadDLLfuncEx (RegisterServiceProcess, 8, kernel32, 1) +LoadDLLfuncEx (SetHandleInformation, 12, kernel32, 1) LoadDLLfuncEx (SetProcessWorkingSetSize, 12, kernel32, 1) LoadDLLfuncEx (SignalObjectAndWait, 16, kernel32, 1) LoadDLLfuncEx (SwitchToThread, 0, kernel32, 1) |