io.fcntl can also accept one-arg version
----------------------------------------

                 Key: JRUBY-3686
                 URL: http://jira.codehaus.org/browse/JRUBY-3686
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
            Reporter: Thomas E Enebo
            Assignee: Thomas E Enebo
            Priority: Blocker
             Fix For: JRuby 1.3


Ack!   An error every time webrick starts:

{noformat}
[2009-05-22 11:47:23] INFO  WEBrick 1.3.1
[2009-05-22 11:47:23] INFO  ruby 1.8.6 (2009-05-21) [java]
[2009-05-22 11:47:23] INFO  WEBrick::HTTPServer#start: pid=66105 port=3000
[2009-05-22 11:47:30] ERROR ArgumentError: wrong # of arguments(1 for 2)
{noformat}

It is from Fcntl.FD_GETFL:

{noformat}
ruby -e 'require "fcntl"; p STDIN.fcntl(Fcntl::F_GETFL)'
2
{noformat}

JRuby is not allowing single-arg version.  Fix coming...


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