[#84867] [Ruby trunk Bug#14357] thread_safe tests suite segfaults — v.ondruch@...

Issue #14357 has been reported by vo.x (Vit Ondruch).

11 messages 2018/01/15

[#84980] [Ruby trunk Feature#13618][Assigned] [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid — hsbt@...

Issue #13618 has been updated by hsbt (Hiroshi SHIBATA).

10 messages 2018/01/23
[#85012] Re: [Ruby trunk Feature#13618][Assigned] [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid — Eric Wong <normalperson@...> 2018/01/23

hsbt@ruby-lang.org wrote:

[ruby-core:85310] [Ruby trunk Feature#12656] Expand short paths with File.expand_path

From: botalov.andrey@...
Date: 2018-01-31 14:31:37 UTC
List: ruby-core #85310
Issue #12656 has been updated by abotalov (Andrei Botalov).


This would be a good addition because "expand" means that the form should be long.

----------------------------------------
Feature #12656: Expand short paths with File.expand_path
https://bugs.ruby-lang.org/issues/12656#change-70095

* Author: davispuh (Dト」is Mosト]s)
* Status: Assigned
* Priority: Normal
* Assignee: cruby-windows
* Target version: 
----------------------------------------
Currently File.expand_path expands short path only if it's last part.

~~~ruby
puts File.expand_path('C:/VERYLO~1')
puts File.expand_path('C:/VERYLO~1/OTHERL~1')
~~~

Produces 

~~~
C:/VeryLongName12345
C:/VERYLO~1/OtherLongName54321
~~~


With attached patch it will always be long path

~~~
C:/VeryLongName12345
C:/VeryLongName12345/OtherLongName54321
~~~


This also fixes TestDir#test_glob test because it was failing due short path.


---Files--------------------------------
0001-Expand-short-paths-with-File.expand_path.patch (3.39 KB)


-- 
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

Prev Next