]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Tue, 12 Oct 1999 16:33:15 +0000 (16:33 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 12 Oct 1999 16:33:15 +0000 (16:33 +0000)
1999-10-12  Ulrich Drepper  <drepper@cygnus.com>

* locale/setlocale.c: Fix gcc warning about uninitialized variable.

ChangeLog
linuxthreads/ChangeLog
linuxthreads_db/ChangeLog
locale/setlocale.c

index bbf244da7e4f8abcfe1eede6ea1502cccfad5d15..64c523596369db9ede3a3880e8bbfac8f1533a6f 100644 (file)
--- 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.
index 1643612eae08db73cc4023fc6ee93190782ee09e..e90c2fea4e1396b35250045150a1b78543e10517 100644 (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>
 
        * internals.h: Add __new_sem_post to get prototype in
index 220f0214613c588580e92918f54a6c48a8f34819..6c952c1be0661f321c68d8b22c084191c9a01c27 100644 (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>
 
        * thread_db.h: Fix comment for ti_type.
index f0538955730af262cb66d66d4afc1505c91ad3bd..c0f453cd9410fc2f64eb355c8de843514493eaf0 100644 (file)
@@ -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)