[GHC] #3200: System.Environment.withProgName strips everything before the last slash

GHC trac at galois.com
Fri Aug 28 14:57:34 EDT 2009


#3200: System.Environment.withProgName strips everything before the last slash
---------------------------------+------------------------------------------
    Reporter:  guest             |        Owner:                  
        Type:  bug               |       Status:  reopened        
    Priority:  normal            |    Milestone:  6.12.1          
   Component:  libraries/base    |      Version:  6.10.2          
    Severity:  normal            |   Resolution:                  
    Keywords:                    |   Difficulty:  Unknown         
    Testcase:                    |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |  
---------------------------------+------------------------------------------
Changes (by guest):

  * status:  closed => reopened
  * resolution:  wontfix =>

Comment:

 I saw #3199 and it didn't mention `withProgName`. `withProgName` is not
 part of H98 `System`. All I have to go by is the `System.Environment`
 documentation, which doesn't match the behavior of the function. This is
 clearly a bug; either the code or the documentation is wrong (or maybe
 both). I don't understand why this is ''wontfix''.

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


More information about the Glasgow-haskell-bugs mailing list