From 59adeb11a2fde39f687e02126c7dd64d44d9b11b Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 22 Aug 2001 16:06:53 +0000 Subject: (print_and_abort): Explain use of the string. --- malloc/obstack.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'malloc/obstack.c') 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. */ -- cgit v1.2.3