[cairo] surface_write_to_png & fopen error "ENOMEM"
P.Romero
romero619 at hotmail.com
Thu Feb 5 12:04:42 PST 2009
Ok,
I've narrowed this down to the fopen call that's failing within cairo-png.c,
cairo_surface_write_to_png.
For some reason, fopen is failing. It manages to create an empty file, but
the file pointer being returned is null and the "ENOMEM" error is being
reported, "insufficient storage space", which is completely incorrect, since
there is over 100GB of free space, and the png file should only be about
350kb.
When I compile the sample code individually, it works fine.
When compiled as part of my larger project, I receive the fopen error.
Is there anything obvious to the cairo developers as to why fopen might be
incorrectly reporting "insufficient space"????
Please help.
Thanks,
P.Romero
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cairographics.org/archives/cairo/attachments/20090205/15d6f77a/attachment.htm
More information about the cairo
mailing list