[Bug libc/18369] New: va_list versions of error.h functions (error, error_at_line) missing
glibcbug at discard dot email
sourceware-bugzilla@sourceware.org
Sat May 2 06:21:00 GMT 2015
https://sourceware.org/bugzilla/show_bug.cgi?id=18369
Bug ID: 18369
Summary: va_list versions of error.h functions (error,
error_at_line) missing
Product: glibc
Version: 2.21
Status: NEW
Severity: normal
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: glibcbug at discard dot email
CC: drepper.fsp at gmail dot com
Target Milestone: ---
Glibc's error.h doesn't provide versions of the error() and error_at_line()
functions that take a va_list argument.
This makes it effectively impossible to define custom error-reporting functions
that print a warning using one of the above functions and then perform some
action (cf. http://c-faq.com/varargs/handoff.html).
Note that the BSD err.h functions, which the Glibc manual describes as
deprecated and only provided for compatibility, *do* provide va_list versions.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list