[leafnode-list] Re: leafnode 1.11.8 release candidate #1

clemens fischer ino-news at spotteswoode.dnsalias.org
Mon Jun 7 13:55:12 CEST 2010


> Matthias Andree:

> GCC was trying to convey that I'd used a cast to reinterpret a
> structure as a different one, and dereferenced its members.
>
> ...
>
> -    char addr[128]; /* RATS: ignore */
> +    union {
> +	struct sockaddr_storage ss;
> +	struct sockaddr_in sin;
> +	struct sockaddr_in6 sin6;
> +	struct sockaddr sa;
> +    } addr;

So that's the solution.  Good to know.  Another one:  is "RATS" the
contemporary swear word or some quality assurance program like "lint"?


regards, clemens



More information about the leafnode-list mailing list