Re: [PATCH 2/2] open_memstream: new module

2010-04-26 Thread Eric Blake
On 04/24/2010 04:09 AM, Bruno Haible wrote: > Eric Blake wrote: >> Portability problems fixed by Gnulib: >> @itemize >> +...@item >> +This function is missing on some platforms: >> +MacOS X 10.3, FreeBSD 6.0, NetBSD 3.0, OpenBSD 3.8. >> @end itemize > > Interix 3.5 can be added to this list; it

Re: [PATCH 2/2] open_memstream: new module

2010-04-24 Thread Bruno Haible
Eric Blake wrote: > Portability problems fixed by Gnulib: > @itemize > +...@item > +This function is missing on some platforms: > +MacOS X 10.3, FreeBSD 6.0, NetBSD 3.0, OpenBSD 3.8. > @end itemize Interix 3.5 can be added to this list; it also has the 'funopen' function. Bruno

[PATCH 2/2] open_memstream: new module

2010-04-23 Thread Eric Blake
Implement a light-weight replacement for BSD variants that provide funopen() as a way to hook stdio (comparable to glibc's fopencookie). Tested on FreeBSD 8.0. Fails to compile on other platforms, like Solaris, cygwin 1.5, and mingw. * modules/open_memstream: New file. * m4/open_memstream.m4 (gl