After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 335179 - gdk_pixbuf_savev
gdk_pixbuf_savev
Status: RESOLVED FIXED
Product: gdk-pixbuf
Classification: Platform
Component: general
git master
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2006-03-20 03:04 UTC by Morten Welinder
Modified: 2010-07-10 04:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Morten Welinder 2006-03-20 03:04:48 UTC
The function gdk_pixbuf_savev uses errno a couple of times, but error's
value at the time is anyone's guess.  errno must be saved before any
function that might change its value is called.  (Such as any function
that allocates memory.)
Comment 1 Morten Welinder 2006-03-20 03:10:33 UTC
Same problem in gdk_pixbuf_animation_new_from_file.  _() might very well
include file io.

Ditto gif_read.

Comment 2 Matthias Clasen 2006-03-20 20:13:00 UTC
2006-03-20  Matthias Clasen  <mclasen@redhat.com>

        * gdk-pixbuf-animation.c:
        * gdk-pixbuf-io.c:
        * io-xpm.c:
        * io-xbm.c:
        * io-gif.c: Always save errno to a temporary before making
        other calls.  (#335179, Morten Welinder)