Fix max_tokens == 1 case to match documentation. Add tests.

* glib/gstrfuncs.c: (g_strsplit): Fix max_tokens == 1 case to
	match documentation.
	* tests/strfunc-test.c: (main): Add tests.

	* tests/.cvsignore: Recently-added test.
This commit is contained in:
Darin Adler
2001-11-13 00:02:30 +00:00
parent ee83ed4c13
commit 113d5e1d74
11 changed files with 79 additions and 4 deletions

View File

@@ -1,3 +1,11 @@
2001-11-12 Darin Adler <darin@bentspoon.com>
* glib/gstrfuncs.c: (g_strsplit): Fix max_tokens == 1 case to
match documentation.
* tests/strfunc-test.c: (main): Add tests.
* tests/.cvsignore: Recently-added test.
Mon Nov 12 03:01:28 2001 Tim Janik <timj@gtk.org>
* glib/gscanner.c (g_scanner_eof): G_TOKEN_ERROR is also an end