Hello,

influenced by an exchange with Simon Josefsson, where we have
on issue with the present matter in GNU Inetutils, I would like
to mention this subject, since GNUlib seems not to resolve the
matter to our satisfaction!

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 for me in "inetutils/ifconfig/if_index.*".
I am told the POSIX specification demands if_freenameindex(3) to be a
proper function.

Is this situation covered for in GNUlib, or should an increased use of
conditionals on HAVE_STRUCT_IF_NAMEINDEX be the intended way to overcome
this issue?


Best regards,
Mats E A

Reply via email to