diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-08-22 16:06:53 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-08-22 16:06:53 +0000 |
commit | 59adeb11a2fde39f687e02126c7dd64d44d9b11b (patch) | |
tree | 85449840b13373b17dae047f4a160f7b0cc270a1 | |
parent | 88e7ba6a07c407487aa279e9ac88eef7b5d14fcc (diff) | |
download | glibc-59adeb11a2fde39f687e02126c7dd64d44d9b11b.tar.gz glibc-59adeb11a2fde39f687e02126c7dd64d44d9b11b.tar.xz glibc-59adeb11a2fde39f687e02126c7dd64d44d9b11b.zip |
(print_and_abort): Explain use of the string.
-rw-r--r-- | malloc/obstack.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/malloc/obstack.c b/malloc/obstack.c index 06b2fbd534..8a02a0b1d4 100644 --- a/malloc/obstack.c +++ b/malloc/obstack.c @@ -484,6 +484,11 @@ static void __attribute__ ((noreturn)) print_and_abort () { + /* 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")); @@ -500,7 +505,7 @@ print_and_abort () /* Now define the functional versions of the obstack macros. Define them to simply use the corresponding macros to do the job. */ -#if defined (__STDC__) && __STDC__ +#if defined __STDC__ && __STDC__ /* These function definitions do not work with non-ANSI preprocessors; they won't pass through the macro names in parentheses. */ |