Jim Meyering wrote:
> Only the temporary is static.
>
> The original code (that evokes a warning) is like this:
>
> mbstate_t mbstate = { 0, };
>
> Using DECLARE_ZEROED_AGGREGATE, it's like this (modulo formatting onto
> two lines and the approximate line number)
>
> static mbstate_t s0_3724;
> mbstate_t mbstate = s0_3724;
>
> I considered using memset, but preferred the above.
> So I think we're ok.
Ah Ok. Sorry for the noise.
Pádraig.
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils