On 02/07/2013 02:54 AM, Eric Wong wrote: > Eric Blake <ebl...@redhat.com> wrote: >> The libvirt project would be very interested in using open_memstream, >> since it is now part of POSIX 2008. > > Hi, I realize this thread for open_memstream support in gnulib is now > several years old. Just wondering why it was never completed/merged > into gnulib...
Mainly because it turned out to be very difficult to hook enough of stdio in a reasonable manner in order to ensure that things work, and libvirt in the meantime has managed to cope without open_memstream. It's one of those projects that therefore sunk lower on my to-do list, with it no longer being one of my itches. > > I assume it's too much time/effort to get working on some platforms; and > perhaps not worth it. It'd be nice to have, but I can live without it, > too: tmpfile()+rewind()+fread() seems good enough for the few *BSD users > I support. open_memstream still sounds like a nice project for anyone interested in implementing, though. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature