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

[SCM] Debian package checker branch, master, updated. 2.3.3-19-g45bc336



The following commit has been merged in the master branch:
commit 45bc3366a3fafdf00f21973918c1fe1ffdca18e6
Author: Russ Allbery <rra@debian.org>
Date:   Sat Mar 20 14:25:28 2010 -0700

    Globally ignore SIGPIPE
    
    * frontend/lintian:
      + [RA] Globally ignore SIGPIPE, forcing error return codes from write.
        Hopefully will resolve some unreproducible occasional crashes.
        (Closes: #558360)

diff --git a/debian/changelog b/debian/changelog
index 8092f06..673df5c 100755
--- a/debian/changelog
+++ b/debian/changelog
@@ -24,6 +24,11 @@ lintian (2.3.4) UNRELEASED; urgency=low
     + [RG] Update package description to mention Policy version 3.8.4
       instead of 3.8.3.  Should have been done on the previous release.
 
+  * frontend/lintian:
+    + [RA] Globally ignore SIGPIPE, forcing error return codes from write.
+      Hopefully will resolve some unreproducible occasional crashes.
+      (Closes: #558360)
+
   * lib/Lintian/Tag/Info.pm:
     + [JP] Don't link to references with no URL.  (Closes: #572297)
   * lib/Spelling.pm:
diff --git a/frontend/lintian b/frontend/lintian
index 4144455..e0e8bdb 100755
--- a/frontend/lintian
+++ b/frontend/lintian
@@ -108,6 +108,10 @@ our $LINTIAN_AREA = undef;
 #turn off file buffering
 $| = 1;
 
+# Globally ignore SIGPIPE.  We'd rather deal with error returns from write
+# than randomly delivered signals.
+$SIG{PIPE} = 'IGNORE';
+
 # reset locale definition (necessary for tar)
 $ENV{'LC_ALL'} = 'C';
 # reset timezone definition (also for tar)

-- 
Debian package checker


Reply to: