aboutsummaryrefslogtreecommitdiffhomepage
path: root/input_common.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-04-07 12:40:08 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-04-07 12:40:08 -0700
commit437b4397b9cf273922ce7b414bf6626845f15ad0 (patch)
tree8c5fbb6a7196146b5656629f8c37f4eb1d3ecd80 /input_common.cpp
parent3a7ab3f030eda29ecbe54c0f44732e471300a3ed (diff)
Mark stdin as nonblocking if we get EWOULDBLOCK, and before handing it off to child processes when either starting them or moving them to the foreground.
Diffstat (limited to 'input_common.cpp')
-rw-r--r--input_common.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/input_common.cpp b/input_common.cpp
index ef979c3c..0f9fa52b 100644
--- a/input_common.cpp
+++ b/input_common.cpp
@@ -81,7 +81,7 @@ void input_common_destroy()
}
/**
- Internal function used by input_common_readch to read one byte from fd 1. This function should only be called by
+ Internal function used by input_common_readch to read one byte from fd 0. This function should only be called by
input_common_readch().
*/
static wint_t readb()