This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/18369] New: va_list versions of error.h functions (error, error_at_line) missing
- From: "glibcbug at discard dot email" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sat, 02 May 2015 06:21:04 +0000
- Subject: [Bug libc/18369] New: va_list versions of error.h functions (error, error_at_line) missing
- Auto-submitted: auto-generated
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.