#1655: System.Posix.User.getGroupEntryForName incorrect error for non-existent
group
----------------------------+-----------------------------------------------
 Reporter:  Eelis           |          Owner:  igloo         
     Type:  bug             |         Status:  new           
 Priority:  normal          |      Milestone:  6.8.2         
Component:  libraries/unix  |        Version:  6.6.1         
 Severity:  normal          |     Resolution:                
 Keywords:                  |     Difficulty:  Easy (1 hr)   
 Testcase:                  |   Architecture:  x86_64 (amd64)
       Os:  Linux           |  
----------------------------+-----------------------------------------------
Changes (by igloo):

  * owner:  => igloo
  * milestone:  => 6.8.2

Comment:

 The problem is when an error doesn't occur, but the name requested can't
 be found. The throwErrorIfNonZero_ doesn't happen, because 0 is returned,
 but the throwErrnoIfNull throws errno. We should throw something else in
 this situation.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1655#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to