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: [RFC][PATCH 1/4][BZ 17083] getaddrinfo: Add comments for #else and #endif directives


?ukasz Stelmach <stlman@poczta.fm> writes:
>  #if __BYTE_ORDER == __BIG_ENDIAN
>  # define htonl_c(n) n
> -#else
> +#else  /* __BYTE_ORDER == __BIG_ENDIAN */
>  # define htonl_c(n) __bswap_constant_32 (n)
> -#endif
> +#endif	/* __BYTE_ORDER == __BIG_ENDIAN */

What's our policy on inverting the logic sense in these comments when
they refer to the #else clause?


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