NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/48039: <err.h> brings in <stdarg.h>



>Number:         48039
>Category:       lib
>Synopsis:       <err.h> brings in <stdarg.h>
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 10 06:00:00 +0000 2013
>Originator:     David A. Holland
>Release:        NetBSD 6.99.19 (20130404)
>Organization:
>Environment:
System: valkyrie 6.99.19 NetBSD 6.99.19 (VALKYRIE) #12: Thu Apr  4 02:19:36 EDT 
2013  dholland@valkyrie:/usr/src/sys/arch/amd64/compile/VALKYRIE amd64
Architecture: x86_64
Machine: amd64
>Description:

If you include <err.h>, it includes <stdarg.h>.

This is not necessarily wrong as I don't think err.h is defined by any
standards, but it's close enough to a standard header in BSD-land that
this violates the POLA.

on dfly this is not the case (see PR 48037)

>How-To-Repeat:

   ----
#include <err.h>
va_list foo;
   ----

>Fix:
tbd



Home | Main Index | Thread Index | Old Index