Hello community, here is the log from the commit of package gzip checked in at Tue Dec 12 23:06:57 CET 2006. -------- --- gzip/gzip.changes 2006-12-07 11:19:59.000000000 +0100 +++ /mounts/work_src_done/STABLE/gzip/gzip.changes 2006-12-12 10:11:12.000000000 +0100 @@ -1,0 +2,9 @@ +Tue Dec 12 10:10:38 CET 2006 - schwab@suse.de + +- Update to gzip 1.3.8. + * Fix some gzip problems: + - A security fix from Debian 1.3.5-5 was inadvertently omitted. + - The assembler is now invoked with --noexecstack if supported, + so that gzip can better resist stack-smashing attacks. + +------------------------------------------------------------------- Old: ---- gzip-1.3.7.tar.gz New: ---- gzip-1.3.8.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gzip.spec ++++++ --- /var/tmp/diff_new_pack.j4qmlT/_old 2006-12-12 23:06:42.000000000 +0100 +++ /var/tmp/diff_new_pack.j4qmlT/_new 2006-12-12 23:06:42.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package gzip (Version 1.3.7) +# spec file for package gzip (Version 1.3.8) # # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -17,7 +17,7 @@ Group: Productivity/Archiving/Compression Autoreqprov: on PreReq: %{install_info_prereq} -Version: 1.3.7 +Version: 1.3.8 Release: 1 Summary: GNU Zip Compression Utilities Source: %{name}-%{version}.tar.gz @@ -111,6 +111,12 @@ %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %changelog -n gzip +* Tue Dec 12 2006 - schwab@suse.de +- Update to gzip 1.3.8. + * Fix some gzip problems: + - A security fix from Debian 1.3.5-5 was inadvertently omitted. + - The assembler is now invoked with --noexecstack if supported, + so that gzip can better resist stack-smashing attacks. * Thu Dec 07 2006 - schwab@suse.de - Update to gzip 1.3.7. * Fix some gzip problems: ++++++ gzip-1.3.7.tar.gz -> gzip-1.3.8.tar.gz ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/gzip-1.3.7/ChangeLog new/gzip-1.3.8/ChangeLog --- old/gzip-1.3.7/ChangeLog 2006-12-07 08:51:55.000000000 +0100 +++ new/gzip-1.3.8/ChangeLog 2006-12-09 08:19:57.000000000 +0100 @@ -1,3 +1,63 @@ +2006-12-08 Paul Eggert <eggert@cs.ucla.edu> + + * NEWS, configure.ac (AC_INIT): + Version 1.3.8 released. + + * gzexe.in (mktemp_status): New var, used to see whether + mktemp is a known command. Use this instead of confounding + mktemp's existence with its success. + + * zdiff.in: Remove first line containing ":". This follows + up on the SEDCMD fix of 2006-12-01. + * zforce.in: Likewise. + * zgrep.in: Likewise. + * zless.in: Likewise. + * zmore.in: Likewise. + * znew.in: Likewise. + + Fix problems in porting to NSK reported by Matthew Woehlke in + <http://lists.gnu.org/archive/html/bug-gzip/2006-12/msg00025.html> and + <http://lists.gnu.org/archive/html/bug-gzip/2006-12/msg00027.html>. + * gzip.h: Include <limits.h>, for SSIZE_MAX. + (INBUFSIZE): Don't make it any larger than SSIZE_MAX. + Problem reported by Matthew Woehlke in + <http://lists.gnu.org/archive/html/bug-gzip/2006-11/msg00013.html>. + * gzip.c: Don't include <limits.h>, as gzip.h now does this. + * util.c: Likewise. + * gzip.c (main): Set exiting_signal before installing signal handlers. + (install_signal_handlers): Don't set exiting_signal here. This + fixes a C99ism. + * zip.c: Include timespec.h, for time_stamp type. + +2006-12-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change) + + * gzexe.in: Work around FreeBSD shell trap bug. + * gzip.1: Fix typo. + * doc/gzip.texi: Likewise. + +2006-12-08 Paul Eggert <eggert@cs.ucla.edu> + + * .cvsignore: Add .deps, gzexe, gzip, zdiff, zforce, zgrep, + zless, zmore, znew. + * doc/.cvsignore: Add Makefile. + * lib/.cvsignore: Add .deps, Makefile, alloca.h, config.h, fcntl.h, + stamp-h1, stdint.h, sys. + + * configure.ac (for assembler): Set ASFLAGS_config to + -Wa,--noexecstack if this seems advisable on this platform. + Problem reported by Mike Frysinger in + <http://lists.gnu.org/archive/html/bug-gzip/2006-12/msg00018.html>. + * lib/Makefile.am (match.$(OBJEXT)): Use ASFLAGS_config. + +2006-12-07 Paul Eggert <eggert@cs.ucla.edu> + + * Makefile.am (install-exec-hook): Fix bug when installing + symbolic links as aliases. Problem reported by Mike Frysinger. + + * deflate.c (deflate_fast, deflate): Avoid core dump. Problem + originally reported by Jochen Friedrich and trivial patch supplied + by Anthony Towns; see <http://bugs.debian.org/184057>. + 2006-12-06 Paul Eggert <eggert@cs.ucla.edu> * NEWS, configure.ac (AC_INIT): diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/gzip-1.3.7/Makefile.am new/gzip-1.3.8/Makefile.am --- old/gzip-1.3.7/Makefile.am 2006-12-07 08:23:35.000000000 +0100 +++ new/gzip-1.3.8/Makefile.am 2006-12-08 01:08:54.000000000 +0100 @@ -79,16 +79,16 @@ transform='$(transform)'; \ test "X$$prog" = "X$$prog_ext" || \ transform="$$transform"';s/$$/$(EXEEXT)/'; \ - source=$(DESTDIR)$(bindir)/`echo "$$prog"|sed "$$transform"`; \ + destbindir=$(DESTDIR)$(bindir); \ + source=`echo "$$prog"|sed "$$transform"`; \ for alias in $$aliases; do \ - dest=$(DESTDIR)$(bindir)/`echo "$$alias"|sed "$$transform"`; \ + dest=`echo "$$alias"|sed "$$transform"`; \ (set -x; \ + cd "$$destbindir" && \ rm -f "$$dest" && \ case $@ in \ install-exec-hook) \ - for ln in ln "$(LN_S)"; do \ - $$ln "$$source" "$$dest" && break; \ - done;; \ + ln "$$source" "$$dest" || $(LN_S) "$$source" "$$dest";; \ esac \ ) || exit; \ done; \ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/gzip-1.3.7/Makefile.in new/gzip-1.3.8/Makefile.in --- old/gzip-1.3.7/Makefile.in 2006-12-07 08:56:09.000000000 +0100 +++ new/gzip-1.3.8/Makefile.in 2006-12-09 08:22:50.000000000 +0100 @@ -140,6 +140,7 @@ ALLOCA_H = @ALLOCA_H@ AMTAR = @AMTAR@ ASCPP = @ASCPP@ +ASFLAGS_config = @ASFLAGS_config@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ @@ -916,16 +917,16 @@ transform='$(transform)'; \ test "X$$prog" = "X$$prog_ext" || \ transform="$$transform"';s/$$/$(EXEEXT)/'; \ - source=$(DESTDIR)$(bindir)/`echo "$$prog"|sed "$$transform"`; \ + destbindir=$(DESTDIR)$(bindir); \ + source=`echo "$$prog"|sed "$$transform"`; \ for alias in $$aliases; do \ - dest=$(DESTDIR)$(bindir)/`echo "$$alias"|sed "$$transform"`; \ + dest=`echo "$$alias"|sed "$$transform"`; \ (set -x; \ + cd "$$destbindir" && \ rm -f "$$dest" && \ case $@ in \ install-exec-hook) \ - for ln in ln "$(LN_S)"; do \ - $$ln "$$source" "$$dest" && break; \ - done;; \ + ln "$$source" "$$dest" || $(LN_S) "$$source" "$$dest";; \ esac \ ) || exit; \ done; \ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/gzip-1.3.7/NEWS new/gzip-1.3.8/NEWS --- old/gzip-1.3.7/NEWS 2006-12-07 08:51:55.000000000 +0100 +++ new/gzip-1.3.8/NEWS 2006-12-09 08:19:57.000000000 +0100 @@ -1,3 +1,10 @@ +Major changes in Gzip 1.3.8 (2006-12-08) + +* Fix some gzip problems: + - A security fix from Debian 1.3.5-5 was inadvertently omitted. + - The assembler is now invoked with --noexecstack if supported, + so that gzip can better resist stack-smashing attacks. + Major changes in Gzip 1.3.7 (2006-12-06) * Fix some gzip problems: diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/gzip-1.3.7/configure new/gzip-1.3.8/configure --- old/gzip-1.3.7/configure 2006-12-07 08:56:04.000000000 +0100 +++ new/gzip-1.3.8/configure 2006-12-09 08:22:46.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.61 for gzip 1.3.7. +# Generated by GNU Autoconf 2.61 for gzip 1.3.8. # # Report bugs to <bug-gzip@gnu.org>. # @@ -574,8 +574,8 @@ # Identity of this package. PACKAGE_NAME='gzip' PACKAGE_TARNAME='gzip' -PACKAGE_VERSION='1.3.7' -PACKAGE_STRING='gzip 1.3.7' +PACKAGE_VERSION='1.3.8' +PACKAGE_STRING='gzip 1.3.8' PACKAGE_BUGREPORT='bug-gzip@gnu.org' ac_unique_file="gzip.c" @@ -735,6 +735,7 @@ LIBGZIP_LIBDEPS LIBGZIP_LTLIBDEPS LIBOBJS +ASFLAGS_config ac_prefix_program ASCPP LTLIBOBJS @@ -1252,7 +1253,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures gzip 1.3.7 to adapt to many kinds of systems. +\`configure' configures gzip 1.3.8 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1318,7 +1319,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of gzip 1.3.7:";; + short | recursive ) echo "Configuration of gzip 1.3.8:";; esac cat <<\_ACEOF @@ -1411,7 +1412,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -gzip configure 1.3.7 +gzip configure 1.3.8 generated by GNU Autoconf 2.61 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, @@ -1425,7 +1426,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by gzip $as_me 1.3.7, which was +It was created by gzip $as_me 1.3.8, which was generated by GNU Autoconf 2.61. Invocation command line was $ $0 $@ @@ -2144,7 +2145,7 @@ # Define the identity of the package. PACKAGE='gzip' - VERSION='1.3.7' + VERSION='1.3.8' cat >>confdefs.h <<_ACEOF @@ -12765,7 +12766,7 @@ # Try to assemble match.S. -# "gcc -E match.s" ignores -E, so we must use match.S. +# "gcc -E match.s" ignores -E, so we must use match_.s. { echo "$as_me:$LINENO: checking for assembler" >&5 echo $ECHO_N "checking for assembler... $ECHO_C" >&6; } if test "${gzip_cv_assembler+set}" = set; then @@ -12781,15 +12782,23 @@ : elif eval "$CC -c match_.s >/dev/null 2>&1" && test -f match_.$OBJEXT; then + rm -f match_.$OBJEXT gzip_cv_assembler=yes + if echo 'void foo (void) {}' > conftest.c && + eval "$CC -S conftest.c >/dev/null 2>&1" && + grep '\.note\.GNU-stack' conftest.s >/dev/null 2>&1 && + eval "$CC -c -Wa,--noexecstack match_.s >/dev/null 2>&1" && + test -f match_.$OBJEXT; then + gzip_cv_assembler='yes, with -Wa,--noexecstack' + fi fi fi - rm -f _match.S match_.s match_.$OBJEXT;; + rm -f conftest* _match.S match_.s match_.$OBJEXT;; esac fi { echo "$as_me:$LINENO: result: $gzip_cv_assembler" >&5 echo "${ECHO_T}$gzip_cv_assembler" >&6; } -if test $gzip_cv_assembler = yes; then +if test "$gzip_cv_assembler" != no; then cat >>confdefs.h <<\_ACEOF #define ASMV @@ -12802,6 +12811,12 @@ esac fi +if test "$gzip_cv_assembler" = 'yes, with -Wa,--noexecstack'; then + ASFLAGS_config='-Wa,--noexecstack' +else + ASFLAGS_config= +fi + { echo "$as_me:$LINENO: checking for library containing strerror" >&5 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; } @@ -14159,7 +14174,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by gzip $as_me 1.3.7, which was +This file was extended by gzip $as_me 1.3.8, which was generated by GNU Autoconf 2.61. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -14212,7 +14227,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ -gzip config.status 1.3.7 +gzip config.status 1.3.8 configured by $0, generated by GNU Autoconf 2.61, with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" @@ -14552,6 +14567,7 @@ LIBGZIP_LIBDEPS!$LIBGZIP_LIBDEPS$ac_delim LIBGZIP_LTLIBDEPS!$LIBGZIP_LTLIBDEPS$ac_delim LIBOBJS!$LIBOBJS$ac_delim +ASFLAGS_config!$ASFLAGS_config$ac_delim ac_prefix_program!$ac_prefix_program$ac_delim ASCPP!$ASCPP$ac_delim LTLIBOBJS!$LTLIBOBJS$ac_delim @@ -14559,7 +14575,7 @@ gl_LTLIBOBJS!$gl_LTLIBOBJS$ac_delim _ACEOF - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 26; then + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 27; then break elif $ac_last_try; then { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/gzip-1.3.7/configure.ac new/gzip-1.3.8/configure.ac --- old/gzip-1.3.7/configure.ac 2006-12-07 08:51:55.000000000 +0100 +++ new/gzip-1.3.8/configure.ac 2006-12-09 08:19:57.000000000 +0100 @@ -19,7 +19,7 @@ # 02111-1307, USA. AC_PREREQ([2.60]) -AC_INIT([gzip], [1.3.7], [bug-gzip@gnu.org]) +AC_INIT([gzip], [1.3.8], [bug-gzip@gnu.org]) AC_CONFIG_SRCDIR(gzip.c) AC_CONFIG_AUX_DIR(build-aux) AC_CONFIG_HEADERS([lib/config.h:lib/config.hin]) @@ -52,7 +52,7 @@ AC_OBJEXT # Try to assemble match.S. -# "gcc -E match.s" ignores -E, so we must use match.S. +# "gcc -E match.s" ignores -E, so we must use match_.s. AC_CACHE_CHECK([for assembler], [gzip_cv_assembler], [gzip_cv_assembler=no case " $DEFS " in @@ -64,16 +64,30 @@ : elif eval "$CC -c match_.s >/dev/null 2>&1" && test -f match_.$OBJEXT; then + rm -f match_.$OBJEXT gzip_cv_assembler=yes + if echo 'void foo (void) {}' > conftest.c && + eval "$CC -S conftest.c >/dev/null 2>&1" && + grep '\.note\.GNU-stack' conftest.s >/dev/null 2>&1 && + eval "$CC -c -Wa,--noexecstack match_.s >/dev/null 2>&1" && + test -f match_.$OBJEXT; then + gzip_cv_assembler='yes, with -Wa,--noexecstack' + fi fi fi - rm -f _match.S match_.s match_.$OBJEXT;; + rm -f conftest* _match.S match_.s match_.$OBJEXT;; esac]) -if test $gzip_cv_assembler = yes; then +if test "$gzip_cv_assembler" != no; then AC_DEFINE(ASMV, , [Define if an assembler version of longest_match is available.]) AC_LIBOBJ(match) fi +if test "$gzip_cv_assembler" = 'yes, with -Wa,--noexecstack'; then + ASFLAGS_config='-Wa,--noexecstack' +else + ASFLAGS_config= +fi +AC_SUBST([ASFLAGS_config]) AC_ISC_POSIX AC_C_CONST diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/gzip-1.3.7/deflate.c new/gzip-1.3.8/deflate.c --- old/gzip-1.3.7/deflate.c 2006-11-20 09:40:33.000000000 +0100 +++ new/gzip-1.3.8/deflate.c 2006-12-08 00:53:00.000000000 +0100 @@ -82,7 +82,7 @@ #include "lzw.h" /* just for consistency checking */ #ifdef RCSID -static char rcsid[] = "$Id: deflate.c,v 1.4 2006/11/20 08:40:33 eggert Exp $"; +static char rcsid[] = "$Id: deflate.c,v 1.5 2006/12/07 23:53:00 eggert Exp $"; #endif /* =========================================================================== @@ -607,7 +607,8 @@ /* Find the longest match, discarding those <= prev_length. * At this point we have always match_length < MIN_MATCH */ - if (hash_head != NIL && strstart - hash_head <= MAX_DIST) { + if (hash_head != NIL && strstart - hash_head <= MAX_DIST + && strstart <= window_size - MIN_LOOKAHEAD) { /* To simplify the code, we prevent matches with the string * of window index 0 (in particular we have to avoid a match * of the string with itself at the start of the input file). @@ -695,7 +696,8 @@ match_length = MIN_MATCH-1; if (hash_head != NIL && prev_length < max_lazy_match && - strstart - hash_head <= MAX_DIST) { + strstart - hash_head <= MAX_DIST && + strstart <= window_size - MIN_LOOKAHEAD) { /* To simplify the code, we prevent matches with the string * of window index 0 (in particular we have to avoid a match * of the string with itself at the start of the input file). diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/gzip-1.3.7/doc/Makefile.in new/gzip-1.3.8/doc/Makefile.in --- old/gzip-1.3.7/doc/Makefile.in 2006-12-07 08:56:09.000000000 +0100 +++ new/gzip-1.3.8/doc/Makefile.in 2006-12-09 08:22:50.000000000 +0100 @@ -110,6 +110,7 @@ ALLOCA_H = @ALLOCA_H@ AMTAR = @AMTAR@ ASCPP = @ASCPP@ +ASFLAGS_config = @ASFLAGS_config@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/gzip-1.3.7/doc/gzip.info new/gzip-1.3.8/doc/gzip.info --- old/gzip-1.3.7/doc/gzip.info 2006-12-07 08:56:34.000000000 +0100 +++ new/gzip-1.3.8/doc/gzip.info 2006-12-09 08:23:22.000000000 +0100 @@ -1,6 +1,6 @@ This is gzip.info, produced by makeinfo version 4.8 from gzip.texi. - This manual is for Gzip (version 1.3.7, 1 December 2006), and + This manual is for Gzip (version 1.3.8, 8 December 2006), and documents commands for compressing and decompressing data. Copyright (C) 1998, 1999, 2001, 2002, 2006 Free Software Foundation, @@ -31,7 +31,7 @@ Compressing Files ***************** -This manual is for Gzip (version 1.3.7, 1 December 2006), and documents +This manual is for Gzip (version 1.3.8, 8 December 2006), and documents commands for compressing and decompressing data. Copyright (C) 1998, 1999, 2001, 2002, 2006 Free Software Foundation, @@ -262,11 +262,11 @@ files is also displayed, unless some sizes are unknown. With `--quiet', the title and totals lines are not displayed. - The `gzip' format represents the the input size modulo 2^32, so - the uncompressed size and compression ratio are listed incorrectly - for uncompressed files 4 GB and larger. To work around this - problem, you can use the following command to discover a large - uncompressed file's true size: + The `gzip' format represents the input size modulo 2^32, so the + uncompressed size and compression ratio are listed incorrectly for + uncompressed files 4 GB and larger. To work around this problem, + you can use the following command to discover a large uncompressed + file's true size: zcat file.gz | wc -c @@ -912,12 +912,12 @@ Node: Overview2133 Node: Sample7309 Node: Invoking gzip8964 -Node: Advanced usage13946 -Node: Environment15536 -Node: Tapes16105 -Node: Problems17120 -Node: Copying This Manual17579 -Node: GNU Free Documentation License17817 -Node: Concept Index40213 +Node: Advanced usage13942 +Node: Environment15532 +Node: Tapes16101 +Node: Problems17116 +Node: Copying This Manual17575 +Node: GNU Free Documentation License17813 +Node: Concept Index40209 End Tag Table diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/gzip-1.3.7/doc/gzip.texi new/gzip-1.3.8/doc/gzip.texi --- old/gzip-1.3.7/doc/gzip.texi 2006-12-02 07:13:03.000000000 +0100 +++ new/gzip-1.3.8/doc/gzip.texi 2006-12-08 19:45:37.000000000 +0100 @@ -291,7 +291,7 @@ is also displayed, unless some sizes are unknown. With @samp{--quiet}, the title and totals lines are not displayed. -The @code{gzip} format represents the the input size modulo +The @code{gzip} format represents the input size modulo @math{2^32}, so the uncompressed size and compression ratio are listed incorrectly for uncompressed files 4 GB and larger. To work around this problem, you can use the following command to discover a large diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/gzip-1.3.7/doc/stamp-vti new/gzip-1.3.8/doc/stamp-vti --- old/gzip-1.3.7/doc/stamp-vti 2006-12-07 08:56:34.000000000 +0100 +++ new/gzip-1.3.8/doc/stamp-vti 2006-12-09 08:23:22.000000000 +0100 @@ -1,4 +1,4 @@ -@set UPDATED 1 December 2006 +@set UPDATED 8 December 2006 @set UPDATED-MONTH December 2006 -@set EDITION 1.3.7 -@set VERSION 1.3.7 +@set EDITION 1.3.8 +@set VERSION 1.3.8 diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/gzip-1.3.7/doc/version.texi new/gzip-1.3.8/doc/version.texi --- old/gzip-1.3.7/doc/version.texi 2006-12-07 08:56:34.000000000 +0100 +++ new/gzip-1.3.8/doc/version.texi 2006-12-09 08:23:22.000000000 +0100 @@ -1,4 +1,4 @@ -@set UPDATED 1 December 2006 +@set UPDATED 8 December 2006 @set UPDATED-MONTH December 2006 -@set EDITION 1.3.7 -@set VERSION 1.3.7 +@set EDITION 1.3.8 +@set VERSION 1.3.8 diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/gzip-1.3.7/gzexe.in new/gzip-1.3.8/gzexe.in --- old/gzip-1.3.7/gzexe.in 2006-12-01 21:52:52.000000000 +0100 +++ new/gzip-1.3.8/gzexe.in 2006-12-09 07:58:27.000000000 +0100 @@ -74,12 +74,13 @@ fi tmp= -trap ' - res=$? +trap 'res=$? test -n "$tmp" && rm -f "$tmp" (exit $res); exit $res ' 0 1 2 3 5 10 13 15 +mktemp_status= + for i do case $i in -*) file=./$i;; @@ -115,8 +116,15 @@ dir=`dirname "$file"` || dir=$TMPDIR test -d "$dir" && test -w "$dir" && test -x "$dir" || dir=/tmp test -n "$tmp" && rm -f "$tmp" - tmp=`TMPDIR=$dir mktemp -t gzexeXXXXXX` || tmp=$dir/gzexe$$ - cp -p "$file" "$tmp" 2>/dev/null || cp "$file" "$tmp" || { + if test -z "$mktemp_status"; then + type mktemp >/dev/null 2>&1 + mktemp_status=$? + fi + if test $mktemp_status -eq 0; then + tmp=`TMPDIR=$dir mktemp -t gzexeXXXXXX` + else + tmp=$dir/gzexe$$ + fi && { cp -p "$file" "$tmp" 2>/dev/null || cp "$file" "$tmp"; } || { res=$? echo >&2 "$0: cannot copy $file" continue @@ -134,7 +142,7 @@ if test $decomp -eq 0; then (cat <<'EOF' && #!/bin/sh -skip=43 +skip=44 tab=' ' nl=' @@ -145,15 +153,16 @@ umask 77 gztmpdir= -trap ' - res=$? +trap 'res=$? test -n "$gztmpdir" && rm -fr "$gztmpdir" (exit $res); exit $res ' 0 1 2 3 5 10 13 15 -gztmpdir=`(mktemp -dt) 2>/dev/null` || - { gztmpdir=/tmp/gztmp$$; mkdir $gztmpdir; } || - { (exit 127); exit 127; } +if type mktemp >/dev/null 2>&1; then + gztmpdir=`mktemp -dt` +else + gztmpdir=/tmp/gztmp$$; mkdir $gztmpdir +fi || { (exit 127); exit 127; } gztmp=$gztmpdir/$0 case $0 in @@ -184,7 +193,7 @@ else # decompression - skip=43 + skip=44 skip_line=`sed -e 1d -e 2q "$file"` case $skip_line in skip=[0-9] | skip=[0-9][0-9] | skip=[0-9][0-9][0-9]) diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/gzip-1.3.7/gzip.1 new/gzip-1.3.8/gzip.1 --- old/gzip-1.3.7/gzip.1 2006-11-26 07:23:40.000000000 +0100 +++ new/gzip-1.3.8/gzip.1 2006-12-08 19:45:37.000000000 +0100 @@ -473,7 +473,7 @@ for reading and writing compressed data on tapes. (This example assumes you are using the GNU version of tar.) .SH BUGS -The gzip format represents the the input size modulo 2^32, so the +The gzip format represents the input size modulo 2^32, so the --list option reports incorrect uncompressed sizes and compression ratios for uncompressed files 4 GB and larger. To work around this problem, you can use the following command to discover a large diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/gzip-1.3.7/gzip.c new/gzip-1.3.8/gzip.c --- old/gzip-1.3.7/gzip.c 2006-12-07 07:58:13.000000000 +0100 +++ new/gzip-1.3.8/gzip.c 2006-12-09 02:19:52.000000000 +0100 @@ -54,7 +54,7 @@ */ #ifdef RCSID -static char rcsid[] = "$Id: gzip.c,v 1.8 2006/12/07 06:58:13 eggert Exp $"; +static char rcsid[] = "$Id: gzip.c,v 1.9 2006/12/09 01:19:52 eggert Exp $"; #endif #include <config.h> @@ -85,10 +85,6 @@ # include <fcntl.h> #endif -#ifdef HAVE_LIMITS_H -# include <limits.h> -#endif - #ifdef HAVE_UNISTD_H # include <unistd.h> #endif @@ -539,6 +535,7 @@ ALLOC(ush, tab_prefix1, 1L<<(BITS-1)); #endif + exiting_signal = quiet ? SIGPIPE : 0; install_signal_handlers (); /* And get to work */ @@ -1780,8 +1777,6 @@ int nsigs = sizeof sig / sizeof sig[0]; int i; - exiting_signal = quiet ? SIGPIPE : 0; - #if SA_NOCLDSTOP struct sigaction act; diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/gzip-1.3.7/gzip.doc new/gzip-1.3.8/gzip.doc --- old/gzip-1.3.7/gzip.doc 2006-12-07 08:56:44.000000000 +0100 +++ new/gzip-1.3.8/gzip.doc 2006-12-09 08:23:32.000000000 +0100 @@ -336,11 +336,11 @@ assumes you are using the GNU version of tar.) BUGS - The gzip format represents the the input size modulo 2^32, so the - --list option reports incorrect uncompressed sizes and compression - ratios for uncompressed files 4 GB and larger. To work around this - problem, you can use the following command to discover a large uncom- - pressed file's true size: + The gzip format represents the input size modulo 2^32, so the --list + option reports incorrect uncompressed sizes and compression ratios for + uncompressed files 4 GB and larger. To work around this problem, you + can use the following command to discover a large uncompressed file's + true size: zcat file.gz | wc -c diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/gzip-1.3.7/gzip.h new/gzip-1.3.8/gzip.h --- old/gzip-1.3.7/gzip.h 2006-11-20 09:40:33.000000000 +0100 +++ new/gzip-1.3.8/gzip.h 2006-12-09 02:19:52.000000000 +0100 @@ -59,6 +59,10 @@ # define memzero(s, n) bzero((s), (n)) #endif +#ifdef HAVE_LIMITS_H +# include <limits.h> +#endif + #ifndef RETSIGTYPE # define RETSIGTYPE void #endif @@ -101,6 +105,10 @@ # else # define INBUFSIZ 0x8000 /* input buffer size */ # endif +# if defined SSIZE_MAX && SSIZE_MAX < INBUFSIZ +# undef INBUFSIZ +# define INBUFSIZ SSIZE_MAX +# endif #endif #define INBUF_EXTRA 64 /* required by unlzw() */ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/gzip-1.3.7/lib/Makefile.am new/gzip-1.3.8/lib/Makefile.am --- old/gzip-1.3.7/lib/Makefile.am 2006-12-07 08:23:35.000000000 +0100 +++ new/gzip-1.3.8/lib/Makefile.am 2006-12-08 10:30:30.000000000 +0100 @@ -28,7 +28,7 @@ match.$(OBJEXT): match.c cp $(srcdir)/match.c _match.S $(ASCPP) _match.S > match_.s - $(CC) -c $(CFLAGS) match_.s + $(CC) -c $(CFLAGS) $(ASFLAGS_config) match_.s mv match_.$(OBJEXT) $@ rm -f _match.S match_.s diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/gzip-1.3.7/lib/Makefile.in new/gzip-1.3.8/lib/Makefile.in --- old/gzip-1.3.7/lib/Makefile.in 2006-12-07 08:56:09.000000000 +0100 +++ new/gzip-1.3.8/lib/Makefile.in 2006-12-09 08:22:50.000000000 +0100 @@ -121,6 +121,7 @@ ALLOCA_H = @ALLOCA_H@ AMTAR = @AMTAR@ ASCPP = @ASCPP@ +ASFLAGS_config = @ASFLAGS_config@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ @@ -667,7 +668,7 @@ match.$(OBJEXT): match.c cp $(srcdir)/match.c _match.S $(ASCPP) _match.S > match_.s - $(CC) -c $(CFLAGS) match_.s + $(CC) -c $(CFLAGS) $(ASFLAGS_config) match_.s mv match_.$(OBJEXT) $@ rm -f _match.S match_.s # Tell versions [3.59,3.63) of GNU make to not export all variables. diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/gzip-1.3.7/util.c new/gzip-1.3.8/util.c --- old/gzip-1.3.7/util.c 2006-11-20 09:40:34.000000000 +0100 +++ new/gzip-1.3.8/util.c 2006-12-09 02:19:53.000000000 +0100 @@ -1,6 +1,7 @@ /* util.c -- utility functions for gzip support - Copyright (C) 1997, 1998, 1999, 2001, 2002 Free Software Foundation, Inc. + Copyright (C) 1997, 1998, 1999, 2001, 2002, 2006 Free Software + Foundation, Inc. Copyright (C) 1992-1993 Jean-loup Gailly This program is free software; you can redistribute it and/or modify @@ -18,7 +19,7 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifdef RCSID -static char rcsid[] = "$Id: util.c,v 1.4 2006/11/20 08:40:34 eggert Exp $"; +static char rcsid[] = "$Id: util.c,v 1.5 2006/12/09 01:19:53 eggert Exp $"; #endif #include <config.h> @@ -27,9 +28,6 @@ #include "tailor.h" -#ifdef HAVE_LIMITS_H -# include <limits.h> -#endif #ifdef HAVE_UNISTD_H # include <unistd.h> #endif diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/gzip-1.3.7/zdiff.in new/gzip-1.3.8/zdiff.in --- old/gzip-1.3.7/zdiff.in 2006-11-20 09:40:34.000000000 +0100 +++ new/gzip-1.3.8/zdiff.in 2006-12-09 05:25:56.000000000 +0100 @@ -1,4 +1,3 @@ -: #!/bin/sh # sh is buggy on RS/6000 AIX 3.2. Replace above line with #!/bin/ksh diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/gzip-1.3.7/zforce.in new/gzip-1.3.8/zforce.in --- old/gzip-1.3.7/zforce.in 2006-11-20 09:40:34.000000000 +0100 +++ new/gzip-1.3.8/zforce.in 2006-12-09 05:25:56.000000000 +0100 @@ -1,4 +1,3 @@ -: #!/bin/sh # zforce: force a gz extension on all gzip files so that gzip will not # compress them twice. diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/gzip-1.3.7/zgrep.in new/gzip-1.3.8/zgrep.in --- old/gzip-1.3.7/zgrep.in 2006-11-26 21:48:29.000000000 +0100 +++ new/gzip-1.3.8/zgrep.in 2006-12-09 05:25:56.000000000 +0100 @@ -1,4 +1,3 @@ -: #!/bin/sh # zgrep -- a wrapper around a grep program that decompresses files as needed diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/gzip-1.3.7/zip.c new/gzip-1.3.8/zip.c --- old/gzip-1.3.7/zip.c 2006-11-20 09:40:34.000000000 +0100 +++ new/gzip-1.3.8/zip.c 2006-12-09 02:19:53.000000000 +0100 @@ -18,7 +18,7 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifdef RCSID -static char rcsid[] = "$Id: zip.c,v 1.4 2006/11/20 08:40:34 eggert Exp $"; +static char rcsid[] = "$Id: zip.c,v 1.5 2006/12/09 01:19:53 eggert Exp $"; #endif #include <config.h> @@ -28,6 +28,8 @@ #include "gzip.h" #include "crypt.h" +#include "timespec.h" + #ifdef HAVE_UNISTD_H # include <unistd.h> #endif diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/gzip-1.3.7/zless.in new/gzip-1.3.8/zless.in --- old/gzip-1.3.7/zless.in 2006-11-20 09:40:34.000000000 +0100 +++ new/gzip-1.3.8/zless.in 2006-12-09 05:25:56.000000000 +0100 @@ -1,4 +1,3 @@ -: #!/bin/sh # Copyright (C) 1998, 2002, 2006 Free Software Foundation diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/gzip-1.3.7/zmore.in new/gzip-1.3.8/zmore.in --- old/gzip-1.3.7/zmore.in 2006-11-20 09:40:34.000000000 +0100 +++ new/gzip-1.3.8/zmore.in 2006-12-09 05:25:56.000000000 +0100 @@ -1,4 +1,3 @@ -: #!/bin/sh # Copyright (C) 2001, 2002 Free Software Foundation diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/gzip-1.3.7/znew.in new/gzip-1.3.8/znew.in --- old/gzip-1.3.7/znew.in 2006-11-20 09:40:34.000000000 +0100 +++ new/gzip-1.3.8/znew.in 2006-12-09 05:25:56.000000000 +0100 @@ -1,4 +1,3 @@ -: #!/bin/sh # Copyright (C) 1998, 2002, 2004 Free Software Foundation ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@suse.de