summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/regex/engine.c
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2012-04-05 02:54:51 +0000
committerChristopher Faylor <me@cgf.cx>2012-04-05 02:54:51 +0000
commit7b03b0d8cee0ab8ef442d0d1ed2031f77207557a (patch)
tree4cb0a3863b4e702b974fe86fe483c73ab3465dc6 /winsup/cygwin/regex/engine.c
parentffcd2c3f894413870b4431677d94044ca0336c1b (diff)
downloadcygnal-7b03b0d8cee0ab8ef442d0d1ed2031f77207557a.tar.gz
cygnal-7b03b0d8cee0ab8ef442d0d1ed2031f77207557a.tar.bz2
cygnal-7b03b0d8cee0ab8ef442d0d1ed2031f77207557a.zip
* fhandler.h (fhandler_pty_common::bytes_available): Declare new function.
(fhandler_pty_master::flush_to_slave): Ditto. * fhandler_tty.cc (bytes_available): Define new function. (fhandler_pty_common::bytes_available): Ditto. (handler_pty_master::flush_to_slave): Ditto. (fhandler_pty_master::process_slave_output): Call flush_to_slave () here. Use bytes_available () rather than PeekNamedPipe. Cleanup sloppy logic. (fhandler_pty_slave::read): Use bytes_available () rather than PeekNamedPipe. (fhandler_pty_slave::ioctl): Ditto. (fhandler_pty_master::ioctl): Ditto. (fhandler_pty_master::cleanup): Remove ancient #if 0. * select.cc (peek_pipe): Call flush_to_slave whenever we're checking for a pty master.
Diffstat (limited to 'winsup/cygwin/regex/engine.c')
0 files changed, 0 insertions, 0 deletions