# File lib/rbreadline.rb, line 4480 def rl_getc(stream) begin c = stream.read(1) rescue Errno::EINTR c = rl_getc(stream) end return c ? c : EOF end