SOURCES: gzip-raise-unblock.patch - simpler fix from upstream

qboosh qboosh at pld-linux.org
Sun Dec 3 18:54:41 CET 2006


Author: qboosh                       Date: Sun Dec  3 17:54:41 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- simpler fix from upstream

---- Files affected:
SOURCES:
   gzip-raise-unblock.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/gzip-raise-unblock.patch
diff -u SOURCES/gzip-raise-unblock.patch:1.1 SOURCES/gzip-raise-unblock.patch:1.2
--- SOURCES/gzip-raise-unblock.patch:1.1	Thu Nov 30 18:54:21 2006
+++ SOURCES/gzip-raise-unblock.patch	Sun Dec  3 18:54:36 2006
@@ -1,19 +1,14 @@
-Unblock signal before raising it in its own handler (needed with BSD
-signal semantics).
+2006-12-01  Paul Eggert  <eggert at cs.ucla.edu>
 
---- gzip-1.3.6/gzip.c.orig	2006-11-30 00:34:53.292056000 +0100
-+++ gzip-1.3.6/gzip.c	2006-11-30 18:29:19.736957250 +0100
-@@ -1851,8 +1851,13 @@
- abort_gzip_signal (sig)
-      int sig;
- {
-+   sigset_t ss;
-+
+	* gzip.c (abort_gzip_signal): Don't call abort () as a "safeguard",
+	since it actually causes a core dump.  Problem reported by
+	Jakub Bogusz.
+
+--- gzip-1.3.6/gzip.c.orig	2006-12-03 18:41:59.066521760 +0100
++++ gzip-1.3.6/gzip.c	2006-12-03 18:42:05.874909748 +0100
+@@ -1854,5 +1854,4 @@
     remove_output_file ();
     signal (sig, SIG_DFL);
-+   sigemptyset (&ss);
-+   sigaddset (&ss, sig);
-+   sigprocmask (SIG_UNBLOCK, &ss, NULL);
     raise (sig);
-    abort ();
+-   abort ();
  }
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/gzip-raise-unblock.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list