[Bug 167942] gtk-update-icon-cache breaks icons on powerpc

bugzilla-daemon@bugzilla.gnome.org bugzilla-daemon@bugzilla.gnome.org
Tue, 22 Feb 2005 07:43:13 -0500 (EST)


Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.

 http://bugzilla.gnome.org/show_bug.cgi?id=167942
 gtk+ | general | Ver: 2.6.x





------- Additional Comments From Sjoerd Simons  2005-02-22 07:43 -------
Finally found the problem. updateiconcache.c doesn't include <config.h> so the
configured #define _FILE_OFFSET_BITS 64 isn't set when compiling
gtk-update-icon-cache.. Apparently on ppc this causes the usage of both the
normal struct stat and the stat system call, but on sparc it causes the use of
the stat64 call with the normal struct stat (ugh!)

It's still quite nasty that things like this can break other software though
(apparently debian's gaim was also broken because of this type of problem)

Anyway trivial patch attached..

------- You are receiving this mail because: -------
You are on the CC list for the bug.