bug-gzip
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] maint: avoid new syntax-check failures


From: Jim Meyering
Subject: [PATCH] maint: avoid new syntax-check failures
Date: Sat, 17 Nov 2012 18:05:28 +0100

FYI,

>From 9b0aa2382e6a35d0226ba40ef98b221e90936f64 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Fri, 16 Nov 2012 21:37:19 -0800
Subject: [PATCH] maint: avoid new syntax-check failures

* cfg.mk (_gl_TS_unmarked_extern_vars): Append nice_match, to avoid
false-positive syntax-check failure on i686.
* gzip.c (SIGPIPE): Remove definition.  Now always provided via gnulib.
* lib/.gitignore: xsize.c, added by gnulib-tool.
---
 cfg.mk         | 2 +-
 gzip.c         | 4 ----
 lib/.gitignore | 1 +
 3 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/cfg.mk b/cfg.mk
index ff35396..3d7c1c5 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -82,4 +82,4 @@ export _gl_TS_dir = .
 # Tell the tight_scope rule that these variables are deliberately "extern".
 export _gl_TS_unmarked_extern_vars = \
   block_start d_buf inbuf outbuf prev read_buf strstart window \
-  match_start prev_length max_chain_length good_match
+  match_start prev_length max_chain_length good_match nice_match
diff --git a/gzip.c b/gzip.c
index d89bc24..16530aa 100644
--- a/gzip.c
+++ b/gzip.c
@@ -121,10 +121,6 @@ static char const *const license_msg[] = {
 #define OFF_T_MAX (~ (off_t) 0 - OFF_T_MIN)
 #endif

-#ifndef SIGPIPE
-# define SIGPIPE 0
-#endif
-
 /* Use SA_NOCLDSTOP as a proxy for whether the sigaction machinery is
    present.  */
 #ifndef SA_NOCLDSTOP
diff --git a/lib/.gitignore b/lib/.gitignore
index c45d913..d0e6772 100644
--- a/lib/.gitignore
+++ b/lib/.gitignore
@@ -249,3 +249,4 @@
 /c-strncasecmp.c
 /stat-time.c
 /timespec.c
+/xsize.c
--
1.8.0.197.g5a90748



reply via email to

[Prev in Thread] Current Thread [Next in Thread]