bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
* What happened to open_memstream.c?
@ 2015-02-13 19:53 Margaret Lewicka
  2015-02-13 20:10 ` Eric Blake
  0 siblings, 1 reply; 3+ messages in thread
From: Margaret Lewicka @ 2015-02-13 19:53 UTC (permalink / raw
  To: bug-gnulib

A while ago (back in 2010), Eric Blake wrote an open_memstream
replacement module for BSD variants:

http://osdir.com/ml/bug-gnulib-gnu/2010-04/msg00360.html

What happened to it? I'm using this patch right now to make libguestfs
run on Mac OS X 10.10, but it's a shame it hasn't been made part of
gnulib. Any chance the idea could be resurrected?

-- 
M.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: What happened to open_memstream.c?
  2015-02-13 19:53 What happened to open_memstream.c? Margaret Lewicka
@ 2015-02-13 20:10 ` Eric Blake
  2015-02-13 21:18   ` Margaret Lewicka
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Blake @ 2015-02-13 20:10 UTC (permalink / raw
  To: Margaret Lewicka, bug-gnulib

[-- Attachment #1: Type: text/plain, Size: 839 bytes --]

On 02/13/2015 12:53 PM, Margaret Lewicka wrote:
> A while ago (back in 2010), Eric Blake wrote an open_memstream
> replacement module for BSD variants:
> 
> http://osdir.com/ml/bug-gnulib-gnu/2010-04/msg00360.html
> 
> What happened to it? I'm using this patch right now to make libguestfs
> run on Mac OS X 10.10, but it's a shame it hasn't been made part of
> gnulib. Any chance the idea could be resurrected?

I never completed the work at the time, because libvirt found another
solution for where it would have used open_memstream.  I suppose I could
revive the patches, if they are still useful.  Could you post the
version of the patches that you are using, to give me a leg up on
cleaning up my old work?

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: What happened to open_memstream.c?
  2015-02-13 20:10 ` Eric Blake
@ 2015-02-13 21:18   ` Margaret Lewicka
  0 siblings, 0 replies; 3+ messages in thread
From: Margaret Lewicka @ 2015-02-13 21:18 UTC (permalink / raw
  To: Eric Blake; +Cc: bug-gnulib

On 13 February 2015 at 20:10, Eric Blake <eblake@redhat.com> wrote:
[...]
> I never completed the work at the time, because libvirt found another
> solution for where it would have used open_memstream.  I suppose I could
> revive the patches, if they are still useful.  Could you post the
> version of the patches that you are using, to give me a leg up on
> cleaning up my old work?

I'm using open_memstream.c as it was posted, with the exception of
removing the HAVE_FUNOPEN conditional from open_memstream.c (darwin
does have funopen(), just the define isn't set). I've also thrown the
_GL_FUNCDECL_SYS (open_memstream, FILE *, (char **, size_t *));
into stdio.in.h, without the surrounding checks.

I can mail the patch, of course, but it's really just
https://www.mail-archive.com/bug-gnulib@gnu.org/msg18077.html minus
all the files except open_memstream.c.


-- 
M.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-02-13 21:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-13 19:53 What happened to open_memstream.c? Margaret Lewicka
2015-02-13 20:10 ` Eric Blake
2015-02-13 21:18   ` Margaret Lewicka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).