Project

General

Profile

Bug #5164

Line endings, bug/regression or feature of 1.9.3?

Added by luislavena (Luis Lavena) about 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
-
Backport:
[ruby-core:38822]

Description

Hello,

Seems Redmine is down, so emailing the list.

One user detected that Ruby 1.9.3-preview1 and latest changes in
ruby_1_9_3 branch generates incorrectly line endings on Windows.

It seems that now, by default, it uses LF instead of CRLF for writing,
unless you explicitly indicate text-mode ('t')

Full investigation of the user is found here:

http://groups.google.com/group/rubyinstaller/msg/65cd1284e10ffe71

And simple test:

V:>ruby -ve "n

Also available in: Atom PDF