File.open cannot open NUL device on Windows
-------------------------------------------

                 Key: JRUBY-2158
                 URL: http://jira.codehaus.org/browse/JRUBY-2158
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.1RC2
         Environment: Windows XP Pro, Java 1.5
            Reporter: Daniel Berger
            Priority: Minor


JRuby chokes when you try to open the NUL device on MS Windows.
{noformat}
fh = File.open('NUL')
fh.close
{noformat}
Works fine in MRI. JRuby raises an Errno::ENOENT.

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


Reply via email to