File.open interprets '/dir' as './dir' on Windows
-------------------------------------------------
Key: JRUBY-2564
URL: http://jira.codehaus.org/browse/JRUBY-2564
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.1+
Environment: Windows
Reporter: Darcy Schultz
jirb at command line at c:\mydir
File.open('/test.txt', 'w+'){|f| f.puts('HelloWorld')}
MRI creates a file c:\test.txt
JRuby creates a file c:\mydir\test.txt
works properly in Mac OS X
--
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