Add missing const. (g_strsplit): Add g_return_val_if_fail for case of
authorDarin Adler <darin@src.gnome.org>
Thu, 19 Jul 2001 20:07:41 +0000 (20:07 +0000)
committerDarin Adler <darin@src.gnome.org>
Thu, 19 Jul 2001 20:07:41 +0000 (20:07 +0000)
commit3fa620d4dfeb3440526682b4970bc9147b6665c9
treee59b66c6d63436537d4b1c589c6769f4e80d9196
parentf9a6307e063e1d573ff851f850470d82b385685d
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.
27 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
docs/reference/ChangeLog
docs/reference/glib/tmpl/string_utils.sgml
glib/gstrfuncs.c
glib/gstrfuncs.h
tests/.cvsignore
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