<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-25047</id>
	<title>Nabble - Gnu - Gzip</title>
	<updated>2009-11-20T12:08:10Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Gnu---Gzip-f25047.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Gnu---Gzip-f25047.html" />
	<subtitle type="html">&lt;a href=&quot;http://www.gnu.org/software/gzip/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gzip (GNU zip)&lt;/a&gt;&amp;nbsp;is a popular data compression program.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26449531</id>
	<title>warning clean-up</title>
	<published>2009-11-20T12:08:10Z</published>
	<updated>2009-11-20T12:08:10Z</updated>
	<author>
		<name>Jim Meyering</name>
	</author>
	<content type="html">I've just pushed a bunch of changes:
&lt;br&gt;&lt;br&gt;Here's a summary:
&lt;br&gt;&lt;br&gt;[PATCH 01/10] build: &amp;quot;make stable&amp;quot; emitted an invalid gnupload command
&lt;br&gt;[PATCH 02/10] maint: cfg.mk: remove factored-out ftp host/dir definitions
&lt;br&gt;[PATCH 03/10] maint: tweak formatting of bootstrap.conf
&lt;br&gt;[PATCH 04/10] build: enable many warnings
&lt;br&gt;[PATCH 05/10] build: use gnulib's fdopendir module
&lt;br&gt;[PATCH 06/10] build: avoid warnings from -Wstrict-prototypes
&lt;br&gt;[PATCH 07/10] build: avoid many const-related warnings
&lt;br&gt;[PATCH 08/10] build: util.c: avoid warnings about add_envopt
&lt;br&gt;[PATCH 09/10] build: avoid warnings about unused macros
&lt;br&gt;[PATCH 10/10] build: unlzw.c: avoid warnings about unused macros
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;Makefile.am &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;2 -
&lt;br&gt;&amp;nbsp;b/Makefile.am &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;1
&lt;br&gt;&amp;nbsp;b/README-release | &amp;nbsp; &amp;nbsp;2 -
&lt;br&gt;&amp;nbsp;b/bootstrap.conf | &amp;nbsp; 59 ++++++++++++++++++--------------------
&lt;br&gt;&amp;nbsp;b/cfg.mk &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;5 +--
&lt;br&gt;&amp;nbsp;b/configure.ac &amp;nbsp; | &amp;nbsp; 84 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
&lt;br&gt;&amp;nbsp;b/deflate.c &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;5 ---
&lt;br&gt;&amp;nbsp;b/gnulib &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;3 -
&lt;br&gt;&amp;nbsp;b/gzip.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;7 ----
&lt;br&gt;&amp;nbsp;b/gzip.h &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;6 +--
&lt;br&gt;&amp;nbsp;b/lib/.gitignore | &amp;nbsp; 37 ++++++++++++++++++++++++
&lt;br&gt;&amp;nbsp;b/m4/.gitignore &amp;nbsp;| &amp;nbsp; &amp;nbsp;3 +
&lt;br&gt;&amp;nbsp;b/unzip.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;3 -
&lt;br&gt;&amp;nbsp;b/util.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; 15 +++------
&lt;br&gt;&amp;nbsp;bootstrap.conf &amp;nbsp; | &amp;nbsp; &amp;nbsp;4 +-
&lt;br&gt;&amp;nbsp;cfg.mk &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; 10 ------
&lt;br&gt;&amp;nbsp;configure.ac &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;5 +--
&lt;br&gt;&amp;nbsp;gzip.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; 32 +++++++++-----------
&lt;br&gt;&amp;nbsp;m4/.gitignore &amp;nbsp; &amp;nbsp;| &amp;nbsp; 22 +++++++++++++-
&lt;br&gt;&amp;nbsp;util.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; 18 +++++------
&lt;br&gt;&amp;nbsp;20 files changed, 218 insertions(+), 105 deletions(-)
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/warning-clean-up-tp26449531p26449531.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26450020</id>
	<title>[PATCH 10/10] build: unlzw.c: avoid warnings about unused macros</title>
	<published>2009-11-20T12:06:21Z</published>
	<updated>2009-11-20T12:06:21Z</updated>
	<author>
		<name>Jim Meyering</name>
	</author>
	<content type="html">From: Jim Meyering &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26450020&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;meyering@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;* configure.ac: Turn off -Wunused-macros.
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;configure.ac | &amp;nbsp; &amp;nbsp;2 +-
&lt;br&gt;&amp;nbsp;1 files changed, 1 insertions(+), 1 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/configure.ac b/configure.ac
&lt;br&gt;index d87c5f3..6442ab6 100644
&lt;br&gt;--- a/configure.ac
&lt;br&gt;+++ b/configure.ac
&lt;br&gt;@@ -90,6 +90,7 @@ if test &amp;quot;$gl_gcc_warnings&amp;quot; = yes; then
&lt;br&gt;&amp;nbsp; &amp;nbsp;# initial problems in gzip
&lt;br&gt;&amp;nbsp; &amp;nbsp;nw=&amp;quot;$nw -Wold-style-definition&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp;nw=&amp;quot;$nw -Wshadow&amp;quot;
&lt;br&gt;+ &amp;nbsp;nw=&amp;quot;$nw -Wunused-macros&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp;# ?? -Wstrict-overflow
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;gl_MANYWARN_ALL_GCC([ws])
&lt;br&gt;@@ -120,7 +121,6 @@ if test &amp;quot;$gl_gcc_warnings&amp;quot; = yes; then
&lt;br&gt;&amp;nbsp; &amp;nbsp;# Remove the following and save the result in GNULIB_WARN_CFLAGS.
&lt;br&gt;&amp;nbsp; &amp;nbsp;nw=
&lt;br&gt;&amp;nbsp; &amp;nbsp;nw=&amp;quot;$nw -Wuninitialized&amp;quot;
&lt;br&gt;- &amp;nbsp;nw=&amp;quot;$nw -Wunused-macros&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp;nw=&amp;quot;$nw -Wmissing-prototypes&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp;nw=&amp;quot;$nw -Wold-style-definition&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp;gl_MANYWARN_COMPLEMENT([GNULIB_WARN_CFLAGS], [$WARN_CFLAGS], [$nw])
&lt;br&gt;-- 
&lt;br&gt;1.6.5.3.433.g11067
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH-01-10--build%3A-%22make-stable%22-emitted-an-invalid-gnupload-command-tp26449510p26450020.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26449511</id>
	<title>[PATCH 09/10] build: avoid warnings about unused macros</title>
	<published>2009-11-20T12:06:20Z</published>
	<updated>2009-11-20T12:06:20Z</updated>
	<author>
		<name>Jim Meyering</name>
	</author>
	<content type="html">From: Jim Meyering &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26449511&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;meyering@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;* unzip.c (LOCTIM): Comment out unused macro.
&lt;br&gt;* deflate.c (EQUAL): Remove definition. &amp;nbsp;Use &amp;quot;0&amp;quot; at sole point of use.
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;deflate.c | &amp;nbsp; &amp;nbsp;5 +----
&lt;br&gt;&amp;nbsp;unzip.c &amp;nbsp; | &amp;nbsp; &amp;nbsp;2 +-
&lt;br&gt;&amp;nbsp;2 files changed, 2 insertions(+), 5 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/deflate.c b/deflate.c
&lt;br&gt;index 3ba514d..3041864 100644
&lt;br&gt;--- a/deflate.c
&lt;br&gt;+++ b/deflate.c
&lt;br&gt;@@ -251,9 +251,6 @@ local config configuration_table[10] = {
&lt;br&gt;&amp;nbsp; * meaning.
&lt;br&gt;&amp;nbsp; */
&lt;br&gt;&lt;br&gt;-#define EQUAL 0
&lt;br&gt;-/* result of memcmp for equal strings */
&lt;br&gt;-
&lt;br&gt;&amp;nbsp;/* ===========================================================================
&lt;br&gt;&amp;nbsp; * &amp;nbsp;Prototypes for local functions.
&lt;br&gt;&amp;nbsp; */
&lt;br&gt;@@ -500,7 +497,7 @@ local void check_match(start, match, length)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;/* check that the match is indeed a match */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if (memcmp((char*)window + match,
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(char*)window + start, length) != EQUAL) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(char*)window + start, length) != 0) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;fprintf(stderr,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot; start %d, match %d, length %d\n&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;start, match, length);
&lt;br&gt;diff --git a/unzip.c b/unzip.c
&lt;br&gt;index ceadbbc..a389e8a 100644
&lt;br&gt;--- a/unzip.c
&lt;br&gt;+++ b/unzip.c
&lt;br&gt;@@ -39,7 +39,7 @@
&lt;br&gt;&amp;nbsp;#define &amp;nbsp;CRPFLG 1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* &amp;nbsp;bit for encrypted entry */
&lt;br&gt;&amp;nbsp;#define &amp;nbsp;EXTFLG 8 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* &amp;nbsp;bit for extended local header */
&lt;br&gt;&amp;nbsp;#define LOCHOW 8 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* offset of compression method */
&lt;br&gt;-#define LOCTIM 10 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* file mod time (for decryption) */
&lt;br&gt;+/* #define LOCTIM 10 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; UNUSED file mod time (for decryption) */
&lt;br&gt;&amp;nbsp;#define LOCCRC 14 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* offset of crc */
&lt;br&gt;&amp;nbsp;#define LOCSIZ 18 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* offset of compressed size */
&lt;br&gt;&amp;nbsp;#define LOCLEN 22 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* offset of uncompressed length */
&lt;br&gt;-- 
&lt;br&gt;1.6.5.3.433.g11067
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH-01-10--build%3A-%22make-stable%22-emitted-an-invalid-gnupload-command-tp26449510p26449511.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26449513</id>
	<title>[PATCH 08/10] build: util.c: avoid warnings about add_envopt</title>
	<published>2009-11-20T12:06:19Z</published>
	<updated>2009-11-20T12:06:19Z</updated>
	<author>
		<name>Jim Meyering</name>
	</author>
	<content type="html">From: Jim Meyering &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26449513&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;meyering@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;* util.c (add_envopt): The parameter &amp;quot;env&amp;quot; was used for two conflicting
