Actions
Bug #12436
closednewline argument of File.open seems not respected on Windows
Description
File.open("abc", "wt", newline: :lf) { |f|
f.write "a\n"
f.puts "b"
}
will create a file with CRLF newlines, ignoring the newline conversion argument.
It should write only LF instead, like on other platforms when the newline conversion is specified.
Actions
Like0
Like0Like0Like0Like0