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" >>= print . userName
""
Prelude System.Posix.User> getUserEntryForName "" >>= print . userName
"\208\ACK"
Prelude System.Posix.User> getUserEntryForName "foo" >>= print . userName
"\208\ACK"
Prelude System.Posix.User> getUserEntryForName "foo " >>= print . userName
Segmentation Fault

/NAD
_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to