Issue #7822 has been updated by usa (Usaku NAKAMURA).

Subject changed from Dir.mkdir can't handle long Windows Unicode paths (\\?\UNC\) to Dir.mkdir can't handle long Windows Unicode paths (\\?\UNC\)
Status changed from Open to Assigned
Assignee set to usa (Usaku NAKAMURA)


----------------------------------------
Bug #7822: Dir.mkdir can't handle long Windows Unicode paths (\\?\UNC\)
https://bugs.ruby-lang.org/issues/7822#change-36217

Author: shyxormz (Patrick Pokatilo)
Status: Assigned
Priority: Normal
Assignee: usa (Usaku NAKAMURA)
Category: 
Target version: 
ruby -v: ruby 1.9.3p362 (2012-12-25) [i386-mingw32]


Code:
  Dir.mkdir "//?/C:/" + "test" * 100

What I expected:
  Ruby will create directory //?/C:/testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttest, judging from http://msdn.microsoft.com/en-us/library/aa365247.aspx

What happened on the second call:
  Errno::ENOENT: No such file or directory - //?/C:/testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttest
          from (irb):6:in `mkdir'


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