* fhandler_tty.cc (fhandler_tty_slave::init): Disable grabbing
process group ownership of tty in case we're being debugged.
This commit is contained in:
parent
93b103586f
commit
186bcf2a17
@ -1,3 +1,8 @@
|
||||
2010-05-07 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* fhandler_tty.cc (fhandler_tty_slave::init): Disable grabbing
|
||||
process group ownership of tty in case we're being debugged.
|
||||
|
||||
2010-05-06 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* path.cc (path_conv::check): Drop setting sym.pflags before calling
|
||||
|
@ -719,7 +719,7 @@ fhandler_tty_slave::init (HANDLE f, DWORD a, mode_t)
|
||||
flags = O_RDWR;
|
||||
|
||||
int ret = open (flags);
|
||||
if (ret && !cygwin_finished_initializing)
|
||||
if (ret && !cygwin_finished_initializing && !IsDebuggerPresent ())
|
||||
{
|
||||
/* This only occurs when called from dtable::init_std_file_from_handle
|
||||
We have been started from a non-Cygwin process. So we should become
|
||||
|
Loading…
Reference in New Issue
Block a user