Bug#726540: [tuxo...@gmail.com: Re: Bug#726540: zip: "zip - file >> out" creates broken archive]

2013-10-16 Thread Aleksey Morarash
ot; after zip invocation: ( echo '#!/usr/bin/env escript' echo '%%!-smp' zip -j - ebin/* | cat; ) > target chmod 755 target -- Best regards, Aleksey Morarash e-mail: tuxo...@gmail.com signature.asc Description: Digital signature

Bug#726540: zip: "zip - file >> out" creates broken archive

2013-10-16 Thread Aleksey Morarash
Package: zip Version: 3.0-6 Severity: normal Dear Maintainer, A have encountered that zip fails to write correct archive to a pipe when its opened with O_APPEND option. For example, this will create broken archive: $ zip - file >> outfile When this one works as planned: $ zip - file | cat >>