[Pkg-clamav-commits] [SCM] Debian repository for ClamAV branch, debian/unstable, updated. debian/0.95+dfsg-1-6156-g094ec9b

Török Edvin edwin at clamav.net
Sun Apr 4 01:23:51 UTC 2010


The following commit has been merged in the debian/unstable branch:
commit 5684130b554fb2287023a23aefa6f6841fbf7544
Author: Török Edvin <edwin at clamav.net>
Date:   Mon Mar 22 14:08:56 2010 +0200

    Fix sparc sigbus.

diff --git a/libclamav/mpool.c b/libclamav/mpool.c
index 7a3efd2..1e02efb 100644
--- a/libclamav/mpool.c
+++ b/libclamav/mpool.c
@@ -66,6 +66,7 @@ static inline void spam(const char *fmt, ...) { fmt = fmt; } /* gcc STFU */
 #if SIZEOF_VOID_P==8
 static const unsigned int fragsz[] = {
 /* SIZE        PERM    TEMP     MAX    ACT! */
+     8,  /* Sparc SIGBUSes without this */
      16, /* 1487281    7051 1487281      USE */
      24, /*   89506     103   89510      USE */
      32, /* 1313968      65 1313969      USE */
@@ -140,8 +141,9 @@ static const unsigned int fragsz[] = {
 
 #else
 
-static const unsigned int fragsz[] = { 
+static const unsigned int fragsz[] = {
 /* SIZE        PERM    TEMP    ACT! */
+      8, /* Sparc SIGBUSes without this */
      16, /* 1487589    7134 1487589      USE */
      24, /*  116448     127  116452      USE */
      32, /* 1287128      95 1287134      USE */

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list