]> git.pld-linux.org Git - packages/glibc.git/commitdiff
fixed
authorArtur Frysiak <artur@frysiak.net>
Sat, 6 Oct 2001 08:51:39 +0000 (08:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    glibc-malloc.patch -> 1.2

glibc-malloc.patch

index 5fbb01d4e7d7469e05e8f4fe65a943bb3265ea96..8a7f0602c0f34a9abddf04893626236d32542ffd 100644 (file)
@@ -527,7 +527,7 @@ diff -urN glibc-2.2.4.org/malloc/obstack.c glibc-2.2.4/malloc/obstack.c
  
  /* This function has two names with identical definitions.
     This is the first one, called from non-ANSI code.  */
-@@ -455,45 +458,54 @@
+@@ -455,45 +458,45 @@
  }
  \f
  /* Define the error handler.  */
@@ -573,19 +573,8 @@ diff -urN glibc-2.2.4.org/malloc/obstack.c glibc-2.2.4/malloc/obstack.c
  __attribute__ ((noreturn))
  print_and_abort ()
  {
--  fputs (_("memory exhausted"), stderr);
--  fputc ('\n', stderr);
-+  /* Don't change any of these strings.  Yes, it would be possible to add
-+     the newline to the string and use fputs or so.  But this must not
-+     happen because the "memory exhausted" message appears in other places
-+     like this and the translation should be reused instead of creating
-+     a very similar string which requires a separate translation.  */
-+# if defined _LIBC && defined USE_IN_LIBIO
-+  if (_IO_fwide (stderr, 0) > 0)
-+    __fwprintf (stderr, L"%s\n", _("memory exhausted"));
-+  else
-+# endif
-+    fprintf (stderr, "%s\n", _("memory exhausted"));
+   fputs (_("memory exhausted"), stderr);
+   fputc ('\n', stderr);
    exit (obstack_exit_failure);
  }
  \f
This page took 0.081077 seconds and 4 git commands to generate.