This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/18369] New: va_list versions of error.h functions (error, error_at_line) missing


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]