Package: gzip
Version: 1.3.5-12
Severity: normal

If gzexe compressed file is moved to another x86 Linux system it 
fails to work when the target linux system does not implement
tempfile(1)

The shell scrip stub at the beginning of compressed file
should be made environment agnostic and only use tempfile(1)
if it's available. Otherwise it should revert to de facto method.

SOLUTION SUGGESTION

Make the code generate this:

    #!/bin/sh
    skip=24
    set -C
    umask=`umask`
    umask 77
    
    tmpfile=`tempfile -p gztmp -d /tmp` || 
    tmpfile=/tmp/cvs.$$
    ...

instead of the current:
   
    ...
    tmpfile=`tempfile -p gztmp -d /tmp` || exit 1
    ...

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-1) (ignored: LC_ALL set to en_US)

Versions of packages gzip depends on:
ii  debianutils                   2.15       Miscellaneous utilities specific t
ii  libc6                         2.3.5-7    GNU C Library: Shared libraries an

gzip recommends no packages.

-- no debconf information


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

Reply via email to