[PATCH 0/5] obstacks again
Paul Eggert
eggert@cs.ucla.edu
Wed Nov 5 19:46:00 GMT 2014
On 11/05/2014 03:21 AM, Alan Modra wrote:
> I think you need to keep the casts, otherwise
> you can only specify new extra arg alloc and free functions.
Thanks for catching that; I installed the attached fix into gnulib. It
is annoying that gcc -Wall complains about using malloc and free here,
but it's been that way for years and this is not a regression.
Another possibility might be to deprecate obstack_chunkfun and
obstack_freefun, as they're not documented; but that is a separable issue.
I like your latest doc change; thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-obstack-do-not-reject-malloc-style-obstack_chunkfun-.patch
Type: text/x-patch
Size: 2051 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20141105/808ec48d/attachment.bin>
More information about the Libc-alpha
mailing list