]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Support for valgrind2.
authorBruno Haible <bruno@clisp.org>
Tue, 14 Sep 2004 17:30:48 +0000 (17:30 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:11:55 +0000 (12:11 +0200)
gettext-tools/lib/ChangeLog
gettext-tools/lib/Makefile.am
gettext-tools/lib/allocsa.valgrind [new file with mode: 0644]

index 07849b0c53cd5cde750b57766f7376853a35345a..3e09f2179e77f6261c7bfea6293069d644d4b0a8 100644 (file)
@@ -1,3 +1,8 @@
+2004-09-11  Bruno Haible  <bruno@clisp.org>
+
+       * allocsa.valgrind: New file.
+       * Makefile.am (EXTRA_DIST): Add it.
+
 2004-09-01  Bruno Haible  <bruno@clisp.org>
 
        * config.charset: Add support for Darwin 7.
index d499aa76f6dcf5ec082486b201f10e25ccc363ab..5552ac45a56b990934124bccc8b936a1412ad8ea 100644 (file)
@@ -145,7 +145,7 @@ examplesconfig_DATA = \
 noinst_HEADERS = gettext.h
 
 EXTRA_DIST += \
-  $(LIBADD_SOURCE) $(UNUSED_SOURCE) relocwrapper.c \
+  $(LIBADD_SOURCE) $(UNUSED_SOURCE) relocwrapper.c allocsa.valgrind \
   gen-lbrkprop.c 3level.h Combining.txt \
   ChangeLog.0
 
diff --git a/gettext-tools/lib/allocsa.valgrind b/gettext-tools/lib/allocsa.valgrind
new file mode 100644 (file)
index 0000000..f4c77d6
--- /dev/null
@@ -0,0 +1,7 @@
+# Suppress a valgrind message about use of uninitialized memory in freesa().
+# This use is OK because it provides only a speedup.
+{
+    freesa
+    Memcheck:Cond
+    fun:freesa
+}