Re: [PATCH 3/2] open_memstream: port to more systems

2010-05-01 Thread Bruno Haible
Eric Blake wrote: > --- a/lib/stdio.in.h > +++ b/lib/stdio.in.h > @@ -602,6 +602,11 @@ _GL_CXXALIASWARN (obstack_vprintf); > the current stream size. After closing the stream, call > free(*BUF). */ > # if !...@have_open_memstream@ > +# if GNULIB_OPEN_MEMSTREAM_HOOK > +/* Internal functi

Re: [PATCH 3/2] open_memstream: port to more systems

2010-04-27 Thread Jim Meyering
Eric Blake wrote: > Provide brute-force implementation that works on all remaining > systems. Some day, it would be nice to override all APIs that > take FILE*, so that we can guarantee efficient in-memory access, > but in the meantime, this works even if it is slow on deficient > platforms. The

[PATCH 3/2] open_memstream: port to more systems

2010-04-26 Thread Eric Blake
Provide brute-force implementation that works on all remaining systems. Some day, it would be nice to override all APIs that take FILE*, so that we can guarantee efficient in-memory access, but in the meantime, this works even if it is slow on deficient platforms. The idea here is that eventually