diff --git a/ChangeLog b/ChangeLog index 3cd3a501a..c350ced7d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-01-12 Matthias Clasen + + * glib/gtestutils.c (g_strcmp0): Be more explicit about the NULL + handling in the docs. + 2009-01-12 Tor Lillqvist * glib/goption.c (parse_arg): Guard against a mis-written diff --git a/glib/gtestutils.c b/glib/gtestutils.c index 895eca985..3f19fbc9a 100644 --- a/glib/gtestutils.c +++ b/glib/gtestutils.c @@ -1397,7 +1397,8 @@ g_assertion_message_error (const char *domain, * @str1: a C string or %NULL * @str2: another C string or %NULL * - * Compares @str1 and @str2 like strcmp(). Handles %NULL strings gracefully. + * Compares @str1 and @str2 like strcmp(). Handles %NULL + * gracefully by sorting it before non-%NULL strings. * * Returns: -1, 0 or 1, if @str1 is <, == or > than @str2. *