]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Tue, 21 Aug 2001 02:57:38 +0000 (02:57 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 21 Aug 2001 02:57:38 +0000 (02:57 +0000)
2001-08-20  Ulrich Drepper  <drepper@redhat.com>

* misc/error.c (error_tail): Use fputws_unlocked instead of fputws.
* misc/err.c (convert_and_print): Likewise.

* malloc/obstack.c (print_and_abort): Use fprintf instead of two
function calls.

ChangeLog
malloc/obstack.c
misc/err.c
misc/error.c

index 7cd89cb909c21c80dc08637827c66273b6417ccf..445c75eab14a3dc1f15b3faa524234b6ceb96a9b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2001-08-20  Ulrich Drepper  <drepper@redhat.com>
+
+       * misc/error.c (error_tail): Use fputws_unlocked instead of fputws.
+       * misc/err.c (convert_and_print): Likewise.
+
+       * malloc/obstack.c (print_and_abort): Use fprintf instead of two
+       function calls.
+
 2001-08-20  Martin Schwidefsky  <schwidefsky@de.ibm.com>
 
        * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Revert the
index e5c0c40de4623558ff4255cd5c3fa60307e82e67..06b2fbd5340520427d21f9611c9e84fc00e90cf6 100644 (file)
@@ -489,10 +489,7 @@ print_and_abort ()
     __fwprintf (stderr, L"%s\n", _("memory exhausted"));
   else
 #endif
-    {
-      fputs (_("memory exhausted"), stderr);
-      fputc ('\n', stderr);
-    }
+    fprintf (stderr, "%s\n", _("memory exhausted"));
   exit (obstack_exit_failure);
 }
 \f
index 4c372032fa77b0f94ce6096776a59e3cd683aa55..1e681b399dfe5151f010e56676985af2c1827004 100644 (file)
@@ -69,7 +69,7 @@ convert_and_print (const char *format, __gnuc_va_list ap)
 
          if (wformat == NULL)
            {
-             fputws (L"out of memory\n", stderr);
+             fputws_unlocked (L"out of memory\n", stderr);
              return;
            }
        }
index 1c9c4a685072dbfd918d2070fcdd5197e17a3ab3..aa0d8bbea713c16bceb97f627988d29f0a66b90d 100644 (file)
@@ -151,7 +151,7 @@ error_tail (int status, int errnum, const char *message, va_list args)
 
              if (wmessage == NULL)
                {
-                 fputws (L"out of memory\n", stderr);
+                 fputws_unlocked (L"out of memory\n", stderr);
                  return;
                }
            }