[GHC] #3816: System.Posix.GetAllGroupEntries returns 0 groups for 2nd and subsequent calls

GHC trac at galois.com
Wed Jan 13 20:30:36 EST 2010


#3816: System.Posix.GetAllGroupEntries returns 0 groups for 2nd and subsequent
calls
------------------------------------------------+---------------------------
    Reporter:  tphyahoo                         |        Owner:                
        Type:  bug                              |       Status:  new           
    Priority:  normal                           |    Milestone:  6.12.2        
   Component:  Compiler                         |      Version:  6.10.4        
    Keywords:  groups getAllGroupentries posix  |   Difficulty:  Unknown       
          Os:  Linux                            |     Testcase:  in description
Architecture:  x86_64 (amd64)                   |      Failure:  None/Unknown  
------------------------------------------------+---------------------------
Changes (by igloo):

  * milestone:  => 6.12.2


Comment:

 Still happens in HEAD and 6.12.
 {{{
 Prelude> :m + System.Posix Control.Monad
 Prelude System.Posix Control.Monad> liftM length getAllGroupEntries
 Loading package unix-2.4.0.0 ... linking ... done.
 63
 Prelude System.Posix Control.Monad> liftM length getAllGroupEntries
 0
 Prelude System.Posix Control.Monad>
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3816#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list