Re: patch to change behavior of g_strsplit on empty string back to 1.2 behavior



> Well, there is clearly one thing missing here ... the corresponding
> change to the documentation (docs/glib/tmpl/string_utils.sgml) :-)
> 
> That needs a comment to the point:
> 
>  "The result of a splitting an empty string is an empty vector"

and also "an empty trailing segment is discarded", since that's the
confusing behavior that inspired me to write the original bug report
that resulted in the patch that this patch is reverting...

-- Dan




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]