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

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Fri Aug 28 20:54:09 EDT 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-install/_darcs/patches/20090829004959-adfee-c344536435675e76899e09b337c19ed5893476c8.gz



More information about the cabal-devel mailing list