summaryrefslogtreecommitdiff
path: root/ext/pty
diff options
context:
space:
mode:
-rw-r--r--ext/pty/lib/expect.rb2
1 files changed, 2 insertions, 0 deletions
@@ -14,6 +14,8 @@ class IO
e_pat = Regexp.new(Regexp.quote(pat))
when Regexp
e_pat = pat
end
while true
if !IO.select([self],nil,nil,timeout) or eof? then