&lt;br&gt;purposes. &amp;nbsp;One use required a const char* parameter, while the other
&lt;br&gt;was used as an argument to free, which must not be &amp;quot;const&amp;quot;.
&lt;br&gt;Rename the parameter and use a new local variable for the second role.
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;util.c | &amp;nbsp; 17 +++++++++--------
&lt;br&gt;&amp;nbsp;1 files changed, 9 insertions(+), 8 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/util.c b/util.c
&lt;br&gt;index 6bd0987..d0d7774 100644
&lt;br&gt;--- a/util.c
&lt;br&gt;+++ b/util.c
&lt;br&gt;@@ -360,20 +360,21 @@ int strcspn(s, reject)
&lt;br&gt;&amp;nbsp;char *add_envopt(
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int *argcp, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* pointer to argc */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;char ***argvp, &amp;nbsp; &amp;nbsp; &amp;nbsp; /* pointer to argv */
&lt;br&gt;- &amp;nbsp; &amp;nbsp;char const *env) &amp;nbsp; &amp;nbsp; /* name of environment variable */
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;char const *envvar_name) /* name of environment variable */
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;char *p; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* running pointer through env variable */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;char **oargv; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* runs through old argv array */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;char **nargv; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* runs through new argv array */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int	 oargc = *argcp; /* old argc */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int &amp;nbsp;nargc = 0; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* number of arguments in env variable */
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;char *env_val;
&lt;br&gt;&lt;br&gt;- &amp;nbsp; &amp;nbsp;env = (char*)getenv(env);
&lt;br&gt;- &amp;nbsp; &amp;nbsp;if (env == NULL) return NULL;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;env_val = getenv(envvar_name);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;if (env_val == NULL) return NULL;
&lt;br&gt;&lt;br&gt;- &amp;nbsp; &amp;nbsp;env = xstrdup (env);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;env_val = xstrdup (env_val);
&lt;br&gt;&lt;br&gt;- &amp;nbsp; &amp;nbsp;for (p = env; *p; nargc++ ) { &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* move through env */
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;for (p = env_val; *p; nargc++ ) { &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* move through env_val */
&lt;br&gt;&amp;nbsp;	p += strspn(p, SEPARATOR);	 &amp;nbsp; &amp;nbsp; /* skip leading separators */
&lt;br&gt;&amp;nbsp;	if (*p == '\0') break;
&lt;br&gt;&lt;br&gt;@@ -381,7 +382,7 @@ char *add_envopt(
&lt;br&gt;&amp;nbsp;	if (*p) *p++ = '\0';		 &amp;nbsp; &amp;nbsp; /* mark it */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if (nargc == 0) {
&lt;br&gt;-	free(env);
&lt;br&gt;+	free(env_val);
&lt;br&gt;&amp;nbsp;	return NULL;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*argcp += nargc;
&lt;br&gt;@@ -398,7 +399,7 @@ char *add_envopt(
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*(nargv++) = *(oargv++);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;/* Then copy the environment args */
&lt;br&gt;- &amp;nbsp; &amp;nbsp;for (p = env; nargc &amp;gt; 0; nargc--) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;for (p = env_val; nargc &amp;gt; 0; nargc--) {
&lt;br&gt;&amp;nbsp;	p += strspn(p, SEPARATOR);	 &amp;nbsp; &amp;nbsp; /* skip separators */
&lt;br&gt;&amp;nbsp;	*(nargv++) = p;			 &amp;nbsp; &amp;nbsp; /* store start */
&lt;br&gt;&amp;nbsp;	while (*p++) ;			 &amp;nbsp; &amp;nbsp; /* skip over word */
&lt;br&gt;@@ -407,7 +408,7 @@ char *add_envopt(
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;/* Finally copy the old args and add a NULL (usual convention) */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;while (oargc--) *(nargv++) = *(oargv++);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*nargv = NULL;
&lt;br&gt;- &amp;nbsp; &amp;nbsp;return env;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;return env_val;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&lt;br&gt;&amp;nbsp;/* ========================================================================
&lt;br&gt;-- 
&lt;br&gt;1.6.5.3.433.g11067
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH-01-10--build%3A-%22make-stable%22-emitted-an-invalid-gnupload-command-tp26449510p26449513.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26450018</id>
	<title>[PATCH 07/10] build: avoid many const-related warnings</title>
	<published>2009-11-20T12:06:18Z</published>
	<updated>2009-11-20T12:06:18Z</updated>
	<author>
		<name>Jim Meyering</name>
	</author>
	<content type="html">From: Jim Meyering &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26450018&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;meyering@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;* gzip.c: Add &amp;quot;const&amp;quot; to many variables, to avoid compiler warnings.
&lt;br&gt;* util.c (add_envopt): Make 3rd parameter const
&lt;br&gt;(gzip_error): Make sole parameter const.
&lt;br&gt;* gzip.h: Update prototypes.
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;gzip.c | &amp;nbsp; 24 ++++++++++++------------
&lt;br&gt;&amp;nbsp;gzip.h | &amp;nbsp; &amp;nbsp;6 +++---
&lt;br&gt;&amp;nbsp;util.c | &amp;nbsp; 14 ++++++--------
&lt;br&gt;&amp;nbsp;3 files changed, 21 insertions(+), 23 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/gzip.c b/gzip.c
&lt;br&gt;index c1280d2..07bebc3 100644
&lt;br&gt;--- a/gzip.c
&lt;br&gt;+++ b/gzip.c
&lt;br&gt;@@ -28,7 +28,7 @@
&lt;br&gt;&amp;nbsp; * See the file algorithm.doc for the compression algorithms and file formats.
&lt;br&gt;&amp;nbsp; */
&lt;br&gt;&lt;br&gt;-static char &amp;nbsp;*license_msg[] = {
&lt;br&gt;+static char const *const license_msg[] = {
&lt;br&gt;&amp;nbsp;&amp;quot;Copyright (C) 2007 Free Software Foundation, Inc.&amp;quot;,
&lt;br&gt;&amp;nbsp;&amp;quot;Copyright (C) 1993 Jean-loup Gailly.&amp;quot;,
&lt;br&gt;&amp;nbsp;&amp;quot;This is free software. &amp;nbsp;You may redistribute copies of it under the terms of&amp;quot;,
&lt;br&gt;@@ -203,7 +203,7 @@ struct timespec time_stamp; /* original time stamp (modification time) */
&lt;br&gt;&amp;nbsp;off_t ifile_size; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* input file size, -1 for devices (debug only) */
&lt;br&gt;&amp;nbsp;char *env; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* contents of GZIP env variable */
&lt;br&gt;&amp;nbsp;char **args = NULL; &amp;nbsp; /* argv pointer if GZIP env variable defined */
&lt;br&gt;-char *z_suffix; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* default suffix (can be set with --suffix) */
&lt;br&gt;+char const *z_suffix; /* default suffix (can be set with --suffix) */
&lt;br&gt;&amp;nbsp;size_t z_len; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* strlen(z_suffix) */
&lt;br&gt;&lt;br&gt;&amp;nbsp;/* The set of signals that are caught. &amp;nbsp;*/
&lt;br&gt;@@ -327,7 +327,7 @@ try_help ()
&lt;br&gt;&amp;nbsp;/* ======================================================================== */
&lt;br&gt;&amp;nbsp;local void help()
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;- &amp;nbsp; &amp;nbsp;static char &amp;nbsp;*help_msg[] = {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;static char const* const help_msg[] = {
&lt;br&gt;&amp;nbsp; &amp;quot;Compress or uncompress FILEs (by default, compress FILES in-place).&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;quot;&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;quot;Mandatory arguments to long options are mandatory for short options too.&amp;quot;,
&lt;br&gt;@@ -368,7 +368,7 @@ local void help()
&lt;br&gt;&amp;nbsp; &amp;quot;&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;quot;Report bugs to &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26450018&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bug-gzip@...&lt;/a&gt;&amp;gt;.&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp;0};
&lt;br&gt;- &amp;nbsp; &amp;nbsp;char **p = help_msg;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;char const *const *p = help_msg;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf (&amp;quot;Usage: %s [OPTION]... [FILE]...\n&amp;quot;, program_name);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;while (*p) printf (&amp;quot;%s\n&amp;quot;, *p++);
&lt;br&gt;@@ -377,7 +377,7 @@ local void help()
&lt;br&gt;&amp;nbsp;/* ======================================================================== */
&lt;br&gt;&amp;nbsp;local void license()
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;- &amp;nbsp; &amp;nbsp;char **p = license_msg;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;char const *const *p = license_msg;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf (&amp;quot;%s %s\n&amp;quot;, program_name, VERSION);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;while (*p) printf (&amp;quot;%s\n&amp;quot;, *p++);
&lt;br&gt;@@ -970,13 +970,13 @@ local char *get_suffix(name)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int nlen, slen;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;char suffix[MAX_SUFFIX+3]; /* last chars of name, forced to lower case */
&lt;br&gt;- &amp;nbsp; &amp;nbsp;static char *known_suffixes[] =
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;static char const *known_suffixes[] =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {NULL, &amp;quot;.gz&amp;quot;, &amp;quot;.z&amp;quot;, &amp;quot;.taz&amp;quot;, &amp;quot;.tgz&amp;quot;, &amp;quot;-gz&amp;quot;, &amp;quot;-z&amp;quot;, &amp;quot;_z&amp;quot;,
&lt;br&gt;&amp;nbsp;#ifdef MAX_EXT_CHARS
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;z&amp;quot;,
&lt;br&gt;&amp;nbsp;#endif
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;NULL};
&lt;br&gt;- &amp;nbsp; &amp;nbsp;char **suf = known_suffixes;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;char const **suf = known_suffixes;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*suf = z_suffix;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if (strequ(z_suffix, &amp;quot;z&amp;quot;)) suf++; /* check long suffixes first */
&lt;br&gt;@@ -1061,9 +1061,9 @@ open_input_file (iname, sbuf)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int ilen; &amp;nbsp;/* strlen(ifname) */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int z_suffix_errno = 0;
&lt;br&gt;- &amp;nbsp; &amp;nbsp;static char *suffixes[] = {NULL, &amp;quot;.gz&amp;quot;, &amp;quot;.z&amp;quot;, &amp;quot;-z&amp;quot;, &amp;quot;.Z&amp;quot;, NULL};
&lt;br&gt;- &amp;nbsp; &amp;nbsp;char **suf = suffixes;
&lt;br&gt;- &amp;nbsp; &amp;nbsp;char *s;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;static char const *suffixes[] = {NULL, &amp;quot;.gz&amp;quot;, &amp;quot;.z&amp;quot;, &amp;quot;-z&amp;quot;, &amp;quot;.Z&amp;quot;, NULL};
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;char const **suf = suffixes;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;char const *s;
&lt;br&gt;&amp;nbsp;#ifdef NO_MULTIPLE_DOTS
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;char *dot; /* pointer to ifname extension, or NULL */
&lt;br&gt;&amp;nbsp;#endif
&lt;br&gt;@@ -1107,7 +1107,7 @@ open_input_file (iname, sbuf)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;/* Search for all suffixes */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;do {
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;char *s0 = s = *suf;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;char const *s0 = s = *suf;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;strcpy (ifname, iname);
&lt;br&gt;&amp;nbsp;#ifdef NO_MULTIPLE_DOTS
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (*s == '.') s++;
&lt;br&gt;@@ -1448,7 +1448,7 @@ local void do_list(ifd, method)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;ulg crc; &amp;nbsp;/* original crc */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;static int first_time = 1;
&lt;br&gt;- &amp;nbsp; &amp;nbsp;static char* methods[MAX_METHODS] = {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;static char const *const methods[MAX_METHODS] = {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;store&amp;quot;, &amp;nbsp;/* 0 */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;compr&amp;quot;, &amp;nbsp;/* 1 */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;pack &amp;quot;, &amp;nbsp;/* 2 */
&lt;br&gt;diff --git a/gzip.h b/gzip.h
&lt;br&gt;index c4f890f..1ab89e6 100644
&lt;br&gt;--- a/gzip.h
&lt;br&gt;+++ b/gzip.h
&lt;br&gt;@@ -329,10 +329,10 @@ extern char *strlwr &amp;nbsp; &amp;nbsp; &amp;nbsp; OF((char *s));
&lt;br&gt;&amp;nbsp;extern char *gzip_base_name OF((char *fname));
&lt;br&gt;&amp;nbsp;extern int xunlink &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;OF((char *fname));
&lt;br&gt;&amp;nbsp;extern void make_simple_name OF((char *name));
&lt;br&gt;-extern char *add_envopt &amp;nbsp; OF((int *argcp, char ***argvp, char *env));
&lt;br&gt;-extern void gzip_error &amp;nbsp; &amp;nbsp;OF((char *m)) ATTRIBUTE_NORETURN;
&lt;br&gt;+extern char *add_envopt &amp;nbsp; OF((int *argcp, char ***argvp, char const *env));
&lt;br&gt;+extern void gzip_error &amp;nbsp; &amp;nbsp;OF((char const *m)) ATTRIBUTE_NORETURN;
&lt;br&gt;&amp;nbsp;extern void xalloc_die &amp;nbsp; &amp;nbsp;OF((void)) ATTRIBUTE_NORETURN;
&lt;br&gt;-extern void warning &amp;nbsp; &amp;nbsp; &amp;nbsp; OF((char *m));
&lt;br&gt;+extern void warning &amp;nbsp; &amp;nbsp; &amp;nbsp; OF((char const *m));
&lt;br&gt;&amp;nbsp;extern void read_error &amp;nbsp; &amp;nbsp;OF((void));
&lt;br&gt;&amp;nbsp;extern void write_error &amp;nbsp; OF((void));
&lt;br&gt;&amp;nbsp;extern void display_ratio OF((off_t num, off_t den, FILE *file));
&lt;br&gt;diff --git a/util.c b/util.c
&lt;br&gt;index 40b36fc..6bd0987 100644
&lt;br&gt;--- a/util.c
&lt;br&gt;+++ b/util.c
&lt;br&gt;@@ -357,10 +357,10 @@ int strcspn(s, reject)
&lt;br&gt;&amp;nbsp; */
&lt;br&gt;&amp;nbsp;#define SEPARATOR	&amp;quot; \t&amp;quot;	/* separators in env variable */
&lt;br&gt;&lt;br&gt;-char *add_envopt(argcp, argvp, env)
&lt;br&gt;- &amp;nbsp; &amp;nbsp;int *argcp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* pointer to argc */
&lt;br&gt;- &amp;nbsp; &amp;nbsp;char ***argvp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* pointer to argv */
&lt;br&gt;- &amp;nbsp; &amp;nbsp;char *env; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* name of environment variable */
&lt;br&gt;+char *add_envopt(
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;int *argcp, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* pointer to argc */
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;char ***argvp, &amp;nbsp; &amp;nbsp; &amp;nbsp; /* pointer to argv */
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;char const *env) &amp;nbsp; &amp;nbsp; /* name of environment variable */
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;char *p; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* running pointer through env variable */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;char **oargv; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* runs through old argv array */
&lt;br&gt;@@ -414,8 +414,7 @@ char *add_envopt(argcp, argvp, env)
&lt;br&gt;&amp;nbsp; * Error handlers.
&lt;br&gt;&amp;nbsp; */
&lt;br&gt;&amp;nbsp;void
&lt;br&gt;-gzip_error (m)
&lt;br&gt;- &amp;nbsp; &amp;nbsp;char *m;
&lt;br&gt;+gzip_error (char const *m)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;fprintf (stderr, &amp;quot;\n%s: %s: %s\n&amp;quot;, program_name, ifname, m);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;abort_gzip();
&lt;br&gt;@@ -428,8 +427,7 @@ xalloc_die ()
&lt;br&gt;&amp;nbsp; &amp;nbsp;abort_gzip ();
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&lt;br&gt;-void warning (m)
&lt;br&gt;- &amp;nbsp; &amp;nbsp;char *m;
&lt;br&gt;+void warning (char const *m)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;WARN ((stderr, &amp;quot;%s: %s: warning: %s\n&amp;quot;, program_name, ifname, m));
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;-- 
&lt;br&gt;1.6.5.3.433.g11067
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH-01-10--build%3A-%22make-stable%22-emitted-an-invalid-gnupload-command-tp26449510p26450018.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26449753</id>
	<title>[PATCH 06/10] build: avoid warnings from -Wstrict-prototypes</title>
	<published>2009-11-20T12:06:17Z</published>
	<updated>2009-11-20T12:06:17Z</updated>
	<author>
		<name>Jim Meyering</name>
	</author>
	<content type="html">From: Jim Meyering &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26449753&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;meyering@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;* gzip.c (main): Declare using a prototype.
&lt;br&gt;(progerror): Likewise. &amp;nbsp;And make parameter const.
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;gzip.c | &amp;nbsp; &amp;nbsp;7 ++-----
&lt;br&gt;&amp;nbsp;1 files changed, 2 insertions(+), 5 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/gzip.c b/gzip.c
&lt;br&gt;index ec3c585..c1280d2 100644
&lt;br&gt;--- a/gzip.c
&lt;br&gt;+++ b/gzip.c
&lt;br&gt;@@ -391,8 +391,7 @@ local void version()
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf (&amp;quot;Written by Jean-loup Gailly.\n&amp;quot;);
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&lt;br&gt;-local void progerror (string)
&lt;br&gt;- &amp;nbsp; &amp;nbsp;char *string;
&lt;br&gt;+local void progerror (char const *string)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int e = errno;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;fprintf (stderr, &amp;quot;%s: &amp;quot;, program_name);
&lt;br&gt;@@ -402,9 +401,7 @@ local void progerror (string)
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&lt;br&gt;&amp;nbsp;/* ======================================================================== */
&lt;br&gt;-int main (argc, argv)
&lt;br&gt;- &amp;nbsp; &amp;nbsp;int argc;
&lt;br&gt;- &amp;nbsp; &amp;nbsp;char **argv;
&lt;br&gt;+int main (int argc, char **argv)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int file_count; &amp;nbsp; &amp;nbsp; /* number of files to process */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;size_t proglen; &amp;nbsp; &amp;nbsp; /* length of program_name */
&lt;br&gt;-- 
&lt;br&gt;1.6.5.3.433.g11067
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH-01-10--build%3A-%22make-stable%22-emitted-an-invalid-gnupload-command-tp26449510p26449753.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26449604</id>
	<title>[PATCH 05/10] build: use gnulib's fdopendir module</title>
	<published>2009-11-20T12:06:16Z</published>
	<updated>2009-11-20T12:06:16Z</updated>
	<author>
		<name>Jim Meyering</name>
	</author>
	<content type="html">From: Jim Meyering &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26449604&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;meyering@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;* bootstrap.conf (gnulib_modules): Add fdopendir.
&lt;br&gt;* gzip.c (treat_dir): Don't depend on HAVE_FDOPENDIR.
&lt;br&gt;Gnulib now guarantees its availability.
&lt;br&gt;* configure.ac: Don't check for fdopendir here.
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;Makefile.am &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;2 +-
&lt;br&gt;&amp;nbsp;bootstrap.conf | &amp;nbsp; &amp;nbsp;3 ++-
&lt;br&gt;&amp;nbsp;configure.ac &amp;nbsp; | &amp;nbsp; &amp;nbsp;2 +-
&lt;br&gt;&amp;nbsp;gzip.c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;7 -------
&lt;br&gt;&amp;nbsp;lib/.gitignore | &amp;nbsp; 37 +++++++++++++++++++++++++++++++++++++
&lt;br&gt;&amp;nbsp;m4/.gitignore &amp;nbsp;| &amp;nbsp; 21 +++++++++++++++++++++
&lt;br&gt;&amp;nbsp;6 files changed, 62 insertions(+), 10 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/Makefile.am b/Makefile.am
&lt;br&gt;index 406e344..cfde8e0 100644
&lt;br&gt;--- a/Makefile.am
&lt;br&gt;+++ b/Makefile.am
&lt;br&gt;@@ -19,7 +19,7 @@
&lt;br&gt;&amp;nbsp;SUBDIRS = lib doc
&lt;br&gt;&amp;nbsp;ACLOCAL_AMFLAGS = -I m4
&lt;br&gt;&amp;nbsp;AM_CPPFLAGS = -I$(top_srcdir)/lib
&lt;br&gt;-AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
&lt;br&gt;+AM_CFLAGS = $(WARN_CFLAGS) # $(WERROR_CFLAGS)
&lt;br&gt;&lt;br&gt;&amp;nbsp;man_MANS = gunzip.1 gzexe.1 gzip.1 \
&lt;br&gt;&amp;nbsp; &amp;nbsp;zcat.1 zcmp.1 zdiff.1 zforce.1 zgrep.1 zless.1 zmore.1 znew.1
&lt;br&gt;diff --git a/bootstrap.conf b/bootstrap.conf
&lt;br&gt;index 913deab..f0afe13 100644
&lt;br&gt;--- a/bootstrap.conf
&lt;br&gt;+++ b/bootstrap.conf
&lt;br&gt;@@ -29,14 +29,15 @@ fclose
&lt;br&gt;&amp;nbsp;fcntl
&lt;br&gt;&amp;nbsp;fcntl-safer
&lt;br&gt;&amp;nbsp;fdl
&lt;br&gt;+fdopendir
&lt;br&gt;&amp;nbsp;fprintf-posix
&lt;br&gt;&amp;nbsp;getopt-gnu
&lt;br&gt;&amp;nbsp;git-version-gen
&lt;br&gt;&amp;nbsp;gitlog-to-changelog
&lt;br&gt;&amp;nbsp;gnu-make
&lt;br&gt;&amp;nbsp;gnu-web-doc-update
&lt;br&gt;-gnupload
&lt;br&gt;&amp;nbsp;gnumakefile
&lt;br&gt;+gnupload
&lt;br&gt;&amp;nbsp;lstat
&lt;br&gt;&amp;nbsp;maintainer-makefile
&lt;br&gt;&amp;nbsp;malloc
&lt;br&gt;diff --git a/configure.ac b/configure.ac
&lt;br&gt;index 7ae9863..d87c5f3 100644
&lt;br&gt;--- a/configure.ac
&lt;br&gt;+++ b/configure.ac
&lt;br&gt;@@ -187,7 +187,7 @@ AC_ISC_POSIX
&lt;br&gt;&amp;nbsp;AC_C_CONST
&lt;br&gt;&amp;nbsp;AC_HEADER_STDC
&lt;br&gt;&amp;nbsp;AC_CHECK_HEADERS_ONCE(fcntl.h limits.h memory.h time.h)
&lt;br&gt;-AC_CHECK_FUNCS_ONCE([chown fchmod fchown fdopendir lstat siginterrupt])
&lt;br&gt;+AC_CHECK_FUNCS_ONCE([chown fchmod fchown lstat siginterrupt])
&lt;br&gt;&amp;nbsp;AC_HEADER_DIRENT
&lt;br&gt;&amp;nbsp;AC_TYPE_SIGNAL
&lt;br&gt;&amp;nbsp;AC_TYPE_SIZE_T
&lt;br&gt;diff --git a/gzip.c b/gzip.c
&lt;br&gt;index b0f792a..ec3c585 100644
&lt;br&gt;--- a/gzip.c
&lt;br&gt;+++ b/gzip.c
&lt;br&gt;@@ -1717,18 +1717,11 @@ local void treat_dir (fd, dir)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;char &amp;nbsp; &amp;nbsp; nbuf[MAX_PATH_LEN];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int &amp;nbsp; &amp;nbsp; &amp;nbsp;len;
&lt;br&gt;&lt;br&gt;-#if HAVE_FDOPENDIR
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;dirp = fdopendir (fd);
&lt;br&gt;-#else
&lt;br&gt;- &amp;nbsp; &amp;nbsp;close (fd);
&lt;br&gt;- &amp;nbsp; &amp;nbsp;dirp = opendir(dir);
&lt;br&gt;-#endif
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if (dirp == NULL) {
&lt;br&gt;&amp;nbsp;	progerror(dir);
&lt;br&gt;-#if HAVE_FDOPENDIR
&lt;br&gt;&amp;nbsp;	close (fd);
&lt;br&gt;-#endif
&lt;br&gt;&amp;nbsp;	return ;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;/*
&lt;br&gt;diff --git a/lib/.gitignore b/lib/.gitignore
&lt;br&gt;index 5dc27b6..e7eba30 100644
&lt;br&gt;--- a/lib/.gitignore
&lt;br&gt;+++ b/lib/.gitignore
&lt;br&gt;@@ -4,8 +4,13 @@ Makefile.in
&lt;br&gt;&amp;nbsp;alloca.h
&lt;br&gt;&amp;nbsp;alloca.in.h
&lt;br&gt;&amp;nbsp;asnprintf.c
&lt;br&gt;+at-func.c
&lt;br&gt;+basename-lgpl.c
&lt;br&gt;&amp;nbsp;calloc.c
&lt;br&gt;&amp;nbsp;charset.alias
&lt;br&gt;+chdir-long.c
&lt;br&gt;+chdir-long.h
&lt;br&gt;+chown.c
&lt;br&gt;&amp;nbsp;close-hook.c
&lt;br&gt;&amp;nbsp;close-hook.h
&lt;br&gt;&amp;nbsp;close-stream.c
&lt;br&gt;@@ -20,6 +25,11 @@ config.h
&lt;br&gt;&amp;nbsp;config.hin
&lt;br&gt;&amp;nbsp;configmake.h
&lt;br&gt;&amp;nbsp;creat-safer.c
&lt;br&gt;+dirent.h
&lt;br&gt;+dirent.in.h
&lt;br&gt;+dirfd.c
&lt;br&gt;+dirname-lgpl.c
&lt;br&gt;+dirname.h
&lt;br&gt;&amp;nbsp;dup-safer.c
&lt;br&gt;&amp;nbsp;dup2.c
&lt;br&gt;&amp;nbsp;errno.h
&lt;br&gt;@@ -28,6 +38,10 @@ error.c
&lt;br&gt;&amp;nbsp;error.h
&lt;br&gt;&amp;nbsp;exitfail.c
&lt;br&gt;&amp;nbsp;exitfail.h
&lt;br&gt;+fchdir.c
&lt;br&gt;+fchmodat.c
&lt;br&gt;+fchown-stub.c
&lt;br&gt;+fchownat.c
&lt;br&gt;&amp;nbsp;fclose.c
&lt;br&gt;&amp;nbsp;fcntl--.h
&lt;br&gt;&amp;nbsp;fcntl-safer.h
&lt;br&gt;@@ -35,6 +49,7 @@ fcntl.h
&lt;br&gt;&amp;nbsp;fcntl.in.h
&lt;br&gt;&amp;nbsp;fcntl_.h
&lt;br&gt;&amp;nbsp;fd-safer.c
&lt;br&gt;+fdopendir.c
&lt;br&gt;&amp;nbsp;fflush.c
&lt;br&gt;&amp;nbsp;float+.h
&lt;br&gt;&amp;nbsp;float.h
&lt;br&gt;@@ -54,7 +69,9 @@ frexpl.c
&lt;br&gt;&amp;nbsp;fseeko.c
&lt;br&gt;&amp;nbsp;fseterr.c
&lt;br&gt;&amp;nbsp;fseterr.h
&lt;br&gt;+fstatat.c
&lt;br&gt;&amp;nbsp;ftello.c
&lt;br&gt;+getcwd.c
&lt;br&gt;&amp;nbsp;getopt.c
&lt;br&gt;&amp;nbsp;getopt.h
&lt;br&gt;&amp;nbsp;getopt.in.h
&lt;br&gt;@@ -73,6 +90,7 @@ isnanf-nolibm.h
&lt;br&gt;&amp;nbsp;isnanf.c
&lt;br&gt;&amp;nbsp;isnanl-nolibm.h
&lt;br&gt;&amp;nbsp;isnanl.c
&lt;br&gt;+lchown.c
&lt;br&gt;&amp;nbsp;libgzip.a
&lt;br&gt;&amp;nbsp;localcharset.c
&lt;br&gt;&amp;nbsp;localcharset.h
&lt;br&gt;@@ -85,8 +103,17 @@ mbrtowc.c
&lt;br&gt;&amp;nbsp;mbsinit.c
&lt;br&gt;&amp;nbsp;memchr.c
&lt;br&gt;&amp;nbsp;memchr.valgrind
&lt;br&gt;+mempcpy.c
&lt;br&gt;+memrchr.c
&lt;br&gt;+mkdir.c
&lt;br&gt;+mkdirat.c
&lt;br&gt;&amp;nbsp;open-safer.c
&lt;br&gt;&amp;nbsp;open.c
&lt;br&gt;+openat-die.c
&lt;br&gt;+openat-priv.h
&lt;br&gt;+openat-proc.c
&lt;br&gt;+openat.c
&lt;br&gt;+openat.h
&lt;br&gt;&amp;nbsp;perror.c
&lt;br&gt;&amp;nbsp;pipe-safer.c
&lt;br&gt;&amp;nbsp;printf-args.c
&lt;br&gt;@@ -105,6 +132,10 @@ ref-add.sed
&lt;br&gt;&amp;nbsp;ref-add.sin
&lt;br&gt;&amp;nbsp;ref-del.sed
&lt;br&gt;&amp;nbsp;ref-del.sin
&lt;br&gt;+rmdir.c
&lt;br&gt;+same-inode.h
&lt;br&gt;+save-cwd.c
&lt;br&gt;+save-cwd.h
&lt;br&gt;&amp;nbsp;signbitd.c
&lt;br&gt;&amp;nbsp;signbitf.c
&lt;br&gt;&amp;nbsp;signbitl.c
&lt;br&gt;@@ -127,10 +158,12 @@ stdio_.h
&lt;br&gt;&amp;nbsp;stdlib.h
&lt;br&gt;&amp;nbsp;stdlib.in.h
&lt;br&gt;&amp;nbsp;stdlib_.h
&lt;br&gt;+strdup.c
&lt;br&gt;&amp;nbsp;streq.h
&lt;br&gt;&amp;nbsp;strerror.c
&lt;br&gt;&amp;nbsp;string.h
&lt;br&gt;&amp;nbsp;string.in.h
&lt;br&gt;+stripslash.c
&lt;br&gt;&amp;nbsp;sys
&lt;br&gt;&amp;nbsp;sys_stat.h
&lt;br&gt;&amp;nbsp;sys_stat.in.h
&lt;br&gt;@@ -147,6 +180,8 @@ unistd-safer.h
&lt;br&gt;&amp;nbsp;unistd.h
&lt;br&gt;&amp;nbsp;unistd.in.h
&lt;br&gt;&amp;nbsp;unistd_.h
&lt;br&gt;+unlink.c
&lt;br&gt;+unlinkat.c
&lt;br&gt;&amp;nbsp;utimens.c
&lt;br&gt;&amp;nbsp;utimens.h
&lt;br&gt;&amp;nbsp;vasnprintf.c
&lt;br&gt;@@ -161,6 +196,8 @@ wctype.in.h
&lt;br&gt;&amp;nbsp;wctype_.h
&lt;br&gt;&amp;nbsp;xalloc-die.c
&lt;br&gt;&amp;nbsp;xalloc.h
&lt;br&gt;+xgetcwd.c
&lt;br&gt;+xgetcwd.h
&lt;br&gt;&amp;nbsp;xmalloc.c
&lt;br&gt;&amp;nbsp;xsize.h
&lt;br&gt;&amp;nbsp;yesno.c
&lt;br&gt;diff --git a/m4/.gitignore b/m4/.gitignore
&lt;br&gt;index 765c33e..701b2ad 100644
&lt;br&gt;--- a/m4/.gitignore
&lt;br&gt;+++ b/m4/.gitignore
&lt;br&gt;@@ -2,13 +2,20 @@
&lt;br&gt;&amp;nbsp;absolute-header.m4
&lt;br&gt;&amp;nbsp;alloca.m4
&lt;br&gt;&amp;nbsp;calloc.m4
&lt;br&gt;+chdir-long.m4
&lt;br&gt;+chown.m4
&lt;br&gt;&amp;nbsp;clock_time.m4
&lt;br&gt;&amp;nbsp;close-stream.m4
&lt;br&gt;&amp;nbsp;close.m4
&lt;br&gt;&amp;nbsp;closein.m4
&lt;br&gt;&amp;nbsp;closeout.m4
&lt;br&gt;&amp;nbsp;codeset.m4
&lt;br&gt;+d-ino.m4
&lt;br&gt;+dirent_h.m4
&lt;br&gt;+dirfd.m4
&lt;br&gt;+dirname.m4
&lt;br&gt;&amp;nbsp;dos.m4
&lt;br&gt;+double-slash-root.m4
&lt;br&gt;&amp;nbsp;dup2.m4
&lt;br&gt;&amp;nbsp;errno_h.m4
&lt;br&gt;&amp;nbsp;error.m4
&lt;br&gt;@@ -17,9 +24,11 @@ exponentd.m4
&lt;br&gt;&amp;nbsp;exponentf.m4
&lt;br&gt;&amp;nbsp;exponentl.m4
&lt;br&gt;&amp;nbsp;extensions.m4
&lt;br&gt;+fchdir.m4
&lt;br&gt;&amp;nbsp;fclose.m4
&lt;br&gt;&amp;nbsp;fcntl-safer.m4
&lt;br&gt;&amp;nbsp;fcntl_h.m4
&lt;br&gt;+fdopendir.m4
&lt;br&gt;&amp;nbsp;fflush.m4
&lt;br&gt;&amp;nbsp;float_h.m4
&lt;br&gt;&amp;nbsp;fpending.m4
&lt;br&gt;@@ -31,6 +40,9 @@ frexp.m4
&lt;br&gt;&amp;nbsp;frexpl.m4
&lt;br&gt;&amp;nbsp;fseeko.m4
&lt;br&gt;&amp;nbsp;ftello.m4
&lt;br&gt;+getcwd-abort-bug.m4
&lt;br&gt;+getcwd-path-max.m4
&lt;br&gt;+getcwd.m4
&lt;br&gt;&amp;nbsp;getopt.m4
&lt;br&gt;&amp;nbsp;getpagesize.m4
&lt;br&gt;&amp;nbsp;gettime.m4
&lt;br&gt;@@ -48,6 +60,7 @@ inttypes_h.m4
&lt;br&gt;&amp;nbsp;isnand.m4
&lt;br&gt;&amp;nbsp;isnanf.m4
&lt;br&gt;&amp;nbsp;isnanl.m4
&lt;br&gt;+lchown.m4
&lt;br&gt;&amp;nbsp;ldexpl.m4
&lt;br&gt;&amp;nbsp;localcharset.m4
&lt;br&gt;&amp;nbsp;locale-fr.m4
&lt;br&gt;@@ -63,6 +76,9 @@ mbrtowc.m4
&lt;br&gt;&amp;nbsp;mbsinit.m4
&lt;br&gt;&amp;nbsp;mbstate_t.m4
&lt;br&gt;&amp;nbsp;memchr.m4
&lt;br&gt;+mempcpy.m4
&lt;br&gt;+memrchr.m4
&lt;br&gt;+mkdir.m4
&lt;br&gt;&amp;nbsp;mmap-anon.m4
&lt;br&gt;&amp;nbsp;mode_t.m4
&lt;br&gt;&amp;nbsp;multiarch.m4
&lt;br&gt;@@ -76,6 +92,8 @@ printf-posix-rpl.m4
&lt;br&gt;&amp;nbsp;printf.m4
&lt;br&gt;&amp;nbsp;quotearg.m4
&lt;br&gt;&amp;nbsp;realloc.m4
&lt;br&gt;+rmdir.m4
&lt;br&gt;+save-cwd.m4
&lt;br&gt;&amp;nbsp;signbit.m4
&lt;br&gt;&amp;nbsp;size_max.m4
&lt;br&gt;&amp;nbsp;stat-time.m4
&lt;br&gt;@@ -86,6 +104,7 @@ stdint.m4
&lt;br&gt;&amp;nbsp;stdint_h.m4
&lt;br&gt;&amp;nbsp;stdio_h.m4
&lt;br&gt;&amp;nbsp;stdlib_h.m4
&lt;br&gt;+strdup.m4
&lt;br&gt;&amp;nbsp;strerror.m4
&lt;br&gt;&amp;nbsp;string_h.m4
&lt;br&gt;&amp;nbsp;sys_stat_h.m4
&lt;br&gt;@@ -94,6 +113,7 @@ time_h.m4
&lt;br&gt;&amp;nbsp;timespec.m4
&lt;br&gt;&amp;nbsp;unistd-safer.m4
&lt;br&gt;&amp;nbsp;unistd_h.m4
&lt;br&gt;+unlink.m4
&lt;br&gt;&amp;nbsp;utimbuf.m4
&lt;br&gt;&amp;nbsp;utimens.m4
&lt;br&gt;&amp;nbsp;utimes.m4
&lt;br&gt;@@ -105,5 +125,6 @@ wchar_t.m4
&lt;br&gt;&amp;nbsp;wctype.m4
&lt;br&gt;&amp;nbsp;wint_t.m4
&lt;br&gt;&amp;nbsp;xalloc.m4
&lt;br&gt;+xgetcwd.m4
&lt;br&gt;&amp;nbsp;xsize.m4
&lt;br&gt;&amp;nbsp;yesno.m4
&lt;br&gt;-- 
&lt;br&gt;1.6.5.3.433.g11067
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH-01-10--build%3A-%22make-stable%22-emitted-an-invalid-gnupload-command-tp26449510p26449604.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26449754</id>
	<title>[PATCH 04/10] build: enable many warnings</title>
	<published>2009-11-20T12:06:15Z</published>
	<updated>2009-11-20T12:06:15Z</updated>
	<author>
		<name>Jim Meyering</name>
	</author>
	<content type="html">From: Jim Meyering &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26449754&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;meyering@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;* configure.ac: Add support for --enable-gcc-warnings.
&lt;br&gt;* bootstrap.conf (gnulib_modules): Add manywarnings.
&lt;br&gt;* Makefile.am (AM_CFLAGS): Add (WARN_CFLAGS) # $(WERROR_CFLAGS)
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;Makefile.am &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;1 +
&lt;br&gt;&amp;nbsp;bootstrap.conf | &amp;nbsp; &amp;nbsp;1 +
&lt;br&gt;&amp;nbsp;configure.ac &amp;nbsp; | &amp;nbsp; 84 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
&lt;br&gt;&amp;nbsp;m4/.gitignore &amp;nbsp;| &amp;nbsp; &amp;nbsp;2 +
&lt;br&gt;&amp;nbsp;4 files changed, 88 insertions(+), 0 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/Makefile.am b/Makefile.am
&lt;br&gt;index 59cc615..406e344 100644
&lt;br&gt;--- a/Makefile.am
&lt;br&gt;+++ b/Makefile.am
&lt;br&gt;@@ -19,6 +19,7 @@
&lt;br&gt;&amp;nbsp;SUBDIRS = lib doc
&lt;br&gt;&amp;nbsp;ACLOCAL_AMFLAGS = -I m4
&lt;br&gt;&amp;nbsp;AM_CPPFLAGS = -I$(top_srcdir)/lib
&lt;br&gt;+AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
&lt;br&gt;&lt;br&gt;&amp;nbsp;man_MANS = gunzip.1 gzexe.1 gzip.1 \
&lt;br&gt;&amp;nbsp; &amp;nbsp;zcat.1 zcmp.1 zdiff.1 zforce.1 zgrep.1 zless.1 zmore.1 znew.1
&lt;br&gt;diff --git a/bootstrap.conf b/bootstrap.conf
&lt;br&gt;index 5f1e653..913deab 100644
&lt;br&gt;--- a/bootstrap.conf
&lt;br&gt;+++ b/bootstrap.conf
&lt;br&gt;@@ -40,6 +40,7 @@ gnumakefile
&lt;br&gt;&amp;nbsp;lstat
&lt;br&gt;&amp;nbsp;maintainer-makefile
&lt;br&gt;&amp;nbsp;malloc
&lt;br&gt;+manywarnings
&lt;br&gt;&amp;nbsp;perror
&lt;br&gt;&amp;nbsp;printf-posix
&lt;br&gt;&amp;nbsp;realloc
&lt;br&gt;diff --git a/configure.ac b/configure.ac
&lt;br&gt;index c568c02..7ae9863 100644
&lt;br&gt;--- a/configure.ac
&lt;br&gt;+++ b/configure.ac
&lt;br&gt;@@ -43,6 +43,90 @@ AC_SYS_LARGEFILE
&lt;br&gt;&lt;br&gt;&amp;nbsp;gl_INIT
&lt;br&gt;&lt;br&gt;+AC_ARG_ENABLE([gcc-warnings],
&lt;br&gt;+ &amp;nbsp;[AS_HELP_STRING([--enable-gcc-warnings],
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[turn on lots of GCC warnings (for developers)])],
&lt;br&gt;+ &amp;nbsp;[case $enableval in
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; yes|no) ;;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; *) &amp;nbsp; &amp;nbsp; &amp;nbsp;AC_MSG_ERROR([bad value $enableval for gcc-warnings option]) ;;
&lt;br&gt;+ &amp;nbsp; esac
&lt;br&gt;+ &amp;nbsp; gl_gcc_warnings=$enableval],
&lt;br&gt;+ &amp;nbsp;[gl_gcc_warnings=no]
&lt;br&gt;+)
&lt;br&gt;+
&lt;br&gt;+if test &amp;quot;$gl_gcc_warnings&amp;quot; = yes; then
&lt;br&gt;+ &amp;nbsp;gl_WARN_ADD([-Werror], [WERROR_CFLAGS])
&lt;br&gt;+ &amp;nbsp;AC_SUBST([WERROR_CFLAGS])
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp;nw=
&lt;br&gt;+ &amp;nbsp;# This, $nw, is the list of warnings we disable.
&lt;br&gt;+ &amp;nbsp;nw=&amp;quot;$nw -Wdeclaration-after-statement&amp;quot; # too useful to forbid
&lt;br&gt;+ &amp;nbsp;nw=&amp;quot;$nw -Waggregate-return&amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; # anachronistic
&lt;br&gt;+ &amp;nbsp;nw=&amp;quot;$nw -Wlong-long&amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# C90 is anachronistic (lib/gethrxtime.h)
&lt;br&gt;+ &amp;nbsp;nw=&amp;quot;$nw -Wc++-compat&amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # We don't care about C++ compilers
&lt;br&gt;+ &amp;nbsp;nw=&amp;quot;$nw -Wundef&amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# Warns on '#if GNULIB_FOO' etc in gnulib
&lt;br&gt;+ &amp;nbsp;nw=&amp;quot;$nw -Wtraditional&amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# Warns on #elif which we use often
&lt;br&gt;+ &amp;nbsp;nw=&amp;quot;$nw -Wcast-qual&amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# Too many warnings for now
&lt;br&gt;+ &amp;nbsp;nw=&amp;quot;$nw -Wconversion&amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # Too many warnings for now
&lt;br&gt;+ &amp;nbsp;nw=&amp;quot;$nw -Wsystem-headers&amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # Don't let system headers trigger warnings
&lt;br&gt;+ &amp;nbsp;nw=&amp;quot;$nw -Wsign-conversion&amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# Too many warnings for now
&lt;br&gt;+ &amp;nbsp;nw=&amp;quot;$nw -Wtraditional-conversion&amp;quot; # Too many warnings for now
&lt;br&gt;+ &amp;nbsp;nw=&amp;quot;$nw -Wunreachable-code&amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; # Too many warnings for now
&lt;br&gt;+ &amp;nbsp;nw=&amp;quot;$nw -Wpadded&amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # Our structs are not padded
&lt;br&gt;+ &amp;nbsp;nw=&amp;quot;$nw -Wredundant-decls&amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# openat.h declares e.g., mkdirat
&lt;br&gt;+ &amp;nbsp;nw=&amp;quot;$nw -Wlogical-op&amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # any use of fwrite provokes this
&lt;br&gt;+ &amp;nbsp;nw=&amp;quot;$nw -Wformat-nonliteral&amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp;# who.c and pinky.c strftime uses
&lt;br&gt;+ &amp;nbsp;nw=&amp;quot;$nw -Wvla&amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# warnings in gettext.h
&lt;br&gt;+ &amp;nbsp;nw=&amp;quot;$nw -Wnested-externs&amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # use of XARGMATCH/verify_function__
&lt;br&gt;+ &amp;nbsp;nw=&amp;quot;$nw -Wswitch-enum&amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# Too many warnings for now
&lt;br&gt;+ &amp;nbsp;nw=&amp;quot;$nw -Wswitch-default&amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # Too many warnings for now
&lt;br&gt;+ &amp;nbsp;nw=&amp;quot;$nw -Wstack-protector&amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# not worth working around
&lt;br&gt;+ &amp;nbsp;# things I might fix soon:
&lt;br&gt;+ &amp;nbsp;nw=&amp;quot;$nw -Wfloat-equal&amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# sort.c, seq.c
&lt;br&gt;+ &amp;nbsp;nw=&amp;quot;$nw -Wmissing-format-attribute&amp;quot; # copy.c
&lt;br&gt;+ &amp;nbsp;nw=&amp;quot;$nw -Wunsafe-loop-optimizations&amp;quot; # a few src/*.c
&lt;br&gt;+ &amp;nbsp;nw=&amp;quot;$nw -Winline&amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # system.h's readdir_ignoring_dot_and_dotdot
&lt;br&gt;+ &amp;nbsp;nw=&amp;quot;$nw -Wstrict-overflow&amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# expr.c, pr.c, tr.c, factor.c
&lt;br&gt;+ &amp;nbsp;# initial problems in gzip
&lt;br&gt;+ &amp;nbsp;nw=&amp;quot;$nw -Wold-style-definition&amp;quot;
&lt;br&gt;+ &amp;nbsp;nw=&amp;quot;$nw -Wshadow&amp;quot;
&lt;br&gt;+ &amp;nbsp;# ?? -Wstrict-overflow
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp;gl_MANYWARN_ALL_GCC([ws])
&lt;br&gt;+ &amp;nbsp;gl_MANYWARN_COMPLEMENT([ws], [$ws], [$nw])
&lt;br&gt;+ &amp;nbsp;for w in $ws; do
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;gl_WARN_ADD([$w])
&lt;br&gt;+ &amp;nbsp;done
&lt;br&gt;+ &amp;nbsp;gl_WARN_ADD([-Wno-missing-field-initializers]) # We need this one
&lt;br&gt;+ &amp;nbsp;gl_WARN_ADD([-Wno-sign-compare]) &amp;nbsp; &amp;nbsp; # Too many warnings for now
&lt;br&gt;+ &amp;nbsp;gl_WARN_ADD([-Wno-pointer-sign]) &amp;nbsp; &amp;nbsp; # Too many warnings for now
&lt;br&gt;+ &amp;nbsp;gl_WARN_ADD([-Wno-unused-parameter]) # Too many warnings for now
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp;# In spite of excluding -Wlogical-op above, it is enabled, as of
&lt;br&gt;+ &amp;nbsp;# gcc 4.5.0 20090517, and it provokes warnings in cat.c, dd.c, truncate.c
&lt;br&gt;+ &amp;nbsp;gl_WARN_ADD([-Wno-logical-op])
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp;gl_WARN_ADD([-fdiagnostics-show-option])
&lt;br&gt;+ &amp;nbsp;gl_WARN_ADD([-funit-at-a-time])
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp;AC_SUBST([WARN_CFLAGS])
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp;AC_DEFINE([lint], [1], [Define to 1 if the compiler is checking for lint.])
&lt;br&gt;+ &amp;nbsp;AC_DEFINE([_FORTIFY_SOURCE], [2],
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;[enable compile-time and run-time bounds-checking, and some warnings])
&lt;br&gt;+ &amp;nbsp;AC_DEFINE([GNULIB_PORTCHECK], [1], [enable some gnulib portability checks])
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp;# We use a slightly smaller set of warning options for lib/.
&lt;br&gt;+ &amp;nbsp;# Remove the following and save the result in GNULIB_WARN_CFLAGS.
&lt;br&gt;+ &amp;nbsp;nw=
&lt;br&gt;+ &amp;nbsp;nw=&amp;quot;$nw -Wuninitialized&amp;quot;
&lt;br&gt;+ &amp;nbsp;nw=&amp;quot;$nw -Wunused-macros&amp;quot;
&lt;br&gt;+ &amp;nbsp;nw=&amp;quot;$nw -Wmissing-prototypes&amp;quot;
&lt;br&gt;+ &amp;nbsp;nw=&amp;quot;$nw -Wold-style-definition&amp;quot;
&lt;br&gt;+ &amp;nbsp;gl_MANYWARN_COMPLEMENT([GNULIB_WARN_CFLAGS], [$WARN_CFLAGS], [$nw])
&lt;br&gt;+ &amp;nbsp;AC_SUBST([GNULIB_WARN_CFLAGS])
&lt;br&gt;+fi
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;# cc -E produces incorrect asm files on SVR4, so postprocess it.
&lt;br&gt;&amp;nbsp;ASCPPPOST=&amp;quot;sed '/^ *#/d; s,//.*,,; s/% /%/g; s/\\. /./g'&amp;quot;
&lt;br&gt;&amp;nbsp;AC_SUBST([ASCPPPOST])
&lt;br&gt;diff --git a/m4/.gitignore b/m4/.gitignore
&lt;br&gt;index 84d782c..765c33e 100644
&lt;br&gt;--- a/m4/.gitignore
&lt;br&gt;+++ b/m4/.gitignore
&lt;br&gt;@@ -57,6 +57,7 @@ longlong.m4
&lt;br&gt;&amp;nbsp;lseek.m4
&lt;br&gt;&amp;nbsp;lstat.m4
&lt;br&gt;&amp;nbsp;malloc.m4
&lt;br&gt;+manywarnings.m4
&lt;br&gt;&amp;nbsp;math_h.m4
&lt;br&gt;&amp;nbsp;mbrtowc.m4
&lt;br&gt;&amp;nbsp;mbsinit.m4
&lt;br&gt;@@ -98,6 +99,7 @@ utimens.m4
&lt;br&gt;&amp;nbsp;utimes.m4
&lt;br&gt;&amp;nbsp;vasnprintf.m4
&lt;br&gt;&amp;nbsp;vfprintf-posix.m4
&lt;br&gt;+warnings.m4
&lt;br&gt;&amp;nbsp;wchar.m4
&lt;br&gt;&amp;nbsp;wchar_t.m4
&lt;br&gt;&amp;nbsp;wctype.m4
&lt;br&gt;-- 
&lt;br&gt;1.6.5.3.433.g11067
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH-01-10--build%3A-%22make-stable%22-emitted-an-invalid-gnupload-command-tp26449510p26449754.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26449606</id>
	<title>[PATCH 03/10] maint: tweak formatting of bootstrap.conf</title>
	<published>2009-11-20T12:06:14Z</published>
	<updated>2009-11-20T12:06:14Z</updated>
	<author>
		<name>Jim Meyering</name>
	</author>
	<content type="html">From: Jim Meyering &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26449606&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;meyering@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;* bootstrap.conf (gnulib_modules): Unindent list.
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;bootstrap.conf | &amp;nbsp; 58 ++++++++++++++++++++++++++++----------------------------
&lt;br&gt;&amp;nbsp;1 files changed, 29 insertions(+), 29 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/bootstrap.conf b/bootstrap.conf
&lt;br&gt;index 9db4015..5f1e653 100644
&lt;br&gt;--- a/bootstrap.conf
&lt;br&gt;+++ b/bootstrap.conf
&lt;br&gt;@@ -21,35 +21,35 @@ IMPORT_FROM_GETTEXT=no
&lt;br&gt;&lt;br&gt;&amp;nbsp;# gnulib modules used by this package.
&lt;br&gt;&amp;nbsp;gnulib_modules='
&lt;br&gt;-	announce-gen
&lt;br&gt;-	calloc
&lt;br&gt;-	close
&lt;br&gt;-	closein
&lt;br&gt;-	fclose
&lt;br&gt;-	fcntl
&lt;br&gt;-	fcntl-safer
&lt;br&gt;-	fdl
&lt;br&gt;-	fprintf-posix
&lt;br&gt;-	getopt-gnu
&lt;br&gt;-	git-version-gen
&lt;br&gt;-	gitlog-to-changelog
&lt;br&gt;-	gnu-make
&lt;br&gt;-	gnu-web-doc-update
&lt;br&gt;-	gnupload
&lt;br&gt;-	gnumakefile
&lt;br&gt;-	lstat
&lt;br&gt;-	maintainer-makefile
&lt;br&gt;-	malloc
&lt;br&gt;-	perror
&lt;br&gt;-	printf-posix
&lt;br&gt;-	realloc
&lt;br&gt;-	stat-time
&lt;br&gt;-	sys_stat
&lt;br&gt;-	time
&lt;br&gt;-	update-copyright
&lt;br&gt;-	utimens
&lt;br&gt;-	xalloc
&lt;br&gt;-	yesno
&lt;br&gt;+announce-gen
&lt;br&gt;+calloc
&lt;br&gt;+close
&lt;br&gt;+closein
&lt;br&gt;+fclose
&lt;br&gt;+fcntl
&lt;br&gt;+fcntl-safer
&lt;br&gt;+fdl
&lt;br&gt;+fprintf-posix
&lt;br&gt;+getopt-gnu
&lt;br&gt;+git-version-gen
&lt;br&gt;+gitlog-to-changelog
&lt;br&gt;+gnu-make
&lt;br&gt;+gnu-web-doc-update
&lt;br&gt;+gnupload
&lt;br&gt;+gnumakefile
&lt;br&gt;+lstat
&lt;br&gt;+maintainer-makefile
&lt;br&gt;+malloc
&lt;br&gt;+perror
&lt;br&gt;+printf-posix
&lt;br&gt;+realloc
&lt;br&gt;+stat-time
&lt;br&gt;+sys_stat
&lt;br&gt;+time
&lt;br&gt;+update-copyright
&lt;br&gt;+utimens
&lt;br&gt;+xalloc
&lt;br&gt;+yesno
&lt;br&gt;&amp;nbsp;'
&lt;br&gt;&lt;br&gt;&amp;nbsp;# Additional gnulib-tool options to use. &amp;nbsp;Use &amp;quot;\newline&amp;quot; to break lines.
&lt;br&gt;-- 
&lt;br&gt;1.6.5.3.433.g11067
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH-01-10--build%3A-%22make-stable%22-emitted-an-invalid-gnupload-command-tp26449510p26449606.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26449512</id>
	<title>[PATCH 02/10] maint: cfg.mk: remove factored-out ftp host/dir definitions</title>
	<published>2009-11-20T12:06:13Z</published>
	<updated>2009-11-20T12:06:13Z</updated>
	<author>
		<name>Jim Meyering</name>
	</author>
	<content type="html">From: Jim Meyering &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26449512&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;meyering@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;* cfg.mk (gnu_ftp_host-alpha, gnu_ftp_host-beta gnu_ftp_host-stable):
&lt;br&gt;(gnu_rel_host, url_dir_list): Remove definitions. &amp;nbsp;The defaults,
&lt;br&gt;now provided by maint.mk, are the same.
&lt;br&gt;* gnulib: Update for latest, including those maint.mk additions.
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;cfg.mk | &amp;nbsp; 10 ----------
&lt;br&gt;&amp;nbsp;gnulib | &amp;nbsp; &amp;nbsp;2 +-
&lt;br&gt;&amp;nbsp;2 files changed, 1 insertions(+), 11 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/cfg.mk b/cfg.mk
&lt;br&gt;index d7a0e65..d6197e8 100644
&lt;br&gt;--- a/cfg.mk
&lt;br&gt;+++ b/cfg.mk
&lt;br&gt;@@ -14,19 +14,9 @@
&lt;br&gt;&amp;nbsp;# You should have received a copy of the GNU General Public License
&lt;br&gt;&amp;nbsp;# along with this program. &amp;nbsp;If not, see &amp;lt;&lt;a href=&quot;http://www.gnu.org/licenses/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/licenses/&lt;/a&gt;&amp;gt;.
&lt;br&gt;&lt;br&gt;-# Use alpha.gnu.org for alpha and beta releases.
&lt;br&gt;-# Use ftp.gnu.org for stable releases.
&lt;br&gt;-gnu_ftp_host-alpha = alpha.gnu.org
&lt;br&gt;-gnu_ftp_host-beta = alpha.gnu.org
&lt;br&gt;-gnu_ftp_host-stable = ftp.gnu.org
&lt;br&gt;-gnu_rel_host = $(gnu_ftp_host-$(RELEASE_TYPE))
&lt;br&gt;-
&lt;br&gt;&amp;nbsp;# Used in maint.mk's web-manual rule
&lt;br&gt;&amp;nbsp;manual_title = gzip: the data compression program
&lt;br&gt;&lt;br&gt;-url_dir_list = \
&lt;br&gt;- &amp;nbsp;ftp://$(gnu_rel_host)/gnu/$(PACKAGE)
&lt;br&gt;-
&lt;br&gt;&amp;nbsp;# The GnuPG ID of the key used to sign the tarballs.
&lt;br&gt;&amp;nbsp;gpg_key_ID = B9AB9A16
&lt;br&gt;&lt;br&gt;diff --git a/gnulib b/gnulib
&lt;br&gt;index b3602e8..481f709 160000
&lt;br&gt;--- a/gnulib
&lt;br&gt;+++ b/gnulib
&lt;br&gt;@@ -1 +1 @@
&lt;br&gt;-Subproject commit b3602e85d8c625e8ffc08855b67c0ae11169a5f3
&lt;br&gt;+Subproject commit 481f709ceba803288289da8e11a52d309d0fc9a1
&lt;br&gt;-- 
&lt;br&gt;1.6.5.3.433.g11067
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH-01-10--build%3A-%22make-stable%22-emitted-an-invalid-gnupload-command-tp26449510p26449512.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26449510</id>
	<title>[PATCH 01/10] build: &quot;make stable&quot; emitted an invalid gnupload command</title>
	<published>2009-11-20T12:06:12Z</published>
	<updated>2009-11-20T12:06:12Z</updated>
	<author>
		<name>Jim Meyering</name>
	</author>
	<content type="html">From: Jim Meyering &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26449510&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;meyering@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;* cfg.mk (gnu_ftp_host-stable): Rename from gnu_ftp_host-major.
&lt;br&gt;* README-release: Change another s/major/stable/.
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;README-release | &amp;nbsp; &amp;nbsp;2 +-
&lt;br&gt;&amp;nbsp;cfg.mk &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;4 ++--
&lt;br&gt;&amp;nbsp;2 files changed, 3 insertions(+), 3 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/README-release b/README-release
&lt;br&gt;index 6e84bcf..eea2512 100644
&lt;br&gt;--- a/README-release
&lt;br&gt;+++ b/README-release
&lt;br&gt;@@ -44,7 +44,7 @@ Here are most of the steps we (maintainers) follow when making a release.
&lt;br&gt;&lt;br&gt;&amp;nbsp;Once all the builds and tests have passed,
&lt;br&gt;&lt;br&gt;-* Run the gnupload command that was suggested by your &amp;quot;make major&amp;quot; run above.
&lt;br&gt;+* Run the gnupload command that was suggested by your &amp;quot;make stable&amp;quot; run above.
&lt;br&gt;&lt;br&gt;&amp;nbsp;* Wait a few minutes (maybe up to 30?) and then use the release URLs to
&lt;br&gt;&amp;nbsp; &amp;nbsp;download all tarball/signature pairs and use gpg --verify to ensure
&lt;br&gt;diff --git a/cfg.mk b/cfg.mk
&lt;br&gt;index 2704393..d7a0e65 100644
&lt;br&gt;--- a/cfg.mk
&lt;br&gt;+++ b/cfg.mk
&lt;br&gt;@@ -15,10 +15,10 @@
&lt;br&gt;&amp;nbsp;# along with this program. &amp;nbsp;If not, see &amp;lt;&lt;a href=&quot;http://www.gnu.org/licenses/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/licenses/&lt;/a&gt;&amp;gt;.
&lt;br&gt;&lt;br&gt;&amp;nbsp;# Use alpha.gnu.org for alpha and beta releases.
&lt;br&gt;-# Use ftp.gnu.org for major releases.
&lt;br&gt;+# Use ftp.gnu.org for stable releases.
&lt;br&gt;&amp;nbsp;gnu_ftp_host-alpha = alpha.gnu.org
&lt;br&gt;&amp;nbsp;gnu_ftp_host-beta = alpha.gnu.org
&lt;br&gt;-gnu_ftp_host-major = ftp.gnu.org
&lt;br&gt;+gnu_ftp_host-stable = ftp.gnu.org
&lt;br&gt;&amp;nbsp;gnu_rel_host = $(gnu_ftp_host-$(RELEASE_TYPE))
&lt;br&gt;&lt;br&gt;&amp;nbsp;# Used in maint.mk's web-manual rule
&lt;br&gt;-- 
&lt;br&gt;1.6.5.3.433.g11067
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH-01-10--build%3A-%22make-stable%22-emitted-an-invalid-gnupload-command-tp26449510p26449510.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26362287</id>
	<title>Re: gzip 1.3.14 beta - djgpp makefile error fixed (?)</title>
	<published>2009-11-15T11:19:13Z</published>
	<updated>2009-11-15T11:19:13Z</updated>
	<author>
		<name>Jim Meyering</name>
	</author>
	<content type="html">Allan wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Following up on a thread regarding gzip 1.3.13, I was getting the error
&lt;br&gt;&amp;gt; message &amp;quot; no rule to make target - getopt.h&amp;quot;. I have got past this error
&lt;br&gt;&amp;gt; but still cannot build due to my lack of expertise, apparently broken
&lt;br&gt;&amp;gt; djgpp installation and possibly missing gnu libraries. I did change the
&lt;br&gt;&amp;gt; cflag line (as suggested in a reply) to add to the include path for the
&lt;br&gt;&amp;gt; compilation step but the real problem was in the list of targets at the
&lt;br&gt;&amp;gt; bottom of the makefile. Instead of simply `getopt.h' I changed it to
&lt;br&gt;&amp;gt; `lib/getopt.h' and that solves the problem. The big qualification to
&lt;br&gt;&amp;gt; this is that I had to run the configure script, which creates a new
&lt;br&gt;&amp;gt; `makefile'. You have to run the new `makefile' just to create `getopt.h'
&lt;br&gt;&amp;gt; in the `lib' subdirectory. &amp;nbsp;I also got a warning compiling `config.h'
&lt;br&gt;&amp;gt; about a redundant declaration which I fixed by simply commenting it out
&lt;br&gt;&amp;gt; of `config.h' . There is a a bug in my DJGPP 2.024 beta installation
&lt;br&gt;&amp;gt; ever since I updated to GCC 4.41 where I get assembler errors most of
&lt;br&gt;&amp;gt; the time (see below).
&lt;/div&gt;&lt;br&gt;Thanks for the report.
&lt;br&gt;This failure is because no one has yet ported gnulib's freadahead.c for djgpp.
&lt;br&gt;I've Cc'd the gnulib list.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Here is some of the command line window output:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; checking for ANSI C header files... (cached) yes
&lt;br&gt;&amp;gt; checking for dirent.h that defines DIR... yes
&lt;br&gt;&amp;gt; checking for library containing opendir... none required
&lt;br&gt;&amp;gt; checking return type of signal handlers... void
&lt;br&gt;&amp;gt; checking for size_t... (cached) yes
&lt;br&gt;&amp;gt; checking for off_t... yes
&lt;br&gt;&amp;gt; configure: creating ./config.status
&lt;br&gt;&amp;gt; config.status: creating Makefile
&lt;br&gt;&amp;gt; config.status: creating doc/Makefile
&lt;br&gt;&amp;gt; config.status: creating lib/Makefile
&lt;br&gt;&amp;gt; config.status: creating lib/config.h
&lt;br&gt;&amp;gt; config.status: executing depfiles commands
&lt;br&gt;&amp;gt; bash-2.05b$ exit
&lt;br&gt;&amp;gt; exit
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; D:\GZIP-1~1.14&amp;gt;make -f makefile
&lt;br&gt;&amp;gt; Making all in lib
&lt;br&gt;&amp;gt; make.exe[1]: Entering directory `d:/gzip-1.3.14/lib'
&lt;br&gt;&amp;gt; &amp;nbsp; GEN &amp;nbsp; &amp;nbsp; &amp;nbsp;alloca.h
&lt;br&gt;&amp;gt; &amp;nbsp; GEN &amp;nbsp; &amp;nbsp; &amp;nbsp;configmake.h
&lt;br&gt;&amp;gt; &amp;nbsp; GEN &amp;nbsp; &amp;nbsp; &amp;nbsp;errno.h
&lt;br&gt;&amp;gt; &amp;nbsp; GEN &amp;nbsp; &amp;nbsp; &amp;nbsp;fcntl.h
&lt;br&gt;&amp;gt; &amp;nbsp; GEN &amp;nbsp; &amp;nbsp; &amp;nbsp;getopt.h
&lt;br&gt;&amp;gt; &amp;nbsp; GEN &amp;nbsp; &amp;nbsp; &amp;nbsp;math.h
&lt;br&gt;&amp;gt; &amp;nbsp; GEN &amp;nbsp; &amp;nbsp; &amp;nbsp;stdint.h
&lt;br&gt;&amp;gt; &amp;nbsp; GEN &amp;nbsp; &amp;nbsp; &amp;nbsp;stdio.h
&lt;br&gt;&amp;gt; &amp;nbsp; GEN &amp;nbsp; &amp;nbsp; &amp;nbsp;stdlib.h
&lt;br&gt;&amp;gt; &amp;nbsp; GEN &amp;nbsp; &amp;nbsp; &amp;nbsp;string.h
&lt;br&gt;&amp;gt; &amp;nbsp; GEN &amp;nbsp; &amp;nbsp; &amp;nbsp;sys/stat.h
&lt;br&gt;&amp;gt; &amp;nbsp; GEN &amp;nbsp; &amp;nbsp; &amp;nbsp;sys/time.h
&lt;br&gt;&amp;gt; &amp;nbsp; GEN &amp;nbsp; &amp;nbsp; &amp;nbsp;time.h
&lt;br&gt;&amp;gt; &amp;nbsp; GEN &amp;nbsp; &amp;nbsp; &amp;nbsp;unistd.h
&lt;br&gt;&amp;gt; &amp;nbsp; GEN &amp;nbsp; &amp;nbsp; &amp;nbsp;wchar.h
&lt;br&gt;&amp;gt; &amp;nbsp; GEN &amp;nbsp; &amp;nbsp; &amp;nbsp;wctype.h
&lt;br&gt;&amp;gt; d:/djgpp204/bin/make.exe &amp;nbsp;all-recursive
&lt;br&gt;&amp;gt; make.exe[2]: Entering directory `d:/gzip-1.3.14/lib'
&lt;br&gt;&amp;gt; make.exe[3]: Entering directory `d:/gzip-1.3.14/lib'
&lt;br&gt;&amp;gt; &amp;nbsp; CC &amp;nbsp; &amp;nbsp; &amp;nbsp; close-hook.o
&lt;br&gt;&amp;gt; &amp;nbsp; CC &amp;nbsp; &amp;nbsp; &amp;nbsp; freadahead.o
&lt;br&gt;&amp;gt; freadahead.c:83:3: error: #error &amp;quot;Please port gnulib freadahead.c to your platfo
&lt;br&gt;&amp;gt; rm! Look at the definition of fflush, fread, ungetc on your system, then report
&lt;br&gt;&amp;gt; this to bug-gnulib.&amp;quot;
&lt;br&gt;&amp;gt; make.exe[3]: *** [freadahead.o] Error 1
&lt;br&gt;&amp;gt; make.exe[3]: Leaving directory `d:/gzip-1.3.14/lib'
&lt;br&gt;&amp;gt; make.exe[2]: *** [all-recursive] Error 1
&lt;br&gt;&amp;gt; make.exe[2]: Leaving directory `d:/gzip-1.3.14/lib'
&lt;br&gt;&amp;gt; make.exe[1]: *** [all] Error 2
&lt;br&gt;&amp;gt; make.exe[1]: Leaving directory `d:/gzip-1.3.14/lib'
&lt;br&gt;&amp;gt; make.exe: *** [all-recursive] Error 1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ...(snip)
&lt;br&gt;&amp;gt; Additionally,
&lt;br&gt;&amp;gt; (snip)...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; D:\GZIP-1~1.14&amp;gt;make -f msdos/makefile.djg
&lt;br&gt;&amp;gt; gcc -c &amp;nbsp;-O2 -finline-functions -fomit-frame-pointer -I./lib &amp;nbsp;gzip.c
&lt;br&gt;&amp;gt; d:/djgpp204/tmp/ccebBP1e.s: Assembler messages:
&lt;br&gt;&amp;gt; d:/djgpp204/tmp/ccebBP1e.s:4292: Error: junk at end of line, first unrecognized
&lt;br&gt;&amp;gt; character is `,'
&lt;br&gt;&amp;gt; d:/djgpp204/tmp/ccebBP1e.s:4477: Error: junk at end of line, first unrecognized
&lt;br&gt;&amp;gt; character is `,'
&lt;br&gt;&amp;gt; d:/djgpp204/tmp/ccebBP1e.s:4478: Error: junk at end of line, first unrecognized
&lt;br&gt;&amp;gt; character is `,'
&lt;br&gt;&amp;gt; make.exe: *** [gzip.o] Error 1
&lt;br&gt;&amp;gt; ...(snip)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; As I have already mentioned I stopped getting a warning about a
&lt;br&gt;&amp;gt; redundant declaration of a variable after editing `config.h' to comment
&lt;br&gt;&amp;gt; it out.
&lt;/div&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/gzip-1.3.14-beta---djgpp-makefile-error-fixed-%28-%29-tp26359224p26362287.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26359224</id>
	<title>gzip 1.3.14 beta - djgpp makefile error fixed (?)</title>
	<published>2009-11-15T05:48:09Z</published>
	<updated>2009-11-15T05:48:09Z</updated>
	<author>
		<name>Allan Mui</name>
	</author>
	<content type="html">Following up on a thread regarding gzip 1.3.13, I was getting the error
&lt;br&gt;message &amp;quot; no rule to make target - getopt.h&amp;quot;. I have got past this error
&lt;br&gt;but still cannot build due to my lack of expertise, apparently broken
&lt;br&gt;djgpp installation and possibly missing gnu libraries. I did change the
&lt;br&gt;cflag line (as suggested in a reply) to add to the include path for the
&lt;br&gt;compilation step but the real problem was in the list of targets at the
&lt;br&gt;bottom of the makefile. Instead of simply `getopt.h' I changed it to
&lt;br&gt;`lib/getopt.h' and that solves the problem. The big qualification to
&lt;br&gt;this is that I had to run the configure script, which creates a new
&lt;br&gt;`makefile'. You have to run the new `makefile' just to create `getopt.h'
&lt;br&gt;in the `lib' subdirectory. &amp;nbsp;I also got a warning compiling `config.h'
&lt;br&gt;about a redundant declaration which I fixed by simply commenting it out
&lt;br&gt;of `config.h' . There is a a bug in my DJGPP 2.024 beta installation
&lt;br&gt;ever since I updated to GCC 4.41 where I get assembler errors most of
&lt;br&gt;the time (see below).
&lt;br&gt;&lt;br&gt;Here is some of the command line window output:
&lt;br&gt;&lt;br&gt;checking for ANSI C header files... (cached) yes
&lt;br&gt;checking for dirent.h that defines DIR... yes
&lt;br&gt;checking for library containing opendir... none required
&lt;br&gt;checking return type of signal handlers... void
&lt;br&gt;checking for size_t... (cached) yes
&lt;br&gt;checking for off_t... yes
&lt;br&gt;configure: creating ./config.status
&lt;br&gt;config.status: creating Makefile
&lt;br&gt;config.status: creating doc/Makefile
&lt;br&gt;config.status: creating lib/Makefile
&lt;br&gt;config.status: creating lib/config.h
&lt;br&gt;config.status: executing depfiles commands
&lt;br&gt;bash-2.05b$ exit
&lt;br&gt;exit
&lt;br&gt;&lt;br&gt;D:\GZIP-1~1.14&amp;gt;make -f makefile
&lt;br&gt;Making all in lib
&lt;br&gt;make.exe[1]: Entering directory `d:/gzip-1.3.14/lib'
&lt;br&gt;&amp;nbsp; GEN &amp;nbsp; &amp;nbsp; &amp;nbsp;alloca.h
&lt;br&gt;&amp;nbsp; GEN &amp;nbsp; &amp;nbsp; &amp;nbsp;configmake.h
&lt;br&gt;&amp;nbsp; GEN &amp;nbsp; &amp;nbsp; &amp;nbsp;errno.h
&lt;br&gt;&amp;nbsp; GEN &amp;nbsp; &amp;nbsp; &amp;nbsp;fcntl.h
&lt;br&gt;&amp;nbsp; GEN &amp;nbsp; &amp;nbsp; &amp;nbsp;getopt.h
&lt;br&gt;&amp;nbsp; GEN &amp;nbsp; &amp;nbsp; &amp;nbsp;math.h
&lt;br&gt;&amp;nbsp; GEN &amp;nbsp; &amp;nbsp; &amp;nbsp;stdint.h
&lt;br&gt;&amp;nbsp; GEN &amp;nbsp; &amp;nbsp; &amp;nbsp;stdio.h
&lt;br&gt;&amp;nbsp; GEN &amp;nbsp; &amp;nbsp; &amp;nbsp;stdlib.h
&lt;br&gt;&amp;nbsp; GEN &amp;nbsp; &amp;nbsp; &amp;nbsp;string.h
&lt;br&gt;&amp;nbsp; GEN &amp;nbsp; &amp;nbsp; &amp;nbsp;sys/stat.h
&lt;br&gt;&amp;nbsp; GEN &amp;nbsp; &amp;nbsp; &amp;nbsp;sys/time.h
&lt;br&gt;&amp;nbsp; GEN &amp;nbsp; &amp;nbsp; &amp;nbsp;time.h
&lt;br&gt;&amp;nbsp; GEN &amp;nbsp; &amp;nbsp; &amp;nbsp;unistd.h
&lt;br&gt;&amp;nbsp; GEN &amp;nbsp; &amp;nbsp; &amp;nbsp;wchar.h
&lt;br&gt;&amp;nbsp; GEN &amp;nbsp; &amp;nbsp; &amp;nbsp;wctype.h
&lt;br&gt;d:/djgpp204/bin/make.exe &amp;nbsp;all-recursive
&lt;br&gt;make.exe[2]: Entering directory `d:/gzip-1.3.14/lib'
&lt;br&gt;make.exe[3]: Entering directory `d:/gzip-1.3.14/lib'
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; &amp;nbsp; close-hook.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; &amp;nbsp; freadahead.o
&lt;br&gt;freadahead.c:83:3: error: #error &amp;quot;Please port gnulib freadahead.c to your platfo
&lt;br&gt;rm! Look at the definition of fflush, fread, ungetc on your system, then report
&lt;br&gt;this to bug-gnulib.&amp;quot;
&lt;br&gt;make.exe[3]: *** [freadahead.o] Error 1
&lt;br&gt;make.exe[3]: Leaving directory `d:/gzip-1.3.14/lib'
&lt;br&gt;make.exe[2]: *** [all-recursive] Error 1
&lt;br&gt;make.exe[2]: Leaving directory `d:/gzip-1.3.14/lib'
&lt;br&gt;make.exe[1]: *** [all] Error 2
&lt;br&gt;make.exe[1]: Leaving directory `d:/gzip-1.3.14/lib'
&lt;br&gt;make.exe: *** [all-recursive] Error 1
&lt;br&gt;&lt;br&gt;...(snip)
&lt;br&gt;Additionally,
&lt;br&gt;(snip)...
&lt;br&gt;&lt;br&gt;D:\GZIP-1~1.14&amp;gt;make -f msdos/makefile.djg
&lt;br&gt;gcc -c &amp;nbsp;-O2 -finline-functions -fomit-frame-pointer -I./lib &amp;nbsp;gzip.c
&lt;br&gt;d:/djgpp204/tmp/ccebBP1e.s: Assembler messages:
&lt;br&gt;d:/djgpp204/tmp/ccebBP1e.s:4292: Error: junk at end of line, first unrecognized
&lt;br&gt;character is `,'
&lt;br&gt;d:/djgpp204/tmp/ccebBP1e.s:4477: Error: junk at end of line, first unrecognized
&lt;br&gt;character is `,'
&lt;br&gt;d:/djgpp204/tmp/ccebBP1e.s:4478: Error: junk at end of line, first unrecognized
&lt;br&gt;character is `,'
&lt;br&gt;make.exe: *** [gzip.o] Error 1
&lt;br&gt;...(snip)
&lt;br&gt;&lt;br&gt;As I have already mentioned I stopped getting a warning about a
&lt;br&gt;redundant declaration of a variable after editing `config.h' to comment
&lt;br&gt;it out.
&lt;br&gt;&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;&lt;br&gt;-- 
&lt;br&gt;Allan J. Mui
&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;Makefile.djg&lt;/strong&gt; (7K) &lt;a href=&quot;http://old.nabble.com/attachment/26359224/0/Makefile.djg&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;config.h&lt;/strong&gt; (36K) &lt;a href=&quot;http://old.nabble.com/attachment/26359224/1/config.h&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/gzip-1.3.14-beta---djgpp-makefile-error-fixed-%28-%29-tp26359224p26359224.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26336880</id>
	<title>set binary mode on stdin and stdout for Cygwin</title>
	<published>2009-11-10T17:31:05Z</published>
	<updated>2009-11-10T17:31:05Z</updated>
	<author>
		<name>Ilguiz Latypov-2</name>
	</author>
	<content type="html">&lt;br&gt;Hello,
&lt;br&gt;&lt;br&gt;I found that Cygwin distributes a modified version of gzip that fixes a binary mode issue reproduced with the attached script.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://mirrors.kernel.org/sourceware/cygwin/release/gzip/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mirrors.kernel.org/sourceware/cygwin/release/gzip/&lt;/a&gt;&lt;br&gt;&lt;br&gt;I could not find a version-controlled repository with this patch. &amp;nbsp;The one at Sourceforge does not have it,
&lt;br&gt;&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://cygwin-ports.svn.sourceforge.net/viewvc/cygwin-ports/ports/branches/cygwin-1.5/archive/gzip/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cygwin-ports.svn.sourceforge.net/viewvc/cygwin-ports/ports/branches/cygwin-1.5/archive/gzip/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://cygwin-ports.svn.sourceforge.net/viewvc/cygwin-ports/ports/trunk/archive/gzip/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cygwin-ports.svn.sourceforge.net/viewvc/cygwin-ports/ports/trunk/archive/gzip/&lt;/a&gt;&lt;br&gt;&lt;br&gt;Cheers.&lt;br /&gt;diff -ur gzip-1.3.12/tailor.h /usr/src/gzip-1.3.12-2/tailor.h
&lt;br&gt;--- gzip-1.3.12/tailor.h	2009-11-10 19:21:45.942127500 -0500
&lt;br&gt;+++ /usr/src/gzip-1.3.12-2/tailor.h	2007-07-23 17:12:59.001000000 -0400
&lt;br&gt;@@ -256,6 +256,9 @@
&lt;br&gt;&amp;nbsp;# &amp;nbsp;define OS_CODE &amp;nbsp;0x0a
&lt;br&gt;&amp;nbsp;#endif
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+#ifdef __CYGWIN__
&lt;br&gt;+# &amp;nbsp;define SET_BINARY_MODE(fd) setmode(fd, O_BINARY)
&lt;br&gt;+#endif
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	/* Common defaults */
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;text-mode.sh&lt;/strong&gt; (6K) &lt;a href=&quot;http://old.nabble.com/attachment/26336880/0/text-mode.sh&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/set-binary-mode-on-stdin-and-stdout-for-Cygwin-tp26336880p26336880.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26243120</id>
	<title>Re: Zutils vs single compressor utilities</title>
	<published>2009-11-07T01:11:49Z</published>
	<updated>2009-11-07T01:11:49Z</updated>
	<author>
		<name>Jim Meyering</name>
	</author>
	<content type="html">Antonio Diaz Diaz wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Jim Meyering wrote:
&lt;br&gt;&amp;gt;&amp;gt; However, I have a profound aversion to using a shell script
&lt;br&gt;&amp;gt;&amp;gt; for any task that I require to be executed in a robust manner.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; As such, my medium-term goal is to prototype a perl-based tool
&lt;br&gt;&amp;gt;&amp;gt; using IO:Compress that can do the job more efficiently and more
&lt;br&gt;&amp;gt;&amp;gt; robustly than bourne shell-based code can.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Are you sure a runtime dependency of the gzip package on perl is worth
&lt;br&gt;&amp;gt; the trouble?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In any case the coordination issue remains open.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If your future perl-based tools are for gzip files only, like the
&lt;br&gt;&amp;gt; current ones, then I think it is better to rename them to gzdiff, etc.
&lt;/div&gt;&lt;br&gt;IO::Compress is multi-format.
&lt;br&gt;&lt;br&gt;&amp;gt; If your future perl-based tools are multi-format, then I think it is
&lt;br&gt;&amp;gt; better to package them independently of compressors. Meanwhile, I
&lt;br&gt;&amp;gt; think it is better to rename the current gzip-only scripts to gzdiff,
&lt;br&gt;&amp;gt; etc.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What do you think?
&lt;br&gt;&lt;br&gt;Let's see how things stand in a month or two.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Zutils-vs-single-compressor-utilities-tp26185818p26243120.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26202814</id>
	<title>Re: Zutils vs single compressor utilities</title>
	<published>2009-11-04T11:09:46Z</published>
	<updated>2009-11-04T11:09:46Z</updated>
	<author>
		<name>Bugzilla from ant_diaz@teleline.es</name>
	</author>
	<content type="html">Jim Meyering wrote:
&lt;br&gt;&amp;gt; However, I have a profound aversion to using a shell script
&lt;br&gt;&amp;gt; for any task that I require to be executed in a robust manner.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; As such, my medium-term goal is to prototype a perl-based tool
&lt;br&gt;&amp;gt; using IO:Compress that can do the job more efficiently and more
&lt;br&gt;&amp;gt; robustly than bourne shell-based code can.
&lt;br&gt;&lt;br&gt;Are you sure a runtime dependency of the gzip package on perl is worth 
&lt;br&gt;the trouble?
&lt;br&gt;&lt;br&gt;In any case the coordination issue remains open.
&lt;br&gt;&lt;br&gt;If your future perl-based tools are for gzip files only, like the 
&lt;br&gt;current ones, then I think it is better to rename them to gzdiff, etc.
&lt;br&gt;&lt;br&gt;If your future perl-based tools are multi-format, then I think it is 
&lt;br&gt;better to package them independently of compressors. Meanwhile, I think 
&lt;br&gt;it is better to rename the current gzip-only scripts to gzdiff, etc.
&lt;br&gt;&lt;br&gt;What do you think?
&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Antonio.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Zutils-vs-single-compressor-utilities-tp26185818p26202814.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26186724</id>
	<title>Re: Zutils vs single compressor utilities</title>
	<published>2009-11-03T13:14:32Z</published>
	<updated>2009-11-03T13:14:32Z</updated>
	<author>
		<name>Jim Meyering</name>
	</author>
	<content type="html">Antonio Diaz Diaz wrote:
&lt;br&gt;&amp;gt; As nobody responded to
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.gnu.org/archive/html/bug-gzip/2009-08/msg00000.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/archive/html/bug-gzip/2009-08/msg00000.html&lt;/a&gt;, I am
&lt;br&gt;&amp;gt; sending this message again.
&lt;br&gt;...
&lt;br&gt;&amp;gt; I am writing you because the most obvious names for such utilities are
&lt;br&gt;&amp;gt; the names of the utilities already distributed with gzip. I hope we
&lt;br&gt;&amp;gt; can cooperate to avoid name clashes in distributions. I think the best
&lt;br&gt;&amp;gt; way is gzip, bzip2 and lzip stop distributing their respective
&lt;br&gt;&amp;gt; utilities and distributions provide the zutils port/package to replace
&lt;br&gt;&amp;gt; those utilities.
&lt;br&gt;&lt;br&gt;Thanks for working on that.
&lt;br&gt;However, I have a profound aversion to using a shell script
&lt;br&gt;for any task that I require to be executed in a robust manner.
&lt;br&gt;&lt;br&gt;As such, my medium-term goal is to prototype a perl-based tool
&lt;br&gt;using IO:Compress that can do the job more efficiently and more
&lt;br&gt;robustly than bourne shell-based code can.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Zutils-vs-single-compressor-utilities-tp26185818p26186724.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26185818</id>
	<title>Zutils vs single compressor utilities</title>
	<published>2009-11-02T09:36:03Z</published>
	<updated>2009-11-02T09:36:03Z</updated>
	<author>
		<name>Bugzilla from ant_diaz@teleline.es</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;As nobody responded to 
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/archive/html/bug-gzip/2009-08/msg00000.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/archive/html/bug-gzip/2009-08/msg00000.html&lt;/a&gt;, I am 
&lt;br&gt;sending this message again.
&lt;br&gt;&lt;br&gt;Vincent Lefevre (maintainer of the MPFR package) suggested that 
&lt;br&gt;utilities like zdiff, bzdiff, lzdiff, etc, should be provided 
&lt;br&gt;independently of compressors. So I have written a package named zutils 
&lt;br&gt;where I include such utilities with support for gzip, bzip2, lzip, xz 
&lt;br&gt;and uncompressed files. (Support for other compressors may be added later).
&lt;br&gt;&lt;br&gt;I am writing you because the most obvious names for such utilities are 
&lt;br&gt;the names of the utilities already distributed with gzip. I hope we can 
&lt;br&gt;cooperate to avoid name clashes in distributions. I think the best way 
&lt;br&gt;is gzip, bzip2 and lzip stop distributing their respective utilities and 
&lt;br&gt;distributions provide the zutils port/package to replace those utilities.
&lt;br&gt;&lt;br&gt;Alternatively, gzip utilities could be renamed to gzcat, gzdiff, etc.
&lt;br&gt;&lt;br&gt;The zutils package has been offered to GNU and is waiting approval, but 
&lt;br&gt;it seems coordination with the gzip maintainer is the main pending issue.
&lt;br&gt;&lt;br&gt;With zutils you can do:
&lt;br&gt;zdiff file1.lz file2.gz
&lt;br&gt;zdiff file1.bz2 file2
&lt;br&gt;&amp;nbsp; &amp;nbsp;or
&lt;br&gt;zgrep &amp;quot;string&amp;quot; file1 file2.lz file3.gz file4.bz2
&lt;br&gt;&lt;br&gt;Zutils homepage is &lt;a href=&quot;http://www.nongnu.org/zutils/zutils.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.nongnu.org/zutils/zutils.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;Antonio.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Zutils-vs-single-compressor-utilities-tp26185818p26185818.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26158768</id>
	<title>decompress _Z file</title>
	<published>2009-11-01T03:24:49Z</published>
	<updated>2009-11-01T03:24:49Z</updated>
	<author>
		<name>Rabab Deghidy</name>
	</author>
	<content type="html">&lt;br&gt;Hello Sir;
&lt;br&gt;&lt;br&gt;Please I need ur help
&lt;br&gt;&lt;br&gt;I have a file end with &amp;quot;_Z&amp;quot; without any extention 
&lt;br&gt;&lt;br&gt;I am using Windows XP (no unix at all)
&lt;br&gt;&lt;br&gt;I know that the file contains compressed radar video data
&lt;br&gt;&lt;br&gt;So I tried many many programs to decmpress(as: Winrar, winzip,Bitzipper, 7-Zip ... &amp;nbsp;, it all fail).
&lt;br&gt;&lt;br&gt;How can I use gzip in Windows XP?
&lt;br&gt;&lt;br&gt;How can u help me to decompress this file?
&lt;br&gt;&lt;br&gt;wait for reply
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;		 	 &amp;nbsp; 		 &amp;nbsp;
&lt;br&gt;_________________________________________________________________
&lt;br&gt;Windows Live: Keep your friends up to date with what you do online.
&lt;br&gt;&lt;a href=&quot;http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_1:092010&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_1:092010&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/decompress-_Z-file-tp26158768p26158768.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26136295</id>
	<title>Re: gzip-1.3.14 released [beta]</title>
	<published>2009-10-30T13:14:46Z</published>
	<updated>2009-10-30T13:14:46Z</updated>
	<author>
		<name>Jim Meyering</name>
	</author>
	<content type="html">Mike Frysinger wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Friday 30 October 2009 15:15:28 Jim Meyering wrote:
&lt;br&gt;&amp;gt;&amp;gt; This is to announce a beta release of gzip.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.gnu.org/software/gzip/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gzip/&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Actually I'm convinced that this is production quality software, but there
&lt;br&gt;&amp;gt;&amp;gt; has been so little feedback, I'm going to err on the side of caution and
&lt;br&gt;&amp;gt;&amp;gt; call it &amp;quot;beta&amp;quot;. &amp;nbsp;Besides, there were a few portability problems with the
&lt;br&gt;&amp;gt;&amp;gt; last beta release, and this release will serve to ensure that they've
&lt;br&gt;&amp;gt;&amp;gt; been fixed.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; i havent heard any complaints for the last ~month that gzip-1.3.13 has been in
&lt;br&gt;&amp;gt; Gentoo ...
&lt;/div&gt;&lt;br&gt;Thanks. &amp;nbsp;That helps.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/gzip-1.3.14-released--beta--tp26135542p26136295.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26135850</id>
	<title>Re: gzip-1.3.14 released [beta]</title>
	<published>2009-10-30T12:39:32Z</published>
	<updated>2009-10-30T12:39:32Z</updated>
	<author>
		<name>Mike Frysinger</name>
	</author>
	<content type="html">On Friday 30 October 2009 15:15:28 Jim Meyering wrote:
&lt;br&gt;&amp;gt; This is to announce a beta release of gzip.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.gnu.org/software/gzip/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gzip/&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Actually I'm convinced that this is production quality software, but there
&lt;br&gt;&amp;gt; has been so little feedback, I'm going to err on the side of caution and
&lt;br&gt;&amp;gt; call it &amp;quot;beta&amp;quot;. &amp;nbsp;Besides, there were a few portability problems with the
&lt;br&gt;&amp;gt; last beta release, and this release will serve to ensure that they've
&lt;br&gt;&amp;gt; been fixed.
&lt;br&gt;&lt;br&gt;i havent heard any complaints for the last ~month that gzip-1.3.13 has been in 
&lt;br&gt;Gentoo ...
&lt;br&gt;-mike
&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (853 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26135850/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/gzip-1.3.14-released--beta--tp26135542p26135850.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26135542</id>
	<title>gzip-1.3.14 released [beta]</title>
	<published>2009-10-30T12:15:28Z</published>
	<updated>2009-10-30T12:15:28Z</updated>
	<author>
		<name>Jim Meyering</name>
	</author>
	<content type="html">This is to announce a beta release of gzip.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.gnu.org/software/gzip/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gzip/&lt;/a&gt;&lt;br&gt;&lt;br&gt;Actually I'm convinced that this is production quality software, but there
&lt;br&gt;has been so little feedback, I'm going to err on the side of caution and
&lt;br&gt;call it &amp;quot;beta&amp;quot;. &amp;nbsp;Besides, there were a few portability problems with the
&lt;br&gt;last beta release, and this release will serve to ensure that they've
&lt;br&gt;been fixed.
&lt;br&gt;&lt;br&gt;There have been a few bug fixes (nothing major, see NEWS below),
&lt;br&gt;and we've inherited a few portability fixes from gnulib.
&lt;br&gt;&lt;br&gt;Distro maintainers: please send any pending patches to the bug-gzip
&lt;br&gt;mailing list (if possible in git format-patch format, per instructions
&lt;br&gt;in &lt;a href=&quot;http://git.sv.gnu.org/cgit/coreutils.git/plain/HACKING&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://git.sv.gnu.org/cgit/coreutils.git/plain/HACKING&lt;/a&gt;) and I'll try
&lt;br&gt;to take them off your hands.
&lt;br&gt;&lt;br&gt;Here are the compressed sources:
&lt;br&gt;&amp;nbsp; ftp://alpha.gnu.org/gnu/gzip/gzip-1.3.14.tar.gz &amp;nbsp; (828KB)
&lt;br&gt;&amp;nbsp; ftp://alpha.gnu.org/gnu/gzip/gzip-1.3.14.tar.xz &amp;nbsp; (556KB)
&lt;br&gt;&lt;br&gt;Here are the GPG detached signatures[*]:
&lt;br&gt;&amp;nbsp; ftp://alpha.gnu.org/gnu/gzip/gzip-1.3.14.tar.gz.sig
&lt;br&gt;&amp;nbsp; ftp://alpha.gnu.org/gnu/gzip/gzip-1.3.14.tar.xz.sig
&lt;br&gt;&lt;br&gt;[*] You can use either of the above signature files to verify that
&lt;br&gt;the corresponding file (without the .sig suffix) is intact. &amp;nbsp;First,
&lt;br&gt;be sure to download both the .sig file and the corresponding tarball.
&lt;br&gt;Then, run a command like this:
&lt;br&gt;&lt;br&gt;&amp;nbsp; gpg --verify gzip-1.3.14.tar.gz.sig
&lt;br&gt;&lt;br&gt;If that command fails because you don't have the required public key,
&lt;br&gt;then run this command to import it:
&lt;br&gt;&lt;br&gt;&amp;nbsp; gpg --keyserver keys.gnupg.net --recv-keys B9AB9A16
&lt;br&gt;&lt;br&gt;and rerun the `gpg --verify' command.
&lt;br&gt;&lt;br&gt;This release was bootstrapped with the following tools:
&lt;br&gt;&amp;nbsp; Autoconf 2.64.69-81c80
&lt;br&gt;&amp;nbsp; Automake 1.11a
&lt;br&gt;&amp;nbsp; Gnulib v0.0-2793-gb3602e8
&lt;br&gt;&lt;br&gt;NEWS
&lt;br&gt;&lt;br&gt;* Noteworthy changes in release 1.3.14 (2009-10-30) [beta]
&lt;br&gt;&lt;br&gt;** Bug fixes
&lt;br&gt;&lt;br&gt;&amp;nbsp; gzip no longer fails when there is exactly one trailing NUL byte
&lt;br&gt;&amp;nbsp; gzip has always accepted trailing NUL bytes. &amp;nbsp;Note the plural.
&lt;br&gt;&lt;br&gt;&amp;nbsp; zdiff would exit with status 2 (indicating an error) rather than 1 to
&lt;br&gt;&amp;nbsp; indicate differences when both inputs were compressed and different.
&lt;br&gt;&lt;br&gt;&amp;nbsp; zdiff would fail to print differences in two compressed inputs
&lt;br&gt;&lt;br&gt;&amp;nbsp; zgrep -f - didn't work
&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;attachment0&lt;/strong&gt; (859 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26135542/0/attachment0&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/gzip-1.3.14-released--beta--tp26135542p26135542.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26094636</id>
	<title>Re: gzip 1.3.13 - djgpp makefile error - djgpp 2.04 beta</title>
	<published>2009-10-28T06:28:14Z</published>
	<updated>2009-10-28T06:28:14Z</updated>
	<author>
		<name>Jim Meyering</name>
	</author>
	<content type="html">Allan Mui wrote:
&lt;br&gt;&amp;gt; When I tried to compile the new version of gzip using djgpp 2.04 beta on
&lt;br&gt;&amp;gt; Windows XP Home SP3 at first I encountered two errors in the makefile that
&lt;br&gt;&amp;gt; are easy to fix : replace leading spaces with &amp;quot;tab&amp;quot;. Then I encountered
&lt;br&gt;&lt;br&gt;Thanks. &amp;nbsp;I've fixed that upstream with the patch below.
&lt;br&gt;&lt;br&gt;&amp;gt; this error which I can't fix myself since it seems that a header file is
&lt;br&gt;&amp;gt; missing :
&lt;br&gt;&amp;gt; (from command window)...
&lt;br&gt;&amp;gt; D:\gzip-1.3.13&amp;gt;make -f msdos\makefile.djg install
&lt;br&gt;&amp;gt; make.exe: *** No rule to make target `getopt.h', needed by `gzip.o'. &amp;nbsp;Stop.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ...(end of command window output.)
&lt;br&gt;&amp;gt; Do I need to include another external source in order to compile? Could
&lt;br&gt;&amp;gt; this makefile be out-of-date?
&lt;br&gt;&lt;br&gt;getopt.h is included in the tarball, but it is in the lib/
&lt;br&gt;directory, so you may have to add &amp;quot;-I lib&amp;quot; to tell the compiler
&lt;br&gt;to look there. &amp;nbsp;Changing the CFLAGS definition in Makefile.djg
&lt;br&gt;like this might do it:
&lt;br&gt;&lt;br&gt;CFLAGS = -O2 -finline-functions -fomit-frame-pointer -I$(srcdir)/../lib
&lt;br&gt;&lt;br&gt;If that works, please let us know by replying to this list.
&lt;br&gt;&lt;br&gt;&lt;br&gt;From 3eb232f4b9d15ad37799c5a4a350d0be22c13d5e Mon Sep 17 00:00:00 2001
&lt;br&gt;From: Jim Meyering &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26094636&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;meyering@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: Wed, 28 Oct 2009 14:17:18 +0100
&lt;br&gt;Subject: [PATCH] msdos: fix syntax in Makefile.djg
&lt;br&gt;&lt;br&gt;* msdos/Makefile.djg (gzip): Change each of two leading 8-space
&lt;br&gt;sequences to a TAB. &amp;nbsp;Reported by Allan Mui.
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;msdos/Makefile.djg | &amp;nbsp; &amp;nbsp;4 ++--
&lt;br&gt;&amp;nbsp;1 files changed, 2 insertions(+), 2 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/msdos/Makefile.djg b/msdos/Makefile.djg
&lt;br&gt;index f13b6f0..30eb39c 100644
&lt;br&gt;--- a/msdos/Makefile.djg
&lt;br&gt;+++ b/msdos/Makefile.djg
&lt;br&gt;@@ -166,8 +166,8 @@ gzip$X:	gzip
&lt;br&gt;&amp;nbsp;	aout2exe gzip
&lt;br&gt;&lt;br&gt;&amp;nbsp;gzip:	$(OBJ1) $(OBJ2)
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;echo $(OBJ1) &amp;gt; gzip.rsp
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;echo $(OBJ2) $(LIBS) &amp;gt;&amp;gt; gzip.rsp
&lt;br&gt;+	echo $(OBJ1) &amp;gt; gzip.rsp
&lt;br&gt;+	echo $(OBJ2) $(LIBS) &amp;gt;&amp;gt; gzip.rsp
&lt;br&gt;&amp;nbsp;	$(CC) $(LDFLAGS) -o $@ @gzip.rsp
&lt;br&gt;&amp;nbsp;	del gzip.rsp
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;1.6.5.2.344.ga473e
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/gzip-1.3.13---djgpp-makefile-error---djgpp-2.04-beta-tp26065500p26094636.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26065500</id>
	<title>gzip 1.3.13 - djgpp makefile error - djgpp 2.04 beta</title>
	<published>2009-10-25T21:43:50Z</published>
	<updated>2009-10-25T21:43:50Z</updated>
	<author>
		<name>Allan Mui</name>
	</author>
	<content type="html">When I tried to compile the new version of gzip using djgpp 2.04 beta on
&lt;br&gt;Windows XP Home SP3 at first I encountered two errors in the makefile that
&lt;br&gt;are easy to fix : replace leading spaces with &amp;quot;tab&amp;quot;. Then I encountered
&lt;br&gt;this error which I can't fix myself since it seems that a header file is
&lt;br&gt;missing :
&lt;br&gt;(from command window)...
&lt;br&gt;D:\gzip-1.3.13&amp;gt;make -f msdos\makefile.djg install
&lt;br&gt;make.exe: *** No rule to make target `getopt.h', needed by `gzip.o'. &amp;nbsp;Stop.
&lt;br&gt;&lt;br&gt;...(end of command window output.)
&lt;br&gt;Do I need to include another external source in order to compile? Could
&lt;br&gt;this makefile be out-of-date?
&lt;br&gt;Thanks for your attention.
&lt;br&gt;&lt;br&gt;Allan J. Mui AIEEE &amp;lt;&lt;a href=&quot;http://home.earthlink.net/~mu8ja0i/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://home.earthlink.net/~mu8ja0i/&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;&lt;a href=&quot;http://aqm1h-5zpv2g.spaces.live.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://aqm1h-5zpv2g.spaces.live.com/&lt;/a&gt;&amp;gt;
&lt;br&gt;GNU GPG public key ID # : &amp;quot;9a02eca5&amp;quot; .
&lt;br&gt;For fingerprint verification please visit either of the two web pages
&lt;br&gt;listed above.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/gzip-1.3.13---djgpp-makefile-error---djgpp-2.04-beta-tp26065500p26065500.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25973459</id>
	<title>Re: default prefix not honored, gzip 1.3.13, possibly before?</title>
	<published>2009-10-20T04:24:12Z</published>
	<updated>2009-10-20T04:24:12Z</updated>
	<author>
		<name>Jim Meyering</name>
	</author>
	<content type="html">Jim Meyering wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Zube wrote:
&lt;br&gt;&amp;gt;&amp;gt; A newly installed CentOS 5.3 x86_64 machine, with a mostly unpopulated
&lt;br&gt;&amp;gt;&amp;gt; /usr/local. &amp;nbsp;gzip has never been installed under /usr/local, the
&lt;br&gt;&amp;gt;&amp;gt; only gzip that exists is the local system one (/usr/bin/gzip, a link
&lt;br&gt;&amp;gt;&amp;gt; to /bin/gzip).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I run:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ./configure
&lt;br&gt;&amp;gt;&amp;gt; gmake
&lt;br&gt;&amp;gt;&amp;gt; gmake install
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; and it drops the install in /usr/bin. &amp;nbsp;Starting on line 19611 of the
&lt;br&gt;&amp;gt;&amp;gt; configure script, the prefix is changed based on where gzip is
&lt;br&gt;&amp;gt;&amp;gt; currently installed. &amp;nbsp;This is surprising and annoying behavior.
&lt;br&gt;&amp;gt;&amp;gt; The configure script is explicit:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ./configure --help
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ***
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Installation directories:
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; --prefix=PREFIX &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; install architecture-independent files in PREFIX
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [/usr/local]
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; By default, `make install' will install all the files in
&lt;br&gt;&amp;gt;&amp;gt; `/usr/local/bin', `/usr/local/lib' etc.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ***
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks to this errant behavior (off the top of my head, I know of no
&lt;br&gt;&amp;gt;&amp;gt; other GNU program that does this), I'm going to have a bit of manual
&lt;br&gt;&amp;gt;&amp;gt; undo to do. &amp;nbsp;I can force the build to do what I want with:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ./configure --prefix=/usr/local
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; but dear me, I shouldn't have to.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Could you please either document this behavior and change the output of
&lt;br&gt;&amp;gt;&amp;gt; ./configure --help or remove the check completely? &amp;nbsp;It makes no sense
&lt;br&gt;&amp;gt;&amp;gt; to change the default install location based on where gzip is found.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks for the report.
&lt;br&gt;&amp;gt; That is indeed surprising, and IMHO undesirable.
&lt;br&gt;&amp;gt; However, the logs suggest that gzip's installation process has been
&lt;br&gt;&amp;gt; working that way (using AC_PREFIX_PROGRAM(gzip), now in configure.ac)
&lt;br&gt;&amp;gt; for more than 10 years, so removing that &amp;quot;feature&amp;quot; would probably cause
&lt;br&gt;&amp;gt; more harm than good.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The only alternative I can imagine would be to make configure
&lt;br&gt;&amp;gt; fail if --prefix=/something is not specified. &amp;nbsp;And I'm sure some
&lt;br&gt;&amp;gt; would object to that, too. &amp;nbsp;So maybe the status quo is best.
&lt;/div&gt;&lt;br&gt;On second thought (and upon a prod from Karl Berry, thanks ;-),
&lt;br&gt;I've gone ahead and made the change after all.
&lt;br&gt;The existing behavior is just too non-intuitive.
&lt;br&gt;&lt;br&gt;From 7ef3730c1f88b398d9633eed877a81d46bc5f16b Mon Sep 17 00:00:00 2001
&lt;br&gt;From: Jim Meyering &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25973459&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;meyering@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: Tue, 20 Oct 2009 13:21:21 +0200
&lt;br&gt;Subject: [PATCH] build: do not use AC_PREFIX_PROGRAM
&lt;br&gt;&lt;br&gt;* configure.ac: Do not use &amp;quot;AC_PREFIX_PROGRAM(gzip)&amp;quot;.
&lt;br&gt;It would induce behavior that is so surprising that it is probably
&lt;br&gt;universally considered to be buggy, these days. &amp;nbsp;Reported by Zube
&lt;br&gt;in &lt;a href=&quot;http://thread.gmane.org/gmane.comp.gnu.gzip.bugs/273&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://thread.gmane.org/gmane.comp.gnu.gzip.bugs/273&lt;/a&gt;&lt;br&gt;---
&lt;br&gt;&amp;nbsp;configure.ac | &amp;nbsp; &amp;nbsp;2 --
&lt;br&gt;&amp;nbsp;1 files changed, 0 insertions(+), 2 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/configure.ac b/configure.ac
&lt;br&gt;index 174a59e..c568c02 100644
&lt;br&gt;--- a/configure.ac
&lt;br&gt;+++ b/configure.ac
&lt;br&gt;@@ -109,7 +109,5 @@ AC_TYPE_SIGNAL
&lt;br&gt;&amp;nbsp;AC_TYPE_SIZE_T
&lt;br&gt;&amp;nbsp;AC_TYPE_OFF_T
&lt;br&gt;&lt;br&gt;-AC_PREFIX_PROGRAM(gzip)
&lt;br&gt;-
&lt;br&gt;&amp;nbsp;AC_CONFIG_FILES([Makefile doc/Makefile lib/Makefile])
&lt;br&gt;&amp;nbsp;AC_OUTPUT
&lt;br&gt;--
&lt;br&gt;1.6.5.1.281.g7c7f7
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/default-prefix-not-honored%2C-gzip-1.3.13%2C-possibly-before--tp25886435p25973459.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25898502</id>
	<title>Re: default prefix not honored, gzip 1.3.13, possibly before?</title>
	<published>2009-10-14T13:31:28Z</published>
	<updated>2009-10-14T13:31:28Z</updated>
	<author>
		<name>Jim Meyering</name>
	</author>
	<content type="html">Zube wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; A newly installed CentOS 5.3 x86_64 machine, with a mostly unpopulated
&lt;br&gt;&amp;gt; /usr/local. &amp;nbsp;gzip has never been installed under /usr/local, the
&lt;br&gt;&amp;gt; only gzip that exists is the local system one (/usr/bin/gzip, a link
&lt;br&gt;&amp;gt; to /bin/gzip).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I run:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ./configure
&lt;br&gt;&amp;gt; gmake
&lt;br&gt;&amp;gt; gmake install
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; and it drops the install in /usr/bin. &amp;nbsp;Starting on line 19611 of the
&lt;br&gt;&amp;gt; configure script, the prefix is changed based on where gzip is
&lt;br&gt;&amp;gt; currently installed. &amp;nbsp;This is surprising and annoying behavior.
&lt;br&gt;&amp;gt; The configure script is explicit:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ./configure --help
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ***
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Installation directories:
&lt;br&gt;&amp;gt; &amp;nbsp; --prefix=PREFIX &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; install architecture-independent files in PREFIX
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [/usr/local]
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; By default, `make install' will install all the files in
&lt;br&gt;&amp;gt; `/usr/local/bin', `/usr/local/lib' etc.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ***
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks to this errant behavior (off the top of my head, I know of no
&lt;br&gt;&amp;gt; other GNU program that does this), I'm going to have a bit of manual
&lt;br&gt;&amp;gt; undo to do. &amp;nbsp;I can force the build to do what I want with:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ./configure --prefix=/usr/local
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; but dear me, I shouldn't have to.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Could you please either document this behavior and change the output of
&lt;br&gt;&amp;gt; ./configure --help or remove the check completely? &amp;nbsp;It makes no sense
&lt;br&gt;&amp;gt; to change the default install location based on where gzip is found.
&lt;/div&gt;&lt;br&gt;Thanks for the report.
&lt;br&gt;That is indeed surprising, and IMHO undesirable.
&lt;br&gt;However, the logs suggest that gzip's installation process has been
&lt;br&gt;working that way (using AC_PREFIX_PROGRAM(gzip), now in configure.ac)
&lt;br&gt;for more than 10 years, so removing that &amp;quot;feature&amp;quot; would probably cause
&lt;br&gt;more harm than good.
&lt;br&gt;&lt;br&gt;The only alternative I can imagine would be to make configure
&lt;br&gt;fail if --prefix=/something is not specified. &amp;nbsp;And I'm sure some
&lt;br&gt;would object to that, too. &amp;nbsp;So maybe the status quo is best.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/default-prefix-not-honored%2C-gzip-1.3.13%2C-possibly-before--tp25886435p25898502.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25869175</id>
	<title>Extract a .Z file using GZIP.exe</title>
	<published>2009-10-13T01:40:26Z</published>
	<updated>2009-10-13T01:40:26Z</updated>
	<author>
		<name>razwan</name>
	</author>
	<content type="html">How can you extract a UNIX .z file using c# for example &amp;quot;test.txt.Z&amp;quot;
&lt;br&gt;&lt;br&gt;I have the following code &amp;quot;process.start(&amp;quot;GZip.exe&amp;quot;,&amp;quot;-d PathName&amp;quot;);&amp;quot; How do i set the filepath for the folllowing code sample.
&lt;br&gt;&lt;br&gt;I am soo confussed, i want to extract the above file to the same directory in which it resides, any advice and good examples would be great.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Extract-a-.Z-file-using-GZIP.exe-tp25869175p25869175.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25864582</id>
	<title>Re: Bad email address in http://www.gnu.org/software/gzip/</title>
	<published>2009-10-12T15:55:03Z</published>
	<updated>2009-10-12T15:55:03Z</updated>
	<author>
		<name>Karl Berry</name>
	</author>
	<content type="html">&amp;nbsp; &amp;nbsp; The address &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25864582&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gzip@...&lt;/a&gt;&amp;gt; giver for Jean-loup Gailly is not
&lt;br&gt;&lt;br&gt;Thanks for the report. &amp;nbsp;There's no reason to give addresses for
&lt;br&gt;individuals in that context, so I removed them.
&lt;br&gt;&lt;br&gt;Best,
&lt;br&gt;Karl
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bad-email-address-in-http%3A--www.gnu.org-software-gzip--tp25850618p25864582.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25886436</id>
	<title>lib/vasnprintf.c line 2387 etc etc</title>
	<published>2009-10-12T13:07:42Z</published>
	<updated>2009-10-12T13:07:42Z</updated>
	<author>
		<name>Paul Lanken</name>
	</author>
	<content type="html">during make of gzip 1.3.13 the following issues are seen on Solaris 8
&lt;br&gt;x86 with Sun Studio 11 C compiler and all recent patches :
&lt;br&gt;&lt;br&gt;$ make
&lt;br&gt;Making all in lib
&lt;br&gt;gmake[1]: Entering directory `/build/gzip/i386/SunOS5.8/generic/lib'
&lt;br&gt;&amp;nbsp; GEN &amp;nbsp; &amp;nbsp;configmake.h
&lt;br&gt;&amp;nbsp; GEN &amp;nbsp; &amp;nbsp;fcntl.h
&lt;br&gt;&amp;nbsp; GEN &amp;nbsp; &amp;nbsp;getopt.h
&lt;br&gt;&amp;nbsp; GEN &amp;nbsp; &amp;nbsp;math.h
&lt;br&gt;&amp;nbsp; GEN &amp;nbsp; &amp;nbsp;stdbool.h
&lt;br&gt;&amp;nbsp; GEN &amp;nbsp; &amp;nbsp;stdint.h
&lt;br&gt;&amp;nbsp; GEN &amp;nbsp; &amp;nbsp;stdio.h
&lt;br&gt;&amp;nbsp; GEN &amp;nbsp; &amp;nbsp;stdlib.h
&lt;br&gt;&amp;nbsp; GEN &amp;nbsp; &amp;nbsp;string.h
&lt;br&gt;&amp;nbsp; GEN &amp;nbsp; &amp;nbsp;sys/stat.h
&lt;br&gt;&amp;nbsp; GEN &amp;nbsp; &amp;nbsp;time.h
&lt;br&gt;&amp;nbsp; GEN &amp;nbsp; &amp;nbsp;unistd.h
&lt;br&gt;&amp;nbsp; GEN &amp;nbsp; &amp;nbsp;wchar.h
&lt;br&gt;gmake &amp;nbsp;all-recursive
&lt;br&gt;gmake[2]: Entering directory `/build/gzip/i386/SunOS5.8/generic/lib'
&lt;br&gt;gmake[3]: Entering directory `/build/gzip/i386/SunOS5.8/generic/lib'
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; close-hook.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; freadahead.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; freading.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; fseterr.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; localcharset.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; printf-frexp.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; printf-frexpl.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; xalloc-die.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; asnprintf.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; close-stream.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; closein.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; closeout.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; creat-safer.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; dup-safer.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; error.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; exitfail.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; fd-safer.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; fprintf.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; fpurge.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; frexpl.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; getopt.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; getopt1.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; isnanf.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; isnanl.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; lstat.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; mbrtowc.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; mbsinit.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; open.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; open-safer.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; pipe-safer.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; printf.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; printf-args.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; printf-parse.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; quotearg.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; signbitd.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; signbitf.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; signbitl.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; stat.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; strerror.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; utimens.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; vasnprintf.o
&lt;br&gt;&amp;quot;../../../../gzip-1.3.13/lib/vasnprintf.c&amp;quot;, line 2387: warning:
&lt;br&gt;argument #3 is incompatible with prototype:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; prototype: pointer to struct __mbstate_t {array[6] of int
&lt;br&gt;__filler} : &amp;quot;/usr/include/iso/wchar_iso.h&amp;quot;, line 194
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; argument : pointer to int
&lt;br&gt;&amp;quot;../../../../gzip-1.3.13/lib/vasnprintf.c&amp;quot;, line 2432: warning:
&lt;br&gt;argument #3 is incompatible with prototype:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; prototype: pointer to struct __mbstate_t {array[6] of int
&lt;br&gt;__filler} : &amp;quot;/usr/include/iso/wchar_iso.h&amp;quot;, line 194
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; argument : pointer to int
&lt;br&gt;&amp;quot;../../../../gzip-1.3.13/lib/vasnprintf.c&amp;quot;, line 2563: warning:
&lt;br&gt;argument #3 is incompatible with prototype:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; prototype: pointer to struct __mbstate_t {array[6] of int
&lt;br&gt;__filler} : &amp;quot;/usr/include/iso/wchar_iso.h&amp;quot;, line 194
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; argument : pointer to int
&lt;br&gt;&amp;quot;../../../../gzip-1.3.13/lib/vasnprintf.c&amp;quot;, line 2592: warning:
&lt;br&gt;argument #3 is incompatible with prototype:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; prototype: pointer to struct __mbstate_t {array[6] of int
&lt;br&gt;__filler} : &amp;quot;/usr/include/iso/wchar_iso.h&amp;quot;, line 194
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; argument : pointer to int
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; vfprintf.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; xmalloc.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; yesno.o
&lt;br&gt;&amp;nbsp; AR &amp;nbsp; &amp;nbsp; libgzip.a
&lt;br&gt;&amp;nbsp; GEN &amp;nbsp; &amp;nbsp;charset.alias
&lt;br&gt;&amp;nbsp; GEN &amp;nbsp; &amp;nbsp;ref-add.sed
&lt;br&gt;&amp;nbsp; GEN &amp;nbsp; &amp;nbsp;ref-del.sed
&lt;br&gt;gmake[3]: Leaving directory `/build/gzip/i386/SunOS5.8/generic/lib'
&lt;br&gt;gmake[2]: Leaving directory `/build/gzip/i386/SunOS5.8/generic/lib'
&lt;br&gt;gmake[1]: Leaving directory `/build/gzip/i386/SunOS5.8/generic/lib'
&lt;br&gt;Making all in doc
&lt;br&gt;gmake[1]: Entering directory `/build/gzip/i386/SunOS5.8/generic/doc'
&lt;br&gt;gmake[1]: Nothing to be done for `all'.
&lt;br&gt;gmake[1]: Leaving directory `/build/gzip/i386/SunOS5.8/generic/doc'
&lt;br&gt;gmake[1]: Entering directory `/build/gzip/i386/SunOS5.8/generic'
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; bits.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; crypt.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; deflate.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; gzip.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; inflate.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; lzw.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; trees.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; unlzh.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; unlzw.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; unpack.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; unzip.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; util.o
&lt;br&gt;&amp;nbsp; CC &amp;nbsp; &amp;nbsp; zip.o
&lt;br&gt;&amp;nbsp; CCLD &amp;nbsp; gzip
&lt;br&gt;Undefined &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; first referenced
&lt;br&gt;&amp;nbsp;symbol &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; in file
&lt;br&gt;__printf__ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;gzip.o
&lt;br&gt;ld: fatal: Symbol referencing errors. No output written to gzip
&lt;br&gt;gmake[1]: *** [gzip] Error 1
&lt;br&gt;gmake[1]: Leaving directory `/build/gzip/i386/SunOS5.8/generic'
&lt;br&gt;gmake: *** [all-recursive] Error 1
&lt;br&gt;&lt;br&gt;Looks like some issue related the the use of GNU C keyword
&lt;br&gt;__attribute__ in code that should probably be standard K&amp;R C or even
&lt;br&gt;ISO/IEC 9899:1999.
&lt;br&gt;&lt;br&gt;Not sure how to fix this but some clean up work needs to be done ..
&lt;br&gt;comments like :
&lt;br&gt;&lt;br&gt;/* In GNU libc we want do not want to use the common name `error' directly.
&lt;br&gt;&amp;nbsp; &amp;nbsp;Instead make it a weak alias. &amp;nbsp;*/
&lt;br&gt;extern void __error (int status, int errnum, const char *message, ...)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;__attribute__ ((__format__ (__printf__, 3, 4)));
&lt;br&gt;extern void __error_at_line (int status, int errnum, const char *file_name,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;unsigned int line_number, const char *message,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;...)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;__attribute__ ((__format__ (__printf__, 5, 6)));;
&lt;br&gt;&lt;br&gt;The double ;; at the end there and the double negative comment causes
&lt;br&gt;me to think that perhaps this code has never been looked at by anyone?
&lt;br&gt;&lt;br&gt;Paul
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/lib-vasnprintf.c-line-2387-etc-etc-tp25886436p25886436.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25886435</id>
	<title>default prefix not honored, gzip 1.3.13, possibly before?</title>
	<published>2009-10-12T07:24:10Z</published>
	<updated>2009-10-12T07:24:10Z</updated>
	<author>
		<name>Zube</name>
	</author>
	<content type="html">A newly installed CentOS 5.3 x86_64 machine, with a mostly unpopulated
&lt;br&gt;/usr/local. &amp;nbsp;gzip has never been installed under /usr/local, the
&lt;br&gt;only gzip that exists is the local system one (/usr/bin/gzip, a link
&lt;br&gt;to /bin/gzip).
&lt;br&gt;&lt;br&gt;I run:
&lt;br&gt;&lt;br&gt;./configure
&lt;br&gt;gmake
&lt;br&gt;gmake install
&lt;br&gt;&lt;br&gt;and it drops the install in /usr/bin. &amp;nbsp;Starting on line 19611 of the
&lt;br&gt;configure script, the prefix is changed based on where gzip is
&lt;br&gt;currently installed. &amp;nbsp;This is surprising and annoying behavior.
&lt;br&gt;The configure script is explicit:
&lt;br&gt;&lt;br&gt;./configure --help
&lt;br&gt;&lt;br&gt;***
&lt;br&gt;&lt;br&gt;Installation directories:
&lt;br&gt;&amp;nbsp; --prefix=PREFIX &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; install architecture-independent files in PREFIX
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [/usr/local]
&lt;br&gt;&lt;br&gt;By default, `make install' will install all the files in
&lt;br&gt;`/usr/local/bin', `/usr/local/lib' etc.
&lt;br&gt;&lt;br&gt;***
&lt;br&gt;&lt;br&gt;Thanks to this errant behavior (off the top of my head, I know of no
&lt;br&gt;other GNU program that does this), I'm going to have a bit of manual
&lt;br&gt;undo to do. &amp;nbsp;I can force the build to do what I want with: 
&lt;br&gt;&lt;br&gt;./configure --prefix=/usr/local
&lt;br&gt;&lt;br&gt;but dear me, I shouldn't have to.
&lt;br&gt;&lt;br&gt;Could you please either document this behavior and change the output of
&lt;br&gt;./configure --help or remove the check completely? &amp;nbsp;It makes no sense
&lt;br&gt;to change the default install location based on where gzip is found.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Zube
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/default-prefix-not-honored%2C-gzip-1.3.13%2C-possibly-before--tp25886435p25886435.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25850618</id>
	<title>Bad email address in http://www.gnu.org/software/gzip/</title>
	<published>2009-10-11T11:20:46Z</published>
	<updated>2009-10-11T11:20:46Z</updated>
	<author>
		<name>Gianni Ceccarelli</name>
	</author>
	<content type="html">The address &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25850618&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gzip@...&lt;/a&gt;&amp;gt; giver for Jean-loup Gailly is not
&lt;br&gt;routeable:
&lt;br&gt;&lt;br&gt;&amp;gt; 199.232.76.166 does not like recipient.
&lt;br&gt;&amp;gt; Remote host said: 550-Callout verification failed:
&lt;br&gt;&amp;gt; 550 550 Unrouteable address
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dakkar - &amp;lt;Mobilis in mobile&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; GPG public key fingerprint = A071 E618 DD2C 5901 9574
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;6FE2 40EA 9883 7519 3F88
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; key id = 0x75193F88
&lt;br&gt;&lt;br&gt;Mal: &amp;quot;Okay, help me find our man; he's supposed to be older. Kind of
&lt;br&gt;stocky, wears a red sash crossways.&amp;quot; 
&lt;br&gt;&lt;br&gt;Kaylee: &amp;quot;Why does he do that?&amp;quot; 
&lt;br&gt;&lt;br&gt;Mal: &amp;quot;Maybe he won the Miss Persephone pageant. Just help me look.&amp;quot; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --Episode #4, &amp;quot;Shindig&amp;quot;
&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (205 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/25850618/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bad-email-address-in-http%3A--www.gnu.org-software-gzip--tp25850618p25850618.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25832577</id>
	<title>Re: Rare issue in ignoring padding</title>
	<published>2009-10-10T02:41:46Z</published>
	<updated>2009-10-10T02:41:46Z</updated>
	<author>
		<name>Jim Meyering</name>
	</author>
	<content type="html">Daniel Barkalow wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; The code to ignore trailing zeros from:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * gzip.c (get_method): Don't complain about trailing zeros at
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; the end of a gzipped file, as they're commonly appended to fill
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; out a block (e.g. by GNU tar).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; has a rare bug: if there is exactly one trailing zero (because, for
&lt;br&gt;&amp;gt; example, your compressed tar file was one byte short of a block), gzip
&lt;br&gt;&amp;gt; gets only the first byte of the magic, and it's zero, but then it hits the
&lt;br&gt;&amp;gt; end of the file on the second byte of the magic.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I think this should affect only that case, and make it not fail:
&lt;/div&gt;&lt;br&gt;Thank you!
&lt;br&gt;I've applied your patch (small enough to get by without a copyright assignment)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://git.sv.gnu.org/cgit/gzip.git/commit/?id=118a107f2d3ae5267b&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://git.sv.gnu.org/cgit/gzip.git/commit/?id=118a107f2d3ae5267b&lt;/a&gt;&lt;br&gt;&lt;br&gt;and added tests to exercise that bit of code:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://git.sv.gnu.org/cgit/gzip.git/commit/?id=8842154f6e88c37af3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://git.sv.gnu.org/cgit/gzip.git/commit/?id=8842154f6e88c37af3&lt;/a&gt;&lt;br&gt;&lt;br&gt;From 118a107f2d3ae5267b42e1aaac58a8b5ce9d1925 Mon Sep 17 00:00:00 2001
&lt;br&gt;From: Daniel Barkalow &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25832577&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;barkalow@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: Sat, 10 Oct 2009 11:35:13 +0200
&lt;br&gt;Subject: [PATCH 1/2] gzip: don't fail when there is exactly one trailing NUL byte
&lt;br&gt;&lt;br&gt;* gzip.c (get_method): Require the second byte of magic only if
&lt;br&gt;the first byte was nonzero.
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;gzip.c | &amp;nbsp; &amp;nbsp;9 +++++++--
&lt;br&gt;&amp;nbsp;1 files changed, 7 insertions(+), 2 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/gzip.c b/gzip.c
&lt;br&gt;index 8543128..b0f792a 100644
&lt;br&gt;--- a/gzip.c
&lt;br&gt;+++ b/gzip.c
&lt;br&gt;@@ -1266,8 +1266,13 @@ local int get_method(in)
&lt;br&gt;&amp;nbsp;	/* If try_byte returned EOF, magic[1] == (char) EOF. &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;} else {
&lt;br&gt;&amp;nbsp;	magic[0] = (char)get_byte();
&lt;br&gt;-	magic[1] = (char)get_byte();
&lt;br&gt;-	imagic1 = 0; /* avoid lint warning */
&lt;br&gt;+	if (magic[0]) {
&lt;br&gt;+	 &amp;nbsp; &amp;nbsp;magic[1] = (char)get_byte();
&lt;br&gt;+	 &amp;nbsp; &amp;nbsp;imagic1 = 0; /* avoid lint warning */
&lt;br&gt;+	} else {
&lt;br&gt;+	 &amp;nbsp; &amp;nbsp;imagic1 = try_byte ();
&lt;br&gt;+	 &amp;nbsp; &amp;nbsp;magic[1] = (char) imagic1;
&lt;br&gt;+	}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;method = -1; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* unknown yet */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;part_nb++; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* number of parts in gzip file */
&lt;br&gt;--
&lt;br&gt;1.6.5.rc3.227.g2ff1c
&lt;br&gt;&lt;br&gt;&lt;br&gt;From 8842154f6e88c37af3b62a4b5d11fdcb10aeb395 Mon Sep 17 00:00:00 2001
&lt;br&gt;From: Jim Meyering &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25832577&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;meyering@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: Sat, 10 Oct 2009 11:29:33 +0200
&lt;br&gt;Subject: [PATCH 2/2] gzip: add tests for today's bug fix
&lt;br&gt;&lt;br&gt;* tests/trailing-nul: New file. &amp;nbsp;Test for today's fix.
&lt;br&gt;* Makefile.am (TESTS): Add new script.
&lt;br&gt;* NEWS (Bug fixes): Mention it.
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;Makefile.am &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;6 ++++--
&lt;br&gt;&amp;nbsp;NEWS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | &amp;nbsp; &amp;nbsp;3 +++
&lt;br&gt;&amp;nbsp;tests/trailing-nul | &amp;nbsp; 42 ++++++++++++++++++++++++++++++++++++++++++
&lt;br&gt;&amp;nbsp;3 files changed, 49 insertions(+), 2 deletions(-)
&lt;br&gt;&amp;nbsp;create mode 100755 tests/trailing-nul
&lt;br&gt;&lt;br&gt;diff --git a/Makefile.am b/Makefile.am
&lt;br&gt;index 206d5bf..3bca0ee 100644
&lt;br&gt;--- a/Makefile.am
&lt;br&gt;+++ b/Makefile.am
&lt;br&gt;@@ -100,9 +100,11 @@ check-local: $(FILES_TO_CHECK) $(bin_PROGRAMS) gzip.doc.gz
&lt;br&gt;&amp;nbsp;	 &amp;nbsp;test &amp;quot;`cat $$k | ./gzip -dc $$k - $$k`&amp;quot; = aaa &amp;&amp; rm $$k
&lt;br&gt;&amp;nbsp;	@echo 'Test succeeded.'
&lt;br&gt;&lt;br&gt;-TESTS =		\
&lt;br&gt;- &amp;nbsp;tests/zdiff	\
&lt;br&gt;+TESTS =						\
&lt;br&gt;+ &amp;nbsp;tests/trailing-nul				\
&lt;br&gt;+ &amp;nbsp;tests/zdiff					\
&lt;br&gt;&amp;nbsp; &amp;nbsp;tests/zgrep-f
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;EXTRA_DIST += $(TESTS)
&lt;br&gt;&lt;br&gt;&amp;nbsp;install-exec-hook: remove-installed-links
&lt;br&gt;diff --git a/NEWS b/NEWS
&lt;br&gt;index 5071241..5aeee71 100644
&lt;br&gt;--- a/NEWS
&lt;br&gt;+++ b/NEWS
&lt;br&gt;@@ -4,6 +4,9 @@ GNU gzip NEWS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-*- outline -*-
&lt;br&gt;&lt;br&gt;&amp;nbsp;** Bug fixes
&lt;br&gt;&lt;br&gt;+ &amp;nbsp;gzip no longer fails when there is exactly one trailing NUL byte
&lt;br&gt;+ &amp;nbsp;gzip has always accepted trailing NUL bytes. &amp;nbsp;Note the plural.
&lt;br&gt;+
&lt;br&gt;&amp;nbsp; &amp;nbsp;zdiff would exit with status 2 (indicating an error) rather than 1 to
&lt;br&gt;&amp;nbsp; &amp;nbsp;indicate differences when both inputs were compressed and different.
&lt;br&gt;&lt;br&gt;diff --git a/tests/trailing-nul b/tests/trailing-nul
&lt;br&gt;new file mode 100755
&lt;br&gt;index 0000000..08b6c02
&lt;br&gt;--- /dev/null
&lt;br&gt;+++ b/tests/trailing-nul
&lt;br&gt;@@ -0,0 +1,42 @@
&lt;br&gt;+#!/bin/sh
&lt;br&gt;+# gzip accepts trailing NUL bytes; don't fail if there is exactly one.
&lt;br&gt;+# Before gzip-1.4, this would fail.
&lt;br&gt;+
&lt;br&gt;+# Copyright (C) 2009 Free Software Foundation, Inc.
&lt;br&gt;+
&lt;br&gt;+# This program is free software: you can redistribute it and/or modify
&lt;br&gt;+# it under the terms of the GNU General Public License as published by
&lt;br&gt;+# the Free Software Foundation, either version 3 of the License, or
&lt;br&gt;+# (at your option) any later version.
&lt;br&gt;+
&lt;br&gt;+# This program is distributed in the hope that it will be useful,
&lt;br&gt;+# but WITHOUT ANY WARRANTY; without even the implied warranty of
&lt;br&gt;+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. &amp;nbsp;See the
&lt;br&gt;+# GNU General Public License for more details.
&lt;br&gt;+
&lt;br&gt;+# You should have received a copy of the GNU General Public License
&lt;br&gt;+# along with this program. &amp;nbsp;If not, see &amp;lt;&lt;a href=&quot;http://www.gnu.org/licenses/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/licenses/&lt;/a&gt;&amp;gt;.
&lt;br&gt;+# limit so don't run it by default.
&lt;br&gt;+
&lt;br&gt;+if test &amp;quot;$VERBOSE&amp;quot; = yes; then
&lt;br&gt;+ &amp;nbsp;set -x
&lt;br&gt;+ &amp;nbsp;gzip --version
&lt;br&gt;+fi
&lt;br&gt;+
&lt;br&gt;+. $srcdir/tests/test-lib.sh
&lt;br&gt;+
&lt;br&gt;+(echo 0 | gzip; printf '\0') &amp;gt; 0.gz || framework_failure
&lt;br&gt;+(echo 00 | gzip; printf '\0\0') &amp;gt; 00.gz || framework_failure
&lt;br&gt;+(echo 1 | gzip; printf '\1') &amp;gt; 1.gz || framework_failure
&lt;br&gt;+
&lt;br&gt;+fail=0
&lt;br&gt;+
&lt;br&gt;+for i in 0 00 1; do
&lt;br&gt;+ &amp;nbsp;gzip -d $i.gz; ret=$?
&lt;br&gt;+ &amp;nbsp;test $ret -eq $i || fail=1
&lt;br&gt;+ &amp;nbsp;test $ret = 1 &amp;&amp; continue
&lt;br&gt;+ &amp;nbsp;echo $i &amp;gt; exp || fail=1
&lt;br&gt;+ &amp;nbsp;compare $i exp || fail=1
&lt;br&gt;+done
&lt;br&gt;+
&lt;br&gt;+Exit $fail
&lt;br&gt;--
&lt;br&gt;1.6.5.rc3.227.g2ff1c
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Rare-issue-in-ignoring-padding-tp25831149p25832577.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25831883</id>
	<title>FYI, zgrep -f - vs. portability</title>
	<published>2009-10-10T00:51:10Z</published>
	<updated>2009-10-10T00:51:10Z</updated>
	<author>
		<name>Jim Meyering</name>
	</author>
	<content type="html">I've applied Carl's patch, and then adjusted it
&lt;br&gt;so that zgrep is more portable, but anything that
&lt;br&gt;pokes around in /proc/$$/fd can't claim much in the
&lt;br&gt;way of portability, so it's sure to fail elsewhere.
&lt;br&gt;If someone can propose a better way (patches welcome!),
&lt;br&gt;or point out a system on which this approach does not work,
&lt;br&gt;please speak up. &amp;nbsp;I tested on recent Linux and Solaris 10.
&lt;br&gt;&lt;br&gt;From 5b54db4546b84ec97ff57a62f8ddb98faacf77f2 Mon Sep 17 00:00:00 2001
&lt;br&gt;From: Carl Worth &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25831883&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cworth@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: Fri, 9 Oct 2009 17:32:48 +0200
&lt;br&gt;Subject: [PATCH 1/3] zgrep: handle &amp;quot;-f -&amp;quot; the same way that it works with grep
&lt;br&gt;&lt;br&gt;Before this change, echo needle|zgrep -f - haystack.gz would not work.
&lt;br&gt;* zgrep.in: When the pattern comes from stdin, redirect it to a
&lt;br&gt;different file descriptor, since we're about to use stdin.
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;zgrep.in | &amp;nbsp; 23 ++++++++++++++++++++++-
&lt;br&gt;&amp;nbsp;1 files changed, 22 insertions(+), 1 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/zgrep.in b/zgrep.in
&lt;br&gt;index 590aea2..d30ec25 100644
&lt;br&gt;--- a/zgrep.in
&lt;br&gt;+++ b/zgrep.in
&lt;br&gt;@@ -3,7 +3,7 @@
&lt;br&gt;&amp;nbsp;# zgrep -- a wrapper around a grep program that decompresses files as needed
&lt;br&gt;&amp;nbsp;# Adapted from a version sent by Charles Levert &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25831883&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;charles@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;-# Copyright (C) 1998, 2001, 2002, 2006, 2007 Free Software Foundation
&lt;br&gt;+# Copyright (C) 1998, 2001, 2002, 2006, 2007, 2009 Free Software Foundation
&lt;br&gt;&amp;nbsp;# Copyright (C) 1993 Jean-loup Gailly
&lt;br&gt;&lt;br&gt;&amp;nbsp;# This program is free software; you can redistribute it and/or modify
&lt;br&gt;@@ -52,6 +52,7 @@ escape='
&lt;br&gt;&amp;nbsp;'
&lt;br&gt;&amp;nbsp;operands=
&lt;br&gt;&amp;nbsp;have_pat=0
&lt;br&gt;+pat_on_stdin=0
&lt;br&gt;&amp;nbsp;files_with_matches=0
&lt;br&gt;&amp;nbsp;files_without_matches=0
&lt;br&gt;&amp;nbsp;no_filename=0
&lt;br&gt;@@ -97,6 +98,23 @@ while test $# -ne 0; do
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf &amp;gt;&amp;2 '%s: %s: option not supported\n' &amp;quot;$0&amp;quot; &amp;quot;$option&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;exit 2;;
&lt;br&gt;&amp;nbsp; &amp;nbsp;(-[ef]* | --file | --file=* | --reg*)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;# The pattern is coming from a file rather than the command-line.
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;# If the file is actually stdin then we need to do a little
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;# magic, (since we use stdin to pass the gzip output to grep).
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;# So find a free fd and change the argument to then use this
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;# file descriptor for the pattern.
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;case $optarg in
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;(&amp;quot; '-'&amp;quot; | &amp;quot; '/dev/stdin'&amp;quot; | &amp;quot; '/dev/fd/0'&amp;quot;)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;pat_on_stdin=1
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;# Start search from 6 since the script already uses 3 and 5
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;for fd in $(seq 6 254); do
&lt;br&gt;+	if test ! -e /dev/fd/$fd; then
&lt;br&gt;+	 &amp;nbsp;pat_fd=$fd
&lt;br&gt;+	 &amp;nbsp;break;
&lt;br&gt;+	fi
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;done
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;optarg=/dev/fd/$pat_fd;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;esac
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;have_pat=1;;
&lt;br&gt;&amp;nbsp; &amp;nbsp;(--h | --he | --hel | --help)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;echo &amp;quot;$usage&amp;quot; || exit 2
&lt;br&gt;@@ -151,6 +169,9 @@ do
&lt;br&gt;&amp;nbsp; &amp;nbsp;# Fail if gzip or grep (or sed) fails.
&lt;br&gt;&amp;nbsp; &amp;nbsp;gzip_status=$(
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;exec 5&amp;gt;&amp;1
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;if test $pat_on_stdin -eq 1; then
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;eval &amp;quot;exec $pat_fd&amp;lt;&amp;0&amp;quot;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;fi
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;(gzip -cdfq -- &amp;quot;$i&amp;quot; 5&amp;gt;&amp;-; echo $? &amp;gt;&amp;5) 3&amp;gt;&amp;- |
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if test $files_with_matches -eq 1; then
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;eval &amp;quot;$grep&amp;quot; &amp;gt;/dev/null &amp;&amp; { printf '%s\n' &amp;quot;$i&amp;quot; || exit 2; }
&lt;br&gt;--
&lt;br&gt;1.6.5.rc3.227.g2ff1c
&lt;br&gt;&lt;br&gt;&lt;br&gt;From beb6a3e7a74a0415826752b25d418d2b54f3d49f Mon Sep 17 00:00:00 2001
&lt;br&gt;From: Jim Meyering &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25831883&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;meyering@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: Fri, 9 Oct 2009 20:03:09 +0200
&lt;br&gt;Subject: [PATCH 2/3] zgrep: portability improvements; exercise &amp;quot;-f -&amp;quot;
&lt;br&gt;&lt;br&gt;* zgrep.in: Adjust loop not to use seq; it's not portable enough.
&lt;br&gt;Fail if we don't find a free file descriptor.
&lt;br&gt;(exists): New function; Use it in place of less portable &amp;quot;test -e&amp;quot;.
&lt;br&gt;Testing for existence of /dev/fd/$fd doesn't work on Solaris 10,
&lt;br&gt;since all 256 always exist (as char devices), but testing for
&lt;br&gt;/proc/$$/fd/$fd does work, so do that instead.
&lt;br&gt;* Makefile.am (TESTS): Add tests/zgrep-f.
&lt;br&gt;* tests/zgrep-f: New test; exercise this bug.
&lt;br&gt;* NEWS (Bug fixes): Mention it.
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;Makefile.am &amp;nbsp; | &amp;nbsp; &amp;nbsp;3 ++-
&lt;br&gt;&amp;nbsp;NEWS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp;2 ++
&lt;br&gt;&amp;nbsp;tests/zgrep-f | &amp;nbsp; 38 ++++++++++++++++++++++++++++++++++++++
&lt;br&gt;&amp;nbsp;zgrep.in &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; 20 +++++++++++++++-----
&lt;br&gt;&amp;nbsp;4 files changed, 57 insertions(+), 6 deletions(-)
&lt;br&gt;&amp;nbsp;create mode 100644 tests/zgrep-f
&lt;br&gt;&lt;br&gt;diff --git a/Makefile.am b/Makefile.am
&lt;br&gt;index af75eba..206d5bf 100644
&lt;br&gt;--- a/Makefile.am
&lt;br&gt;+++ b/Makefile.am
&lt;br&gt;@@ -101,7 +101,8 @@ check-local: $(FILES_TO_CHECK) $(bin_PROGRAMS) gzip.doc.gz
&lt;br&gt;&amp;nbsp;	@echo 'Test succeeded.'
&lt;br&gt;&lt;br&gt;&amp;nbsp;TESTS =		\
&lt;br&gt;- &amp;nbsp;tests/zdiff
&lt;br&gt;+ &amp;nbsp;tests/zdiff	\
&lt;br&gt;+ &amp;nbsp;tests/zgrep-f
&lt;br&gt;&amp;nbsp;EXTRA_DIST += $(TESTS)
&lt;br&gt;&lt;br&gt;&amp;nbsp;install-exec-hook: remove-installed-links
&lt;br&gt;diff --git a/NEWS b/NEWS
&lt;br&gt;index 20e09d8..5071241 100644
&lt;br&gt;--- a/NEWS
&lt;br&gt;+++ b/NEWS
&lt;br&gt;@@ -9,6 +9,8 @@ GNU gzip NEWS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-*- outline -*-
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;zdiff would fail to print differences in two compressed inputs
&lt;br&gt;&lt;br&gt;+ &amp;nbsp;zgrep -f - didn't work
&lt;br&gt;+
&lt;br&gt;&lt;br&gt;&amp;nbsp;* Noteworthy changes in release 1.3.13 (2009-09-30) [stable]
&lt;br&gt;&lt;br&gt;diff --git a/tests/zgrep-f b/tests/zgrep-f
&lt;br&gt;new file mode 100644
&lt;br&gt;index 0000000..9184b9c
&lt;br&gt;--- /dev/null
&lt;br&gt;+++ b/tests/zgrep-f
&lt;br&gt;@@ -0,0 +1,38 @@
&lt;br&gt;+#!/bin/sh
&lt;br&gt;+# Ensure that zgrep -f - works like grep -f -
&lt;br&gt;+# Before gzip-1.4, it would fail.
&lt;br&gt;+
&lt;br&gt;+# Copyright (C) 2009 Free Software Foundation, Inc.
&lt;br&gt;+
&lt;br&gt;+# This program is free software: you can redistribute it and/or modify
&lt;br&gt;+# it under the terms of the GNU General Public License as published by
&lt;br&gt;+# the Free Software Foundation, either version 3 of the License, or
&lt;br&gt;+# (at your option) any later version.
&lt;br&gt;+
&lt;br&gt;+# This program is distributed in the hope that it will be useful,
&lt;br&gt;+# but WITHOUT ANY WARRANTY; without even the implied warranty of
&lt;br&gt;+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. &amp;nbsp;See the
&lt;br&gt;+# GNU General Public License for more details.
&lt;br&gt;+
&lt;br&gt;+# You should have received a copy of the GNU General Public License
&lt;br&gt;+# along with this program. &amp;nbsp;If not, see &amp;lt;&lt;a href=&quot;http://www.gnu.org/licenses/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/licenses/&lt;/a&gt;&amp;gt;.
&lt;br&gt;+# limit so don't run it by default.
&lt;br&gt;+
&lt;br&gt;+if test &amp;quot;$VERBOSE&amp;quot; = yes; then
&lt;br&gt;+ &amp;nbsp;set -x
&lt;br&gt;+ &amp;nbsp;zgrep --version
&lt;br&gt;+fi
&lt;br&gt;+
&lt;br&gt;+. $srcdir/tests/test-lib.sh
&lt;br&gt;+
&lt;br&gt;+echo needle &amp;gt; n || framework_failure
&lt;br&gt;+echo needle &amp;gt; haystack || framework_failure
&lt;br&gt;+gzip haystack || framework_failure
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+fail=0
&lt;br&gt;+zgrep -f - haystack.gz &amp;lt; n &amp;gt; out 2&amp;gt;&amp;1 || fail=1
&lt;br&gt;+
&lt;br&gt;+compare out n || fail=1
&lt;br&gt;+
&lt;br&gt;+Exit $fail
&lt;br&gt;diff --git a/zgrep.in b/zgrep.in
&lt;br&gt;index d30ec25..aced372 100644
&lt;br&gt;--- a/zgrep.in
&lt;br&gt;+++ b/zgrep.in
&lt;br&gt;@@ -106,12 +106,22 @@ while test $# -ne 0; do
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;case $optarg in
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;(&amp;quot; '-'&amp;quot; | &amp;quot; '/dev/stdin'&amp;quot; | &amp;quot; '/dev/fd/0'&amp;quot;)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;pat_on_stdin=1
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;eval 'test -e .' 2&amp;gt;/dev/null \
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;&amp; eval 'exists(){ test -e &amp;quot;$@&amp;quot;; }' \
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|| eval 'exists(){ test -r &amp;quot;$@&amp;quot; || test -w &amp;quot;$@&amp;quot;; }'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# Start search from 6 since the script already uses 3 and 5
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp;for fd in $(seq 6 254); do
&lt;br&gt;-	if test ! -e /dev/fd/$fd; then
&lt;br&gt;-	 &amp;nbsp;pat_fd=$fd
&lt;br&gt;-	 &amp;nbsp;break;
&lt;br&gt;-	fi
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;fd=6
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;pat_fd=
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;while : ; do
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if ! exists /proc/$$/fd/$fd; then
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;pat_fd=$fd
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;fi
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;fd=$(expr $fd + 1)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if test $fd = 255; then
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf &amp;gt;&amp;2 '%s: no free file descriptor\n' &amp;quot;$0&amp;quot;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;exit 2
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;fi
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;done
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;optarg=/dev/fd/$pat_fd;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;esac
&lt;br&gt;--
&lt;br&gt;1.6.5.rc3.227.g2ff1c
&lt;br&gt;&lt;br&gt;&lt;br&gt;From 1a085b1446a23bead55437a131fade8e26051fe5 Mon Sep 17 00:00:00 2001
&lt;br&gt;From: Jim Meyering &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25831883&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;meyering@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: Fri, 9 Oct 2009 20:12:30 +0200
&lt;br&gt;Subject: [PATCH 3/3] build: enable automake color- and parallel-test options
&lt;br&gt;&lt;br&gt;* configure.ac (AM_INIT_AUTOMAKE): Enable color-tests and parallel-tests.
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;configure.ac | &amp;nbsp; &amp;nbsp;2 +-
&lt;br&gt;&amp;nbsp;1 files changed, 1 insertions(+), 1 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/configure.ac b/configure.ac
&lt;br&gt;index 9b127d2..174a59e 100644
&lt;br&gt;--- a/configure.ac
&lt;br&gt;+++ b/configure.ac
&lt;br&gt;@@ -27,7 +27,7 @@ AC_INIT([gzip],
&lt;br&gt;&amp;nbsp;AC_CONFIG_SRCDIR(gzip.c)
&lt;br&gt;&amp;nbsp;AC_CONFIG_AUX_DIR(build-aux)
&lt;br&gt;&amp;nbsp;AC_CONFIG_HEADERS([lib/config.h:lib/config.hin])
&lt;br&gt;-AM_INIT_AUTOMAKE([1.11 dist-xz])
&lt;br&gt;+AM_INIT_AUTOMAKE([1.11 dist-xz color-tests parallel-tests])
&lt;br&gt;&amp;nbsp;AM_SILENT_RULES([yes]) # make --enable-silent-rules the default.
&lt;br&gt;&lt;br&gt;&amp;nbsp;AC_PROG_CC_STDC
&lt;br&gt;--
&lt;br&gt;1.6.5.rc3.227.g2ff1c
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/FYI%2C-zgrep--f---vs.-portability-tp25831883p25831883.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25831149</id>
	<title>Rare issue in ignoring padding</title>
	<published>2009-10-09T15:22:32Z</published>
	<updated>2009-10-09T15:22:32Z</updated>
	<author>
		<name>Daniel Barkalow</name>
	</author>
	<content type="html">The code to ignore trailing zeros from:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * gzip.c (get_method): Don't complain about trailing zeros at
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; the end of a gzipped file, as they're commonly appended to fill
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; out a block (e.g. by GNU tar).
&lt;br&gt;&lt;br&gt;has a rare bug: if there is exactly one trailing zero (because, for 
&lt;br&gt;example, your compressed tar file was one byte short of a block), gzip 
&lt;br&gt;gets only the first byte of the magic, and it's zero, but then it hits the 
&lt;br&gt;end of the file on the second byte of the magic.
&lt;br&gt;&lt;br&gt;I think this should affect only that case, and make it not fail:
&lt;br&gt;&lt;br&gt;--- gzip.c~	2009-09-26 14:56:02.000000000 -0400
&lt;br&gt;+++ gzip.c	2009-10-09 18:17:39.000000000 -0400
&lt;br&gt;@@ -1266,8 +1266,13 @@
&lt;br&gt;&amp;nbsp;	/* If try_byte returned EOF, magic[1] == (char) EOF. &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;} else {
&lt;br&gt;&amp;nbsp;	magic[0] = (char)get_byte();
&lt;br&gt;-	magic[1] = (char)get_byte();
&lt;br&gt;-	imagic1 = 0; /* avoid lint warning */
&lt;br&gt;+	if (magic[0]) {
&lt;br&gt;+	 &amp;nbsp; &amp;nbsp;magic[1] = (char)get_byte();
&lt;br&gt;+	 &amp;nbsp; &amp;nbsp;imagic1 = 0; /* avoid lint warning */
&lt;br&gt;+	} else {
&lt;br&gt;+	 &amp;nbsp; &amp;nbsp;imagic1 = try_byte ();
&lt;br&gt;+	 &amp;nbsp; &amp;nbsp;magic[1] = (char) imagic1;
&lt;br&gt;+	}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;method = -1; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* unknown yet */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;part_nb++; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* number of parts in gzip file */
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Rare-issue-in-ignoring-padding-tp25831149p25831149.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25819844</id>
	<title>Re: Incorrect zdiff behaviour</title>
	<published>2009-10-09T04:58:21Z</published>
	<updated>2009-10-09T04:58:21Z</updated>
	<author>
		<name>Matthew Burgess</name>
	</author>
	<content type="html">On Fri, 09 Oct 2009 12:42:30 +0200, Jim Meyering &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25819844&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jim@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Here are fixes for both:
&lt;br&gt;&lt;br&gt;Many thanks, Jim.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;Matt.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Incorrect-zdiff-behaviour-tp25812694p25819844.html" />
</entry>

</feed>
