diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2011-10-25 16:35:58 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2011-10-25 16:35:58 +0000 |
commit | be2280986de5339bca3d648ec0e7538541dcd674 (patch) | |
tree | d31ee4917ee5b00f024ce32b89a065c8204f85b6 /winsup/cygwin/winsup.h | |
parent | 4c28f4392a52852d34acd04cc698047bc21375ea (diff) | |
download | newlib-be2280986de5339bca3d648ec0e7538541dcd674.zip newlib-be2280986de5339bca3d648ec0e7538541dcd674.tar.gz newlib-be2280986de5339bca3d648ec0e7538541dcd674.tar.bz2 |
* hookapi.cc (hook_or_detect_cygwin): Take additional handle
to a file mapping as parameter. If this handle is not NULL,
create another file mapping for the IAT.
* spawn.cc (av::fixup): Only map the first 64K of an image and
keep the mapping handle to use as argument to hook_or_detect_cygwin.
* winsup.h (hook_or_detect_cygwin): Add mapping handle as default
parameter in declaration.
Diffstat (limited to 'winsup/cygwin/winsup.h')
-rw-r--r-- | winsup/cygwin/winsup.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h index e865cbc..a7b8285 100644 --- a/winsup/cygwin/winsup.h +++ b/winsup/cygwin/winsup.h @@ -216,7 +216,7 @@ __ino64_t __stdcall hash_path_name (__ino64_t hash, PCWSTR name) __attribute__ ( __ino64_t __stdcall hash_path_name (__ino64_t hash, const char *name) __attribute__ ((regparm(2))); void __stdcall nofinalslash (const char *src, char *dst) __attribute__ ((regparm(2))); -void *hook_or_detect_cygwin (const char *, const void *, WORD&) __attribute__ ((regparm (3))); +void *hook_or_detect_cygwin (const char *, const void *, WORD&, HANDLE h = NULL) __attribute__ ((regparm (3))); /* Time related */ void __stdcall totimeval (struct timeval *, FILETIME *, int, int); |