diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2003-10-22 10:07:59 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2003-10-22 10:07:59 +0000 |
commit | e217832c4c4d8dba3c13af35b1d107851271b77d (patch) | |
tree | 07fd38a06152f7c715f38cd2bf0a6d07064f8ff4 /winsup/cygwin/fhandler_tty.cc | |
parent | 567970786e0db398b9c2a990efb9060b95406e12 (diff) | |
download | cygnal-e217832c4c4d8dba3c13af35b1d107851271b77d.tar.gz cygnal-e217832c4c4d8dba3c13af35b1d107851271b77d.tar.bz2 cygnal-e217832c4c4d8dba3c13af35b1d107851271b77d.zip |
* Makefile.in: Add $(LIBSERVER) rule.
* cygserver.h: Moved from include/cygwin to here.
* cygserver_ipc.h: Moved from ../cygserver to here.
* cygserver_shm.h: Ditto.
* cygwin.din: Add shmat, shmctl, shmdt and shmget.
* fhandler_tty.cc (fhandler_tty_slave::open): Don't warn about handle
dup'ing if not build with USE_SERVER.
* shm.cc: Include cygerrno.h unconditionally.
(shmat): Set errno to ENOSYS and return -1 if not build with
USE_SERVER.
(shmctl): Ditto.
(shmdt): Ditto.
(shmget): Ditto.
* woutsup.h: Remove.
* include/cygwin/cygserver_process.h: Moved to ../cygserver directory.
* include/cygwin/cygserver_transport.h: Ditto.
* include/cygwin/cygserver_transport_pipes.h: Ditto.
* include/cygwin/cygserver_transport_sockets.h: Ditto.
* include/cygwin/version.h: Bump API minor number.
Diffstat (limited to 'winsup/cygwin/fhandler_tty.cc')
-rw-r--r-- | winsup/cygwin/fhandler_tty.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc index 8ca49a5d1..0629f2d3f 100644 --- a/winsup/cygwin/fhandler_tty.cc +++ b/winsup/cygwin/fhandler_tty.cc @@ -25,7 +25,7 @@ details. */ #include "pinfo.h" #include "cygheap.h" #include "shared_info.h" -#include "cygwin/cygserver.h" +#include "cygserver.h" #include "cygthread.h" /* Tty master stuff */ @@ -516,8 +516,9 @@ fhandler_tty_slave::open (int flags, mode_t) || !cygserver_attach_tty (&from_master_local, &to_master_local)) #endif { +#ifdef USE_SERVER termios_printf ("cannot dup handles via server. using old method."); - +#endif HANDLE tty_owner = OpenProcess (PROCESS_DUP_HANDLE, FALSE, get_ttyp ()->master_pid); termios_printf ("tty own handle %p",tty_owner); |