[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gcmd-dev] [patch] crash when moving a file that holds a %-sign in it's
[gcmd-dev] [patch] crash when moving a file that holds a %-sign in it's name
Sat, 24 Nov 2007 19:18:18 +0100
When trying to move a file to another directory with the mouse and
SHIFT down and the filename contains a %-sign gnome-commander crashes.
I believe the following code fixes this.
In gnome-cmd-xfer.cc line 412
gchar *basename = gnome_vfs_unescape_string (gnome_vfs_uri_extract_short_name
should be replaced with
gchar *basename = gnome_vfs_uri_extract_short_name (src_uri);
The function 'gnome_vfs_unescape_string' is not necessary according to
the function description of 'gnome_vfs_uri_extract_short_name'. Because
that function already returns a pointer to an unescaped string.
Description: Text Data
- [gcmd-dev] [patch] crash when moving a file that holds a %-sign in it's name,