NetBSD Problem Report #33037

From  Thu Mar  9 11:05:43 2006
Return-Path: <>
Received: by (Postfix, from userid 31301)
	id 29FEB63B89A; Thu,  9 Mar 2006 11:05:43 +0000 (UTC)
Message-Id: <>
Date: Thu,  9 Mar 2006 11:05:43 +0000 (UTC)
Subject: nbcompat/err.h header file incomplete?
X-Send-Pr-Version: www-1.0

>Number:         33037
>Category:       pkg
>Synopsis:       nbcompat/err.h header file incomplete?
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 09 11:10:00 +0000 2006
>Last-Modified:  Mon Mar 01 02:52:43 +0000 2010
>Originator:     Stuart Shelton

libnbcompat-20041024's err.h library seems, so far as I can tell, to be incomplete: It uses the __P macro and va_list without including the relevent headers.

I'm not a C expert, so I might have misunderstood how this header is supposed to be used ... but shouldn't the following change be applied:

 # include <err.h>

+# include <nbcompat/cdefs.h>
+#ifndef __STDARG_H__
+# include <stdarg.h>
 #if !HAVE_ERR
 void    err __P((int, const char *, ...));
 void    errx __P((int, const char *, ...));
 void    verr __P((int, const char *, va_list));





State-Changed-From-To: open->feedback
State-Changed-When: Fri, 19 Feb 2010 10:56:23 +0000
The library was updated many times, does the problem persist?

State-Changed-From-To: feedback->open
State-Changed-When: Mon, 01 Mar 2010 02:52:43 +0000
feedback mail bounceth; however, the problem does still remain.


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.