Bug 8253 - libpng dumping junk on stderr
Summary: libpng dumping junk on stderr
Status: RESOLVED FIXED
Alias: None
Product: cairo
Classification: Unclassified
Component: png functions (show other bugs)
Version: 1.2.5
Hardware: x86 (IA32) Windows (All)
: high normal
Assignee: Chris Wilson
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-13 11:50 UTC by Havoc Pennington
Modified: 2007-04-23 05:11 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.