summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-12-20 01:38:55 +0000
committerChristopher Faylor <me@cgf.cx>2002-12-20 01:38:55 +0000
commit388aa9941b2432a02513283858cac6c74bb25a0d (patch)
tree7f10f872a8b5500b5dd8750c31acbb24b24106c2 /winsup/cygwin/fhandler.h
parente9f731caf79a961f6c4fc56e30cfda65343786a4 (diff)
downloadcygnal-388aa9941b2432a02513283858cac6c74bb25a0d.tar.gz
cygnal-388aa9941b2432a02513283858cac6c74bb25a0d.tar.bz2
cygnal-388aa9941b2432a02513283858cac6c74bb25a0d.zip
* fhandler.h (line_edit_status): Add a new element.
* fhandler_termios.cc (fhandler_termios::line_edit): After accept_input, handle both potential error condition and pipe full conditions. * fhandler_tty.cc (fhandler_pty_master::accept_input): Return -1 on error. (fhandler_pty_master::write): Handle pipe full condition.
Diffstat (limited to 'winsup/cygwin/fhandler.h')
-rw-r--r--winsup/cygwin/fhandler.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h
index 0e7b02704..bea1bf26c 100644
--- a/winsup/cygwin/fhandler.h
+++ b/winsup/cygwin/fhandler.h
@@ -123,7 +123,8 @@ enum line_edit_status
line_edit_signalled = -1,
line_edit_ok = 0,
line_edit_input_done = 1,
- line_edit_error = 2
+ line_edit_error = 2,
+ line_edit_pipe_full = 3
};
enum bg_check_types