Martin Pitt <[email protected]> writes:
> /* Compute size without padding */
> - char cmsgmem[ALIGN(sizeof(struct cmsghdr)) +
> ALIGN(sizeof(Cred))]; /* for NetBSD */
> + char cmsgmem[ALIGN(sizeof(struct cmsghdr)) + sizeof(Cred)];
> /* for NetBSD */
Hm. That code's been like that for a very long time (since 2001
according to the git history...). How much confidence can we have
that this change won't result in breakage on other flavors of *BSD?
(I'm unable to test this myself, not having any platforms on which
this branch of auth_peer gets compiled...)
regards, tom lane
--
Sent via pgsql-bugs mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs