Package: gzip
Version: 1.3.12-6+lenny1
Severity: normal

zcmp and zdiff do NOT preserve exit status as claimed in the manual.  e.g.:

$ echo foo > foo
$ echo bar > bar
$ gzip foo
$ gzip bar
$ zdiff foo.gz bar.gz
1c1
< foo
---
> bar
$ echo $?
0            <------------------ should be 1

If either argument is not gzipped this works as expected.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.1 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gzip depends on:
ii  debianutils                   4.3        Miscellaneous utilities specific t
ii  libc6                         2.13-27    Embedded GNU C Library: Shared lib

gzip recommends no packages.

Versions of packages gzip suggests:
ii  less                          418-1      Pager program similar to more

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