Etc.getpwnam + Etc.getlogin failure on Tiger
--------------------------------------------
Key: JRUBY-5288
URL: http://jira.codehaus.org/browse/JRUBY-5288
Project: JRuby
Issue Type: Bug
Components: Standard Library
Affects Versions: JRuby 1.5.6
Environment: OS X 10.4.9
jruby 1.5.6 (ruby 1.8.7 patchlevel 249) (2010-12-03 9cf97c3) (Java HotSpot(TM)
Client VM 1.6.0_03-p3) [i386-java]
Reporter: Daniel Berger
Assignee: Thomas E Enebo
I'm pretty sure this used to work on my box. Not sure what's going on here:
MRI:
{code}
>irb
irb(main):001:0> Etc.getpwnam(Etc.getlogin)
=> #<struct Struct::Passwd name="djberge", passwd="********", uid=501, gid=501,
gecos="Daniel Berger", dir="/Users/djberge", shell="/bin/bash", change=0,
uclass="", expire=0>
{code}
JRuby 1.5.6:
{code}
>jirb
irb(main):001:0> Etc.getpwnam(Etc.getlogin)
=> nil
{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