patch applied (cabal-install): Minor changes to the tar packing code
Duncan Coutts
duncan.coutts at worc.ox.ac.uk
Tue Mar 18 22:00:40 EDT 2008
Tue Mar 18 17:09:19 PDT 2008 Duncan Coutts <duncan at haskell.org>
* Minor changes to the tar packing code
Use lazy bytestring when packing tar entry headers rather than strict and
then making a single chunk lazy bytestring later. The lazy bytestring pack
will only generate a single chunk for a String that short (<4k).
Use openBinaryFile rather than openFile + hSetBinaryMode.
Add a haddock module header with copyright note.
M ./Hackage/Tar.hs -11 +31
View patch online:
http://darcs.haskell.org/cabal-install/_darcs/patches/20080319000919-adfee-cb2455157fa1e71fc37950b201fb1457cdf444a5.gz
More information about the cabal-devel
mailing list