[Top][All Lists]
[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
From: |
koos |
Subject: |
[gcmd-dev] [patch] crash when moving a file that holds a %-sign in it's name |
Date: |
Sat, 24 Nov 2007 19:18:18 +0100 |
Hi there,
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
(src_uri), 0)
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.
koos
gnome-cmd-xfer.cc.diff
Description: Text Data
- [gcmd-dev] [patch] crash when moving a file that holds a %-sign in it's name,
koos <=