From 332600d80cdfcf46ce36c9f5c77b452d8636fa7f Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Wed, 15 Mar 2000 04:49:36 +0000 Subject: Pipe changes throughout suggested by Eric Fifer * debug.cc (threadname_init): Pass name of lock as arg 2 of new_muto. * malloc.cc (malloc_init): Ditto. * sigproc.cc (sigproc_init): Ditto. * exceptions.cc (events_init): Ditto. (call_handler): Eliminate special case for hExeced. Report locked thread in debugging output. * fhandler.cc (fhandker_pipe::fhandler_pipe): Propagate device type to base class. * fhandler.h (fhandler_pipe): Ditto. * hinfo.cc (hinfo::build_fhandler): Pass specific type of pipe to constructor. * spawn.cc (spawn_guts): Eliminate dependency on signal when waiting for subprocess. * strace.cc: Remove obsolete #ifdef. * sync.cc (muto::muto): Save the name of the muto. (muto:~muto): Also release the muto. * sync.h: Add a muto name field. * select.cc (peek_pipe): Avoid doing a PeekNamedPipe on the write end of a pipe. --- winsup/cygwin/fhandler_tty.cc | 3 --- 1 file changed, 3 deletions(-) (limited to 'winsup/cygwin/fhandler_tty.cc') diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc index 0cc9b5284..ef031b10f 100644 --- a/winsup/cygwin/fhandler_tty.cc +++ b/winsup/cygwin/fhandler_tty.cc @@ -437,7 +437,6 @@ fhandler_tty_slave::fhandler_tty_slave(const char *name) : fhandler_tty_common (FH_TTYS, name, 0) { set_cb (sizeof *this); - debug_printf ("here"); inuse = NULL; } @@ -682,7 +681,6 @@ fhandler_tty_common::dup (fhandler_base *child) fhandler_tty_slave *fts = (fhandler_tty_slave *) child; int errind; - termios_printf ("here"); fts->ttynum = ttynum; fts->tcinit (get_ttyp ()); @@ -867,7 +865,6 @@ fhandler_pty_master::open (const char *, int flags, mode_t) int fhandler_tty_common::close () { -termios_printf ("here %p", this); if (output_done_event && !CloseHandle (output_done_event)) termios_printf ("CloseHandle (output_done_event), %E"); if (ioctl_done_event && !CloseHandle (ioctl_done_event)) -- cgit v1.2.3