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

bugzilla-daemon@bugzilla.gnome.org bugzilla-daemon@bugzilla.gnome.org
Mon, 21 Feb 2005 18:06:38 -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-21 18:06 -------
It seems that on sparc and ppc the modification time of the dir is set to 0 when
gtk-update-icon-cache is used. In gtkicontheme.c mtime == 0 is used to indicate
that a dir doesn't exist (see line 199). Thus because the dir's mtime == 0
gtkicontheme thinks it doesn't exists, causing the problem..

Now why replacing all g_stat() calls by stat() fixes the issue, but is not clear
to me why that helps as g_stat just calls stat()...

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