[cairo] Re: [cairo-commit] src/cairo-png.c

Behdad Esfahbod behdad at behdad.org
Mon Apr 23 08:17:15 PDT 2007


On Mon, 2007-04-23 at 08:10 -0400, Chris Wilson wrote:
> 
> +    longjmp (png_save_ptr->jmpbuf, CAIRO_STATUS_NO_MEMORY); 

Hi Chris.  Any way we can return better/multiple status here?
NO_MEMORY for a broken png file is misleading at best.  Weirdly enough
we don't have a INVALID_DATA or something similar.  We probably should
add one.

-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759





More information about the cairo mailing list