|
|
|
jna-posix jar updated with fix for this in commit 6785.
Unfortunately, I still see the crash on my Ubuntu Linux 8.04 x32.
The LinuxPasswd struct wasn't quite correct, according to some docs I found on the net.
Tested by VVSiz I picked the wrong day to stop sniffing glue...Thanks for catching this...passwd struct really works on linux in trunk now (commit 6801)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Not sure if this is the most understandable way to do it, as it uses a TypeMapper for LibC. Its less intrusive to the interface files, but may be somewhat opaque to someone who is trying to understand how the posix layer works.