Package: pristine-tar
Version: 0.18
Severity: important
File: /usr/bin/zgz

zgz's file_compress function calls gz_compress with the mtime from the
stat buffer isb; however, if cflag == 1, file_compress will not call
fstat to initialize that stat buffer.  Thus, "zgz -c somefile" will
produce a different garbage timestamp each time.  -c affects the output,
not the input, so it makes no sense to make it a requirement for running
stat of the input file; the rest of the checks inside the if(cflag == 0)
seem applicable in the -c case as well.

- Josh Triplett

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

Kernel: Linux 2.6.27-1-amd64 (SMP w/2 CPU cores)
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 pristine-tar depends on:
ii  libc6                  2.7-16            GNU C Library: Shared libraries
ii  perl-modules           5.10.0-17         Core Perl modules
ii  xdelta                 1.1.3-8           A diff utility which works with bi
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages pristine-tar recommends:
ii  bzip2                         1.0.5-1    high-quality block-sorting file co
pn  pbzip2                        <none>     (no description available)

pristine-tar suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to