open_memstream on non-linux?

Dirk Hohndel dirk at hohndel.org
Mon Mar 11 09:19:36 PDT 2013


There is some discussion and code on working around that here…

http://stackoverflow.com/questions/10305095/can-i-replace-a-call-to-open-memstream-with-a-malloc-and-an-implicit-cast

which looks way overkill to me.

Miika - any way you could reimplement this differently? :-)

/D

On Mar 11, 2013, at 7:08 AM, Henrik Brautaset Aronsen wrote:

> Miika's commit 42ea5e35 contains
> 
>   f = open_memstream(&membuf, &streamsize);
> 
> in divelist.c, but open_memstream doesn't seem to be supported on Mac (or Windows[1])
> 
> Henrik
> 
> [1] http://stackoverflow.com/a/10341073/13365
> 
> _______________________________________________
> subsurface mailing list
> subsurface at hohndel.org
> http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4130 bytes
Desc: not available
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130311/a5ff7a01/attachment.bin>


More information about the subsurface mailing list