Fix g_string_chunk_insert_len to accept nuls
authorMatthias Clasen <mclasen@redhat.com>
Thu, 11 Jun 2009 03:50:45 +0000 (23:50 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 11 Jun 2009 03:50:45 +0000 (23:50 -0400)
commit6224d3d2ecdbc3cacfdb8213de3cf53d6dfc8580
treec5e614e4079e1df309f88e5180d091edeec077d9
parent9e43937d03443d6e8f63ea2c75c0fd54aaa124b3
Fix g_string_chunk_insert_len to accept nuls

Contrary to what the documentation says, g_string_chunk_insert_len
was stopping at the first nul. Also add a test. Fixes bug 585088.
glib/gstring.c
glib/tests/string.c