This is the mail archive of the libc-alpha@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]

Re: [PATCH] Coordinate if.h definitions for Linux and glibc (BZ #21367)


On Sun, Apr 09, 2017 at 10:08:31PM +0200, Aurelien Jarno wrote:
> This commit coordinates the definition of structures and enum already
> defined the Linux kernel UAPI headers, following the procedure described
> on https://sourceware.org/glibc/wiki/Synchronizing_Headers.

Sorry but the whole procedure looks wrong.  For example,

[...]
> --- a/sysdeps/gnu/net/if.h
> +++ b/sysdeps/gnu/net/if.h
> @@ -39,6 +39,7 @@ struct if_nameindex
>  
>  #ifdef __USE_MISC
>  /* Standard interface flags. */
> +#if !__UAPI_DEF_IF_NET_DEVICE_FLAGS

as of v4.11-rc6, __UAPI_DEF_IF_NET_DEVICE_FLAGS == 1 doesn't mean that
linux/if.h has been included, it only means that linux/libc-compat.h
has been included.


-- 
ldv

Attachment: signature.asc
Description: PGP signature


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