[PATCH] Initialize the entire obstack struct [BZ #17919]

Siddhesh Poyarekar siddhesh@redhat.com
Tue Feb 3 16:26:00 GMT 2015


On Tue, Feb 03, 2015 at 08:08:54AM -0800, Paul Eggert wrote:
> Does this patch fix any actual bug?  If so, what's the bug?  Is there a
> faster way to fix it, other than zeroing out the entire struct obstack?

It fixes a valgrind warning on s390x, but if by bug you mean a user
visible problem, then no, there is no such thing.  I can't think of a
faster way that is not uglier, which is why I took the simpler, more
readable approach.

Siddhesh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20150203/1f671d7a/attachment.sig>


More information about the Libc-alpha mailing list