Author: infinoid Date: Sat May 3 20:21:45 2008 New Revision: 27313 Modified: trunk/src/string.c
Log: [pod] string_equal() returns CHARSET_COMPARE(), which can return -1, therefore string_equal can return -1. Fix the documentation accordingly. Modified: trunk/src/string.c ============================================================================== --- trunk/src/string.c (original) +++ trunk/src/string.c Sat May 3 20:21:45 2008 @@ -1387,7 +1387,7 @@ Compares two Parrot strings, performing type and encoding conversions if necessary. -Note that this function returns 0 if the strings are equal and 1 +Note that this function returns 0 if the strings are equal, and non-zero otherwise. =cut
