File#umask blows up on Windows
------------------------------
Key: JRUBY-2097
URL: http://jira.codehaus.org/browse/JRUBY-2097
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.1RC1
Environment: Latest JRuby 1.1RC1 on windows
Reporter: Vladimir Sizikov
Assignee: Vladimir Sizikov
Fix For: JRuby 1.1RC2
{noformat}
irb(main):001:0> File.umask(0006)
Exception in thread "main" java.lang.UnsatisfiedLinkError: Error looking up
function 'umask':
The specified pr ocedure could not be found.
at com.sun.jna.Function.<init>(Function.java:116)
at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:219)
at com.sun.jna.Library$Handler.invoke(Library.java:191)
at $Proxy0.umask(Unknown Source)
at org.jruby.ext.posix.BaseNativePOSIX.umask(BaseNativePOSIX.java:164)
at org.jruby.RubyFile.umask(RubyFile.java:1423)
at org.jruby.RubyFileInvoker$umask_method_0_1.call(Unknown Source)
{noformat}
Fix is 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