Package: file
Version: 5.04-5
Severity: minor

If the first file is "stored" file gets the required zip version wrong.


ja...@gonzo:~$ mkdir x x/a ; cd x
ja...@gonzo:~/x$ dd count=1 </dev/urandom | od > a/b
1+0 records in
1+0 records out
512 bytes (512 B) copied, 0.000225439 s, 2.3 MB/s
ja...@gonzo:~/x$ zip -r foo a 
  adding: a/ (stored 0%)
  adding: a/b (deflated 55%)
ja...@gonzo:~/x$ file foo.zip 
foo.zip: Zip archive data, at least v1.0 to extract


deflate compression needs atleast version 2.0 to extract

I think file is currently trying to determine required zip version 
from the header of the first file record. this often yeilds misleading 
information.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (700, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages file depends on:
ii  libc6                   2.11.2-7         Embedded GNU C Library: Shared lib
ii  libmagic1               5.04-5           File type determination library us
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

file recommends no packages.

file 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