GNOME Bugzilla – Bug 335179
gdk_pixbuf_savev
Last modified: 2010-07-10 04:05:00 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.)
Same problem in gdk_pixbuf_animation_new_from_file. _() might very well include file io. Ditto gif_read.
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)