[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: work in progress: [PATCH 0/2+] open_memstream
From: |
Eric Blake |
Subject: |
Re: work in progress: [PATCH 0/2+] open_memstream |
Date: |
Thu, 07 Feb 2013 06:06:25 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 |
On 02/07/2013 02:54 AM, Eric Wong wrote:
> Eric Blake <address@hidden> 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