[#64517] Fw: Re: Ruby and Rails to become Apache Incubator Project — Tetsuya Kitahata <[email protected]>

What do you think? >> Ruby developers

13 messages 2014/08/23

[#64615] [ruby-trunk - Feature #10181] [Open] New method File.openat() — oss-ruby-lang@...

Issue #10181 has been reported by Technorama Ltd..

10 messages 2014/08/28
[#64616] Re: [ruby-trunk - Feature #10181] [Open] New method File.openat() — Eric Wong <normalperson@...> 2014/08/28

I like this feature.

[#64671] Fwd: [ruby-changes:35240] normal:r47322 (trunk): symbol.c (rb_sym2id): do not return garbage object — SASADA Koichi <ko1@...>

Why this fix solve your problem?

9 messages 2014/08/30
[#64672] Re: Fwd: [ruby-changes:35240] normal:r47322 (trunk): symbol.c (rb_sym2id): do not return garbage object — SASADA Koichi <ko1@...> 2014/08/30

(2014/08/30 8:50), SASADA Koichi wrote:

[ruby-core:64422] [ruby-trunk - Bug #10145] [Open] win32/configure.bat should have CRLF eol-style.

From: nobu@...
Date: 2014-08-17 00:51:11 UTC
List: ruby-core #64422
Issue #10145 has been updated by Nobuyoshi Nakada.

Status changed from Rejected to Open

Thank you for the clarification.

----------------------------------------
Bug #10145: win32/configure.bat should have CRLF eol-style.
https://bugs.ruby-lang.org/issues/10145#change-48378

* Author: Masamitsu Murase
* Status: Open
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* ruby -v: ruby 2.2.0dev (2014-08-16 trunk 47200) [i386-mswin32_100]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
win32/configure.bat does not parse command line arguments correctly with revision 47015 and later.

For example, "win32\configure.bat --disable-install-doc --prefix=D:\test" outputs invalid "prefix" definition in Makefile.

It seems that this issue is caused by strange behavior of cmd.exe for Bat file, which includes LF eol.
i.e. This issue does not occur with revision 46795 and older.

How to reproduce this issue:

1 Run the following command on command prompt in the root directory of ruby source.

~~~
win32\configure.bat --disable-install-doc --prefix=D:\test
~~~

2 Then, Makefile contains invalid variable definitions.
  "prefix" and "EXTOUT" are invalid.

~~~
### Makefile for ruby  ###
MAKE = nmake
srcdir = .
prefix = /usr
EXTSTATIC = 
RDOCTARGET = nodoc
EXTOUT = D:\test
...
~~~

  The expected output is the following:

~~~
### Makefile for ruby  ###
MAKE = nmake
srcdir = .
prefix = D:/test
EXTSTATIC = 
RDOCTARGET = nodoc
...
~~~

I have not investigated the detail of this strange behavior of cmd.exe, but I think that cmd.exe does not expect LF eol-style.
If there is no specific reason, configure.bat should have CRLF eol instead.

Regards,
Murase




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

In This Thread

Prev Next