This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Fix integer overflows in internal memalign and malloc functions [BZ #22343]
On 01/16/2018 02:31 PM, Carlos O'Donell wrote:
> Please rewrite this as:
>
> #define foo(...) \
> ({ \
> ... \
> })
>
> The nested braces are less verbose IMHO.
Note that requeset2size (above) can't use nested braces because
it's involved in constant sized array expressions outside
of a normal function.
--
Cheers,
Carlos.