* 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.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user