[#61822] Plan Developers Meeting Japan April 2014 — Zachary Scott <e@...>

I would like to request developers meeting around April 17 or 18 in this mo=

14 messages 2014/04/03
[#61825] Re: Plan Developers Meeting Japan April 2014 — Urabe Shyouhei <shyouhei@...> 2014/04/03

It's good if we have a meeting then.

[#61826] Re: Plan Developers Meeting Japan April 2014 — Zachary Scott <e@...> 2014/04/03

Regarding openssl issues, I=E2=80=99ve discussed possible meeting time with=

[#61833] Re: Plan Developers Meeting Japan April 2014 — Martin Bo煬et <martin.bosslet@...> 2014/04/03

Hi,

[ruby-core:62055] [ruby-trunk - Bug #7821] FileUtils.mkdir_p fails on Windows Unicode paths (\\?\UNC\) if dir already exists

From: usa@...
Date: 2014-04-16 12:18:50 UTC
List: ruby-core #62055
Issue #7821 has been updated by Usaku NAKAMURA.


The path with "\\?\" must be fullpath.
It's the spec of Windows.

----------------------------------------
Bug #7821: FileUtils.mkdir_p fails on Windows Unicode paths (\\?\UNC\) if dir already exists
https://bugs.ruby-lang.org/issues/7821#change-46231

* Author: Patrick Pokatilo
* Status: Assigned
* Priority: Normal
* Assignee: Usaku NAKAMURA
* Category: 
* Target version: next minor
* ruby -v: ruby 1.9.3p362 (2012-12-25) [i386-mingw32]
* Backport: 
----------------------------------------
Code:
  FileUtils.mkdir_p "//?/C:/test"
  FileUtils.mkdir_p "//?/C:/test"

What I expected:
  Ruby will create directory C:\test on the first call and nothing on the second

What happened on the second call:
  Errno::EACCESS: Permission denied - \\?\C:
          from C:/ruby/1.9.3-p362/lib/ruby/1.9.1/fileutils.rb:247:in `mkdir'
          from C:/ruby/1.9.3-p362/lib/ruby/1.9.1/fileutils.rb:247:in `fu_mkdir'
          from C:/ruby/1.9.3-p362/lib/ruby/1.9.1/fileutils.rb:221:in `block (2 levels) in mkdir_p'
          from C:/ruby/1.9.3-p362/lib/ruby/1.9.1/fileutils.rb:219:in `reverse_each'
          from C:/ruby/1.9.3-p362/lib/ruby/1.9.1/fileutils.rb:219:in `block in mkdir_p'
          from C:/ruby/1.9.3-p362/lib/ruby/1.9.1/fileutils.rb:205:in `each'
          from C:/ruby/1.9.3-p362/lib/ruby/1.9.1/fileutils.rb:205:in `mkdir_p'
          from C:/ruby/1.9.3-p362/lib/ruby/1.9.1/fileutils.rb:247:in `mkdir'
          from C:/ruby/1.9.3-p362/lib/ruby/1.9.1/fileutils.rb:247:in `mkdir'



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

In This Thread