1999-10-12  Ulrich Drepper  <drepper@cygnus.com>

	* locale/setlocale.c: Fix gcc warning about uninitialized variable.
This commit is contained in:
Ulrich Drepper 1999-10-12 16:33:15 +00:00
parent 39d1d4e5ca
commit d4c5cf8060
4 changed files with 17 additions and 6 deletions

View File

@ -1,3 +1,7 @@
1999-10-12 Ulrich Drepper <drepper@cygnus.com>
* locale/setlocale.c: Fix gcc warning about uninitialized variable.
1999-10-12 Andreas Jaeger <aj@suse.de> 1999-10-12 Andreas Jaeger <aj@suse.de>
* stdlib/tst-environ.c: Include <string.h> for strcpy declaration. * stdlib/tst-environ.c: Include <string.h> for strcpy declaration.

View File

@ -1,3 +1,7 @@
1999-10-12 Ulrich Drepper <drepper@cygnus.com>
* internals.h: Correct return types for __libc_read and __libc_write.
1999-10-09 Andreas Jaeger <aj@suse.de> 1999-10-09 Andreas Jaeger <aj@suse.de>
* internals.h: Add __new_sem_post to get prototype in * internals.h: Add __new_sem_post to get prototype in

View File

@ -1,3 +1,9 @@
1999-10-12 Andreas Jaeger <aj@suse.de>
* thread_dbP.h: Include <string.h> for strlen declaration. Remove
__libc_write prototype since this is already declared in
linuxthreads/internals.h.
1999-10-11 Ulrich Drepper <drepper@cygnus.com> 1999-10-11 Ulrich Drepper <drepper@cygnus.com>
* thread_db.h: Fix comment for ti_type. * thread_db.h: Fix comment for ti_type.

View File

@ -327,12 +327,9 @@ setlocale (int category, const char *locale)
} }
/* Create new composite name. */ /* Create new composite name. */
if (category >= 0 composite = (category >= 0
|| (composite = new_composite_name (LC_ALL, newnames)) == NULL) ? NULL : new_composite_name (LC_ALL, newnames));
/* Loading this part of the locale failed. Abort the if (composite != NULL)
composite load. */
composite = NULL;
else
{ {
/* Now we have loaded all the new data. Put it in place. */ /* Now we have loaded all the new data. Put it in place. */
for (category = 0; category < __LC_LAST; ++category) for (category = 0; category < __LC_LAST; ++category)