Actions
Bug #8837
closed
Updated by nobu (Nobuyoshi Nakada) almost 12 years ago
Seems that it should be:
if pt = buf.rindex(/\r\z/no)
buf, rest = buf[0 ... pt], buf[pt .. -1]
end
or
if buf.chomp!("\r")
rest = "\r"
end
to me.
Updated by hsbt (Hiroshi SHIBATA) almost 9 years ago
- Status changed from Open to Rejected
- Backport changed from 1.9.3: UNKNOWN, 2.0.0: UNKNOWN to 2.1: UNKNOWN
net-telnet has been extracted https://.com/ruby/net-telnet
Actions
Like0Like0Like0