GNOME Bugzilla – Bug 92890
gtk exports fnmatch() on non-gnu libc/linker
Last modified: 2011-02-04 16:11:52 UTC
the included copy of fnmatch() will get exported by gtk+ on some systems. this can especially be a problem if you link against gnome-vfs 1, which also exports fnmatch() and your linker doesn't allow more than 1 function with the same name (mac os x at least). the attached patch makes fnmatch() a static function.
Created attachment 10988 [details] [review] make fnmatch() static
Since you mention gnome vfs1, do you consider this a GTK+-1.2.11 bug? (at this point, I really doubt we'll ever do a 1.2.11)
i consider it both a gtk 1.2 and 2.x bug, although i only ran into the problem with 1.2.
Fixed on HEAD and gtk-2-0 Tue Oct 22 15:03:41 2002 Owen Taylor <otaylor@redhat.com> * gtk/fnmatch.h: When compiling our on fnmatch.c, #define fnmatch _gtk_fnmatch (#92890, Jacob Berkman) I'm not going to bother assinging it to 1.2.11 milestone; it is looking more and more likely that that will never happen.