[#81492] [Ruby trunk Feature#13618] [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid — normalperson@...

Issue #13618 has been reported by normalperson (Eric Wong).

12 messages 2017/06/01

[ruby-core:81858] [Ruby trunk Bug#5339] ERB generates extra newlines on Windows

From: usa@...
Date: 2017-06-30 11:24:46 UTC
List: ruby-core #81858
Issue #5339 has been updated by usa (Usaku NAKAMURA).

Backport changed from 2.2: REQUIRED, 2.3: REQUIRED, 2.4: REQUIRED to 2.2: REQUIRED, 2.3: DONE, 2.4: REQUIRED

ruby_2_3 r59226 merged revision(s) 58825,58826.

----------------------------------------
Bug #5339: ERB generates extra newlines on Windows
https://bugs.ruby-lang.org/issues/5339#change-65580

* Author: DNNX (Viktar Basharymau)
* Status: Closed
* Priority: Normal
* Assignee: k0kubun (Takashi Kokubun)
* Target version: 2.5
* ruby -v: ruby 1.9.2p290 (2011-07-09) [i386-mingw32]
* Backport: 2.2: REQUIRED, 2.3: DONE, 2.4: REQUIRED
----------------------------------------
Steps to reproduce:

(1) Create files from this gist: https://gist.github.com/1226780.
(2) Run `ruby erbug.rb`.
(3) If you're on windows, you'll see something like

* 1

  * 2

    * 3
Otherwise, it will be like this:
* 1
  * 2
    * 3

This bug also affects `bundler` gem (see https://github.com/carlhuda/bundler/issues/1371).





-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread