From 3fa620d4dfeb3440526682b4970bc9147b6665c9 Mon Sep 17 00:00:00 2001 From: Darin Adler Date: Thu, 19 Jul 2001 20:07:41 +0000 Subject: 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. --- tests/testglib.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/testglib.c') 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 -- cgit v1.2.1