[#85940] [Ruby trunk Bug#14578] Forking a child process inside of a mutex crashes the ruby interpreter — ben.govero@...
Issue #14578 has been reported by bengovero (Ben Govero).
3 messages
2018/03/05
[#86205] [Ruby trunk Feature#14618] Add display width method to String for CLI — aycabta@...
Issue #14618 has been reported by aycabta (aycabta .).
3 messages
2018/03/19
[#86366] Re: [ruby-cvs:70102] usa:r63008 (trunk): get rid of test error/failure on Windows introduced at r62955 — Eric Wong <normalperson@...>
usa@ruby-lang.org wrote:
3 messages
2018/03/28
[ruby-core:86356] [Ruby trunk Bug#14638] [win32] File.expand_path("~") treats a relative path with a drive letter as an absolute path
From:
nobu@...
Date:
2018-03-28 06:55:36 UTC
List:
ruby-core #86356
Issue #14638 has been reported by nobu (Nobuyoshi Nakada).
----------------------------------------
Bug #14638: [win32] File.expand_path("~") treats a relative path with a drive letter as an absolute path
https://bugs.ruby-lang.org/issues/14638
* Author: nobu (Nobuyoshi Nakada)
* Status: Open
* Priority: Normal
* Assignee:
* Target version:
* ruby -v:
* Backport: 2.3: REQUIRED, 2.4: REQUIRED, 2.5: REQUIRED
----------------------------------------
```ruby
ENV["HOME"]="c:t"
p File.expand_path("~")==Dir.pwd+"/t"
```
prints `true` since 1.9.3, but it should raise an exception
```
$ ./1.8.7/i386-mswin32_120/miniruby -v -e 'ENV["HOME"]="c:t"; p File.expand_path("~")'
ruby 1.8.7 (2014-01-28 patchlevel 376) [i386-mswin32_120]
-e:1:in `expand_path': non-absolute home (ArgumentError)
from -e:1
```
--
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>