patch applied (cabal-install): Minor changes to the tar packing code

Duncan Coutts duncan.coutts at
Tue Mar 18 22:00:40 EDT 2008

Tue Mar 18 17:09:19 PDT 2008  Duncan Coutts <duncan at>
  * 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:

More information about the cabal-devel mailing list