FC3: gnome-libs API broken with 1.4.1.2.90-32

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>  http://linuxsavvy.com/staff/jgotts


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux