mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
[BZ #2997]
2006-08-12 Ulrich Drepper <drepper@redhat.com> [BZ #2997] * misc/error.c: Add space between program name and message if file name is missing.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2006-08-12 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
[BZ #2997]
|
||||||
|
* misc/error.c: Add space between program name and message if file
|
||||||
|
name is missing.
|
||||||
|
|
||||||
2006-08-03 Eric Blake <ebb9@byu.net>
|
2006-08-03 Eric Blake <ebb9@byu.net>
|
||||||
|
|
||||||
[BZ #2998]
|
[BZ #2998]
|
||||||
|
@ -385,14 +385,13 @@ error_at_line (status, errnum, file_name, line_number, message, va_alist)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
if (file_name != NULL)
|
|
||||||
{
|
|
||||||
#if _LIBC
|
#if _LIBC
|
||||||
__fxprintf (NULL, "%s:%d: ", file_name, line_number);
|
__fxprintf (NULL, file_name != NULL ? "%s:%d: " : " ",
|
||||||
|
file_name, line_number);
|
||||||
#else
|
#else
|
||||||
fprintf (stderr, "%s:%d: ", file_name, line_number);
|
fprintf (stderr, file_name != NULL ? "%s:%d: " : " ",
|
||||||
|
file_name, line_number);
|
||||||
#endif
|
#endif
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef VA_START
|
#ifdef VA_START
|
||||||
VA_START (args, message);
|
VA_START (args, message);
|
||||||
|
Reference in New Issue
Block a user