Bug 8253

Summary: libpng dumping junk on stderr
Product: cairo Reporter: Havoc Pennington <hp>
Component: png functionsAssignee: Chris Wilson <chris>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: high    
Version: 1.2.5   
Hardware: x86 (IA32)   
OS: Windows (All)   
Whiteboard:
i915 platform: i915 features:

Description Havoc Pennington 2006-09-13 11:50:19 UTC
to keep libpng from writing crap on stderr you have to set some kind of error 
func, see gtk+/gdk-pixbuf/io-png.c for an example.
Comment 1 Chris Wilson 2007-04-23 05:11:30 UTC
commit ae991a0657be38e0056ba0ed6f85f43a35959a19
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon Apr 23 13:00:40 2007 +0100

    Do not print out libpng error messages to stderr.
    
    We wish to avoid writing to file descriptors (and streams) that are
    outside cairo's control. In this case, the messages are superfluous as
    the errors are propagated via the cairo_status_t returns.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.