Dir.mkdir raises wrong error if the target is an existing file
--------------------------------------------------------------
Key: JRUBY-4438
URL: http://jira.codehaus.org/browse/JRUBY-4438
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules, RubySpec, Windows
Affects Versions: JRuby 1.4
Reporter: Vladimir Sizikov
Assignee: Vladimir Sizikov
Fix For: JRuby 1.5
JRuby:
{code}
jruby -e "File.open('xxx.tmp', 'w'); Dir.mkdir('xxx.tmp')"
-e:1: Unknown error - mkdir failed (SystemCallError)
{code}
MRI:
{code}
ruby -e "File.open('xxx.tmp', 'w'); Dir.mkdir('xxx.tmp')"
-e:1:in `mkdir': File exists - xxx.tmp (Errno::EEXIST)
{code}
Fix in progress...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email