patch applied (cabal-branches/cabal-install-0.6): Fix calculation of paths in check for bindir symlink overwriting

Duncan Coutts duncan.coutts at googlemail.com
Thu Nov 12 11:45:01 EST 2009


Fri Aug 28 17:49:59 PDT 2009  Duncan Coutts <duncan at haskell.org>
  * Fix calculation of paths in check for bindir symlink overwriting
  Ignore-this: d4dd8e12c03d23ce935de94cedbda257
  We were doing it wrong, but Linux realpath() C function was letting
  us get away with it. The Solaris realpath() is stricter.
  The new implementation is also simpler, relying on the fact that
  the canonicalizePath function will resolve symlinks.

    M ./Distribution/Client/InstallSymlink.hs -15 +14

View patch online:
http://darcs.haskell.org/cabal-branches/cabal-install-0.6/_darcs/patches/20090829004959-adfee-c344536435675e76899e09b337c19ed5893476c8.gz



More information about the cabal-devel mailing list