#25: Installer sets(!) the path instead of properly appending ---------------------------------------------+------------------------------ Reporter: torsten.kemps-bene...@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 _______________________________________________ Haskell-platform mailing list Haskell-platform@projects.haskell.org http://projects.haskell.org/cgi-bin/mailman/listinfo/haskell-platform