FC3: gnome-libs API broken with 1.4.1.2.90-32

John Gotts jgotts at linuxsavvy.com
Tue Mar 29 09:02:46 UTC 2005


We've had the same code in our software since 2000:

	GnomeFileEntry *fe;
	gchar buf[1024];

--->	sprintf(buf, "%s", gnome_file_entry_get_full_path(fe, TRUE));

[Edited for brevity.]

The seg fault with Fedora Core 3:

#0  0x007e0490 in strcpy () from /lib/tls/libc.so.6
(gdb) bt
#0  0x007e0490 in strcpy () from /lib/tls/libc.so.6
#1  <the line indicated with the arrow>

Either the API changed or somebody broke something inside
gnome_file_entry_get_full_path().  Fortunately, the file entry widget was for
future use, so I completely removed its use in our code.

Please, resist all urges to make any changes, albeit helpful, to Gtk 1.x and
GNOME 1.x.  That's what 2.x is for.  Don't break legacy applications.

Thanks and have a great day,
John

-- 
John GOTTS <jgotts at linuxsavvy.com>  http://linuxsavvy.com/staff/jgotts




More information about the fedora-devel-list mailing list