[cairo-bugs] [Bug 6909] cairo_surface_write_to_png_stream ignores status returned by the write function

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Sep 25 15:48:04 PDT 2007


http://bugs.freedesktop.org/show_bug.cgi?id=6909


chris at chris-wilson.co.uk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #1 from chris at chris-wilson.co.uk  2007-09-25 15:49 PST -------
I found a png_error_ptr through which we can propagate the error status.

Pushed:
commit 1469de5211e84e40490fa612538986768748bd55
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Tue Sep 25 23:35:25 2007 +0100

    [cairo-png] Propagate error from read and write funcs.

    Use the png_struct->error_ptr to propagate the error status from the
    user/stdio read and write functions through the png_error() to the
    cairo_surface_write_to_png*() and cairo_surface_read_from_png*()
    functions. From there the error is returned back to the user either
    directly or as the most appropriate error surface.

    (Fixes https://bugs.freedesktop.org/show_bug.cgi?id=6909)


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the cairo-bugs mailing list