diff options
author | Christopher Faylor <me@cgf.cx> | 2001-10-22 21:09:41 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-10-22 21:09:41 +0000 |
commit | a05d38a8b4d277faa3643abff50ce5cb4fa6268e (patch) | |
tree | ae16b8a89588377ff8ec3b70d6cadafa34acc9bf /winsup/cygwin/debug.h | |
parent | e7e231e531e62fbda5d7d019ca5d90363a955881 (diff) | |
download | cygnal-a05d38a8b4d277faa3643abff50ce5cb4fa6268e.tar.gz cygnal-a05d38a8b4d277faa3643abff50ce5cb4fa6268e.tar.bz2 cygnal-a05d38a8b4d277faa3643abff50ce5cb4fa6268e.zip |
* debug.cc (set_errno): Return value of errno that was set, just like the
macro.
(setclexec_pid): Replace old handle with new handle.
* debug.h: Reflect change in arguments for setclexec_pid.
* fhandler.cc (fhandler_base::set_inheritance): Ditto.
(fhandler_base::fork_fixup): Ditto.
* cygerrno.h: Reflect return value change for set_errno.
Diffstat (limited to 'winsup/cygwin/debug.h')
-rw-r--r-- | winsup/cygwin/debug.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/debug.h b/winsup/cygwin/debug.h index 8323e617a..0b7e53359 100644 --- a/winsup/cygwin/debug.h +++ b/winsup/cygwin/debug.h @@ -43,7 +43,7 @@ int __stdcall iscygthread (); # define ProtectHandle1(h,n) do {} while (0) # define ProtectHandle2(h,n) do {} while (0) # define debug_init() do {} while (0) -# define setclexec_pid(h, b) do {} while (0) +# define setclexec_pid(h, nh, b) do {} while (0) # define debug_fixup_after_fork() do {} while (0) #else @@ -72,7 +72,7 @@ BOOL __stdcall close_handle (const char *, int, HANDLE, const char *, BOOL) __attribute__ ((regparm (3))); void __stdcall cygbench (const char *s) __attribute__ ((regparm (1))); extern "C" void console_printf (const char *fmt,...); -void setclexec_pid (HANDLE, bool); +void setclexec_pid (HANDLE, HANDLE, bool); void debug_fixup_after_fork (); extern int pinger; |