System.Posix.User.getAllUserEntries can be called only once

Ian Lynagh igloo at earth.li
Mon Jul 16 08:46:43 EDT 2007


On Mon, Jul 16, 2007 at 01:49:31PM +0200, Sascha Böhme wrote:
> 
> are there special constraints why the function
> 
>   System.Posix.User.getAllUserEntries
> 
> of the unix package can be called only once?

It's a bug, fixed in the HEAD.

To do it in 6.6.1 you'd have to call C's setpwent and endpwent yourself,
before and after calling getAllUserEntries.


Thanks
Ian



More information about the Libraries mailing list