(print_and_abort): Explain use of the string.

This commit is contained in:
Ulrich Drepper 2001-08-22 16:06:53 +00:00
parent 88e7ba6a07
commit 59adeb11a2
1 changed files with 6 additions and 1 deletions

View File

@ -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. */