aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--linuxthreads/ChangeLog4
-rw-r--r--linuxthreads_db/ChangeLog6
-rw-r--r--locale/setlocale.c9
4 files changed, 17 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index bbf244d..64c5235 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
* stdlib/tst-environ.c: Include <string.h> for strcpy declaration.
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 1643612..e90c2fe 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -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>
* internals.h: Add __new_sem_post to get prototype in
diff --git a/linuxthreads_db/ChangeLog b/linuxthreads_db/ChangeLog
index 220f021..6c952c1 100644
--- a/linuxthreads_db/ChangeLog
+++ b/linuxthreads_db/ChangeLog
@@ -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>
* thread_db.h: Fix comment for ti_type.
diff --git a/locale/setlocale.c b/locale/setlocale.c
index f053895..c0f453c 100644
--- a/locale/setlocale.c
+++ b/locale/setlocale.c
@@ -327,12 +327,9 @@ setlocale (int category, const char *locale)
}
/* Create new composite name. */
- if (category >= 0
- || (composite = new_composite_name (LC_ALL, newnames)) == NULL)
- /* Loading this part of the locale failed. Abort the
- composite load. */
- composite = NULL;
- else
+ composite = (category >= 0
+ ? NULL : new_composite_name (LC_ALL, newnames));
+ if (composite != NULL)
{
/* Now we have loaded all the new data. Put it in place. */
for (category = 0; category < __LC_LAST; ++category)