bug-gnulib
[Top][All Lists]
Advanced

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

libunistring: add a valgrind suppressions file


From: Bruno Haible
Subject: libunistring: add a valgrind suppressions file
Date: Wed, 19 May 2010 22:10:42 +0200
User-agent: KMail/1.9.9

This patch adds a file that can be used with valgrind's --suppressions option.


2010-05-19  Bruno Haible  <address@hidden>

        Avoid valgrind error reports from libunistring.
        * lib/libunistring.valgrind: New file, based on lib/malloca.valgrind.
        * modules/libunistring (Files): Add it.
        * modules/libunistring-optional (Files): Likewise.

========================== lib/libunistring.valgrind ==========================
# Suppress valgrind messages in an installed libunistring.

# Suppress a valgrind message about use of uninitialized memory in freea().
# This use is OK because it provides only a speedup.
{
    libunistring_freea
    Memcheck:Cond
    fun:libunistring_freea
}
===============================================================================
--- modules/libunistring.orig   Wed May 19 22:08:55 2010
+++ modules/libunistring        Wed May 19 22:08:05 2010
@@ -4,6 +4,7 @@
 Files:
 m4/libunistring.m4
 m4/absolute-header.m4
+lib/libunistring.valgrind
 
 Depends-on:
 havelib
--- modules/libunistring-optional.orig  Wed May 19 22:08:55 2010
+++ modules/libunistring-optional       Wed May 19 22:08:05 2010
@@ -5,6 +5,7 @@
 m4/libunistring-optional.m4
 m4/libunistring.m4
 m4/absolute-header.m4
+lib/libunistring.valgrind
 
 Depends-on:
 havelib



reply via email to

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