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 >> outfile

I found that zip makes lseeks while writing the archive file, but
it doesn't change its behavior while writing to the file opened with
the O_APPEND option.


-- System Information:
Debian Release: 7.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages zip depends on:
ii  libbz2-1.0  1.0.6-4
ii  libc6       2.17-92+b1

Versions of packages zip recommends:
ii  unzip  6.0-8

zip suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to