[windows] require 'syslog' raises wrong exception
-------------------------------------------------
Key: JRUBY-4313
URL: http://jira.codehaus.org/browse/JRUBY-4313
Project: JRuby
Issue Type: Bug
Components: Extensions, Windows
Affects Versions: JRuby 1.4
Reporter: Vladimir Sizikov
{noformat}
#> ruby -e "require 'syslog'"
-e:1:in `require': no such file to load -- syslog (LoadError)
from -e:1
{noformat}
{noformat}
#>jruby -e "require 'syslog'"
D:/work/jruby-dev/jruby/lib/ruby/site_ruby/shared/ffi/ffi.rb:111:in
`create_invoker': Function 'openlog' not found in [msvcrt] (FFI::NotFoundError)
from
D:/work/jruby-dev/jruby/lib/ruby/site_ruby/shared/ffi/library.rb:78:in
`attach_function'
from
D:/work/jruby-dev/jruby/lib/ruby/site_ruby/shared/ffi/library.rb:76:in `each'
from
D:/work/jruby-dev/jruby/lib/ruby/site_ruby/shared/ffi/library.rb:76:in
`attach_function'
from D:/work/jruby-dev/jruby/lib/ruby/site_ruby/shared/syslog.rb:31
from D:/work/jruby-dev/jruby/lib/ruby/site_ruby/shared/syslog.rb:1:in
`require'
from -e:1
{noformat}
--
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