2000-01-25 Ulrich Drepper <drepper@cygnus.com>
* string/strxfrm.c: Don't count in the terminating NUL byte/word.
+2000-01-25 Ulrich Drepper <drepper@cygnus.com>
+
+ * string/strxfrm.c: Don't count in the terminating NUL byte/word.
+
2000-01-24 Paul Eggert <eggert@twinsun.com>
* posix/fnmatch_loop.c (FCT): Use locale's collating sequence when
-/* Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1995-1999, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Written by Ulrich Drepper <drepper@cygnus.com>, 1995.
if (use_malloc)
free (idxarr);
- return needed;
+ /* Return the number of bytes/words we need, but don't count the NUL
+ byte/word at the end. */
+ return needed - 1;
}