mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-05 15:38:44 +02:00
Patch from Darin Adler to restore Glib-1.2 handling of empty strings, and
Fri Aug 24 11:15:46 2001 Owen Taylor <otaylor@redhat.com> * glib/gstrfuncs.c docs/Changes-2.0.txt: Patch from Darin Adler to restore Glib-1.2 handling of empty strings, and to fix off-by-one with @max_tokens. (#57663). Doc improvements. * tests/strfunc-test.c: Change tests to correspond to new behavior of g_strsplit().
This commit is contained in:
@@ -32,3 +32,11 @@
|
||||
* GDate now works in UTF-8, not in the current locale. If you
|
||||
want to use it with the encoding of the locale, you need
|
||||
to convert strings using g_locale_to_utf8 first.
|
||||
|
||||
* g_strsplit() has been fixed to:
|
||||
|
||||
- include trailing empty tokens, rather than stripping them
|
||||
- split into a maximum of @max_tokens tokens, rather than
|
||||
@max_tokens + 1
|
||||
|
||||
Code depending on either of these bugs will need to be fixed.
|
||||
|
Reference in New Issue
Block a user