diff options
author | Christopher Faylor <me@cgf.cx> | 2012-04-15 21:51:22 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2012-04-15 21:51:22 +0400 |
commit | aba77cbe8fddb0c1d9d544eee03aa95faf180c01 (patch) | |
tree | c33ce1d5fe9ce2a1d59cc4fbc59f0f87a4849dd1 /winsup/cygwin/devices.in | |
parent | 0a3819e6558be56d5846fe38ff3a48bc88c8fd91 (diff) |
wincap.h: Rename assitant to assistant throughout. wincap.cc: Ditto.
* devices.in (exists_console): Use fhandler_console::exists () rather than raw
test.
* devices.cc: Regenerate.
* fhandler.h (fhandler_console::exists): Define new function.
* fhandler_console.cc (fhandler_console::need_invisible): Use
fhandler_console::exists () rather than raw test.
* spawn.cc: Rename assitant to assistant throughout.
(child_info_spawn::worker): Simplify test for when to start a non-Cygwin
process in its own process group. Just do it whenever we start a non-Cygwin
process.
Diffstat (limited to 'winsup/cygwin/devices.in')
-rw-r--r-- | winsup/cygwin/devices.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/winsup/cygwin/devices.in b/winsup/cygwin/devices.in index b656886ee..09a1f7da5 100644 --- a/winsup/cygwin/devices.in +++ b/winsup/cygwin/devices.in @@ -5,7 +5,10 @@ #include "tty.h" #include "pinfo.h" #include "shared_info.h" +#include "path.h" +#include "fhandler.h" #include "ntdll.h" + typedef const device *KR_device_t; } %type KR_device_t @@ -69,7 +72,7 @@ exists_console (const device& dev) case FH_CONSOLE: case FH_CONIN: case FH_CONOUT: - return !!GetConsoleCP (); + return fhandler_console::exists (); default: /* Only show my own console device (for now?) */ return iscons_dev (myself->ctty) && myself->ctty == devn; |