bug-gnulib
[Top][All Lists]
Advanced

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

Re: On OpenBSD and if_freenameindex(3).


From: Bruno Haible
Subject: Re: On OpenBSD and if_freenameindex(3).
Date: Tue, 21 Sep 2010 19:15:37 +0200
User-agent: KMail/1.9.9

Mats Erik Andersson wrote:
> In OpenBSD (definitely in 4.6) there is a POSIX violation,
> quoting Simon here, since the header file states
> 
>     ### /usr/include/net/if.h
> 
>     #define if_freenameindex(x) free(x)
> 
> This macro causes difficulties ...

Indeed, according to POSIX:2008 [1], a macro may be provided by the system, but
the function needs to be provided as well.

Bruno

[1] 
http://www.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_01_01



reply via email to

[Prev in Thread] Current Thread [Next in Thread]