[windows] JRuby can't handle special files: CON, LPT, etc.
----------------------------------------------------------
Key: JRUBY-4186
URL: http://jira.codehaus.org/browse/JRUBY-4186
Project: JRuby
Issue Type: Bug
Components: Windows
Reporter: Vladimir Sizikov
Here's the list: CON, AUX, COM1, COM2, COM3, COM4, LPT1, LPT2, LPT3, PRN, NUL
{code}
#>jruby -ve "f = File.open('CON', 'w'); f.puts(5)"
jruby 1.5.0.dev (ruby 1.8.7 patchlevel 174) (2009-10-29 e86ea9c) (Java
HotSpot(TM) Client VM 1.6.0_14) [x86-java]
-e:1:in `initialize': The system cannot find the file specified (IOError)
from -e:1:in `open'
from -e:1
#>ruby -ve "f = File.open('CON', 'w'); f.puts(5)"
ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]
5
{code}
--
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