[haskell-platform] #25: Installer sets(!) the path instead of properly appending

haskell-platform haskell-platform at projects.haskell.org
Fri May 8 08:42:51 EDT 2009

#25: Installer sets(!) the path instead of properly appending
 Reporter:  torsten.kemps-benedix at sks-ub.de  |        Owner:  refold
     Type:  defect                           |       Status:  closed
 Priority:  critical                         |    Milestone:        
Component:  Windows installer                |   Resolution:  fixed 
 Keywords:                                   |  
Comment (by claus):

 > And it looks like 8192 is the maximum allowed length for an environment
 variable in Windows (http://support.microsoft.com/kb/830473), so we don't
 have to do any additional checks.

 If I understand the warning correctly, `EnvVarUpdate` will always do the
 wrong thing when the limit is reached, no matter what the limit is (and
 apparently, 2k would have been enough for earlier versions of windows).

 So you've got a workaround that makes the bug less likely to appear, but
 no fix yet. I still recommend doing the check, if at all possible, to
 ensure that, at worst, PATH isn't meddled with if the limit is reached,
 but not emptied.

Ticket URL: <http://trac.haskell.org/haskell-platform/ticket/25#comment:11>
haskell-platform <http://trac.haskell.org/haskell-platform>
The Haskell Platform: a comprehensive and robust collection of Haskell libraries

More information about the Haskell-platform mailing list