Issue #4804 has been reported by Usaku NAKAMURA.

----------------------------------------
Bug #4804: IO.pipe???NEWLINE_DECORATOR
http://redmine.ruby-lang.org/issues/4804

Author: Usaku NAKAMURA
Status: Assigned
Priority: Normal
Assignee: Nobuyoshi Nakada
Category: core
Target version: 1.9.x
ruby -v: ruby 1.9.3dev (2011-05-31 trunk 31858) [x64-mswin64_100]


IO.pipe????????????????IO???DEAFULT_TEXTMODE????????????Windows???????????
FMODE_TEXTMODE??設???????????????????????????????????????????????????????

???????ecflags???NEWLINE_DECORATOR???????????????????????????????????
???????????????????????????????????辺????????????????????????????
?????????????????????????

???????????????????????test/test_open3.rb???Failure???起?????????????
???????rdoc???test????2?Failure???????????????????????????????????????????????
???????????????????????


??????????????????????試???????????????????????????????????????????
??????????????????????????????????????

  r, w = IO.pipe(textmode:true)
  w.write "foo\n"
  p r.gets  # => expect "foo\n", but "foo\r\n"



-- 
http://redmine.ruby-lang.org