summaryrefslogtreecommitdiff
path: root/tests/testglib.c
diff options
context:
space:
mode:
authorDarin Adler <darin@src.gnome.org>2001-07-19 20:07:41 +0000
committerDarin Adler <darin@src.gnome.org>2001-07-19 20:07:41 +0000
commit3fa620d4dfeb3440526682b4970bc9147b6665c9 (patch)
treee59b66c6d63436537d4b1c589c6769f4e80d9196 /tests/testglib.c
parentf9a6307e063e1d573ff851f850470d82b385685d (diff)
downloadglib-3fa620d4dfeb3440526682b4970bc9147b6665c9.tar.gz
Add missing const. (g_strsplit): Add g_return_val_if_fail for case of
* glib/gstrfuncs.c: (g_ascii_strdown), (g_ascii_strup): Add missing const. (g_strsplit): Add g_return_val_if_fail for case of empty delimiter, which can result in an infinite loop otherwise. * glib/gstrfuncs.h: Add missing const. * tests/.cvsignore: Ignore a generated file. * tests/array-test.c: * tests/dirname-test.c: * tests/hash-test.c: * tests/list-test.c: * tests/node-test.c: * tests/relation-test.c: * tests/shell-test.c: * tests/slist-test.c: * tests/spawn-test.c: * tests/strfunc-test.c: * tests/string-test.c: * tests/testglib.c: * tests/tree-test.c: * tests/type-test.c: Add an #undef G_DISABLE_ASSERT so all tests will assert even if asserts are disabled inside glib itself.
Diffstat (limited to 'tests/testglib.c')
-rw-r--r--tests/testglib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/testglib.c b/tests/testglib.c
index bc25d4122..c914e8aff 100644
--- a/tests/testglib.c
+++ b/tests/testglib.c
@@ -26,6 +26,7 @@
#include "config.h"
+#undef G_DISABLE_ASSERT
#undef G_LOG_DOMAIN
#ifdef GLIB_COMPILATION