From 73b6b43ed33037f897ad95651f8ac2d1b233b25b Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 20 Sep 2010 20:25:50 +0000 Subject: * 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. --- winsup/cygwin/debug.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'winsup/cygwin/debug.h') diff --git a/winsup/cygwin/debug.h b/winsup/cygwin/debug.h index b2333e6fd..d14be53de 100644 --- a/winsup/cygwin/debug.h +++ b/winsup/cygwin/debug.h @@ -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) -- cgit v1.2.3