* fhandler_tty.cc (fhandler_tty_slave::init): Add additional checks to
determine when a process should grab control of a tty's pgid. Use being_debugged() for consistency. * debug.h (being_debugged): Remove vestige of win9x accommodation.
This commit is contained in:
		| @@ -20,8 +20,7 @@ details. */ | ||||
| #if !defined(_DEBUG_H_) | ||||
| #define _DEBUG_H_ | ||||
|  | ||||
| #define being_debugged() \ | ||||
|   (IsDebuggerPresent () /* || GetLastError () == ERROR_PROC_NOT_FOUND*/) | ||||
| #define being_debugged() (IsDebuggerPresent ()) | ||||
|  | ||||
| #ifndef DEBUGGING | ||||
| # define cygbench(s) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user