[#78633] ruby/spec needs help from CRuby committers — Benoit Daloze <eregontp@...>
Currently, ruby/spec is maintained mostly by individuals and enjoys the
13 messages
2016/12/13
[#78963] Re: ruby/spec needs help from CRuby committers
— Urabe Shyouhei <shyouhei@...>
2017/01/04
I did ask attendees of last developer meeting to join this
[#78642] Re: ruby/spec needs help from CRuby committers
— Eric Wong <normalperson@...>
2016/12/14
Benoit Daloze <eregontp@gmail.com> wrote:
[ruby-core:78503] [Ruby trunk Bug#13008] File::basename fails if extension contains a colon
From:
nobu@...
Date:
2016-12-06 01:28:27 UTC
List:
ruby-core #78503
Issue #13008 has been updated by Nobuyoshi Nakada.
I did think so, but on recent cygwin, `touch c.d:12` makes a file "c.d\u{F03A}12".
Seems `:` is mapped to that Private Use Area character.
I'm not sure if we should support it now.
----------------------------------------
Bug #13008: File::basename fails if extension contains a colon
https://bugs.ruby-lang.org/issues/13008#change-61884
* Author: Ronald Fischer
* Status: Open
* Priority: Normal
* Assignee:
* ruby -v: ruby 2.2.4p230 (2015-12-16 revision 53155) [x86_64-cygwin]
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
~~~
File.basename('a/b/c.d:12')
~~~
returns
~~~
c.d
~~~
but should return
~~~
c.d:12
~~~
--
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>