* 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.
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user