Re: getUserEntryForName weirdness

2004-11-06 Thread Peter Simons
Volker Stolz writes: Fixed in CVS I've tried it moments ago: Works correctly here, too, now. Thank you. Peter ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Re: getUserEntryForName weirdness

2004-11-05 Thread Volker Stolz
In gmane.comp.lang.haskell.glasgow.user, you wrote: Is anyone else seeing this on his system? getUserEntryForName [] = print . userName wasabi Fixed in CVS -- I was only able to test this on SunOS where your example would segfault. -- http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP

Re: getUserEntryForName weirdness

2004-10-30 Thread Peter Simons
Peter Simons writes: getUserEntryForName [] = print . userName wasabi I've updated the latest CVS HEAD (you never know) and tried it again. Some problem. In case it helps: http://peti.cryp.to/strace-getuserentry (8kb) Peter ___

getUserEntryForName weirdness

2004-10-29 Thread Peter Simons
Is anyone else seeing this on his system? getUserEntryForName [] = print . userName wasabi wasabi happens to be the last entry in the /etc/passwd file, and that is what I get every time I query for an user that doesn't exist. The source code promises an exception, but I don't get one.

Re: getUserEntryForName weirdness

2004-10-29 Thread Jon Fairbairn
On 2004-10-29 at 18:29+0200 Peter Simons wrote: Is anyone else seeing this on his system? getUserEntryForName [] = print . userName wasabi wasabi happens to be the last entry in the /etc/passwd file, and that is what I get every time I query for an user that doesn't exist. The source

Re: getUserEntryForName weirdness

2004-10-29 Thread Nils Anders Danielsson
On Fri, 29 Oct 2004, Peter Simons wrote: Is anyone else seeing this on his system? getUserEntryForName [] = print . userName wasabi On Solaris I get the following results (GHC 6.2.2, GHC 6.2.1 exits with Illegal Instruction): Prelude System.Posix.User getUserEntryForName undefined user

Re: getUserEntryForName weirdness

2004-10-29 Thread Remi Turk
On Fri, Oct 29, 2004 at 06:29:52PM +0200, Peter Simons wrote: Is anyone else seeing this on his system? getUserEntryForName [] = print . userName wasabi wasabi happens to be the last entry in the /etc/passwd file, and that is what I get every time I query for an user that doesn't