Re: [GHC] #7342: Bug in System.Posix.Env.putEnv

2012-11-17 Thread GHC
#7342: Bug in System.Posix.Env.putEnv
-+--
 Reporter:  SimonHengel  |  Owner:
 Type:  bug  | Status:  patch 
 Priority:  normal   |  Component:  libraries/unix
  Version:  7.4.2|   Keywords:
   Os:  Linux|   Architecture:  x86_64 (amd64)
  Failure:  Incorrect result at runtime  |   Testcase:
Blockedby:   |   Blocking:
  Related:   |  
-+--
Changes (by SimonHengel):

  * status:  new = patch


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

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #7342: Bug in System.Posix.Env.putEnv

2012-10-17 Thread GHC
#7342: Bug in System.Posix.Env.putEnv
-+--
 Reporter:  SimonHengel  |  Owner:
 Type:  bug  | Status:  new   
 Priority:  normal   |  Component:  libraries/unix
  Version:  7.4.2|   Keywords:
   Os:  Linux|   Architecture:  x86_64 (amd64)
  Failure:  Incorrect result at runtime  |   Testcase:
Blockedby:   |   Blocking:
  Related:   |  
-+--

Comment(by SimonHengel):

 Changing {{{putEnv}}} to

 {{{
 putEnv keyvalue = newCString keyvalue = throwErrnoIfMinus1_ putenv .
 c_putenv
 }}}

 fixes the issue.

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

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #7342: Bug in System.Posix.Env.putEnv

2012-10-17 Thread GHC
#7342: Bug in System.Posix.Env.putEnv
-+--
 Reporter:  SimonHengel  |  Owner:
 Type:  bug  | Status:  new   
 Priority:  normal   |  Component:  libraries/unix
  Version:  7.4.2|   Keywords:
   Os:  Linux|   Architecture:  x86_64 (amd64)
  Failure:  Incorrect result at runtime  |   Testcase:
Blockedby:   |   Blocking:
  Related:   |  
-+--

Comment(by SimonHengel):

 While looking at the code, I discovered an other minor issue.  I opened a
 separate ticket for that (#7343).

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7342#comment:2
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs