Hello.
>From bash manpage: A single quote may not occur between single quotes,
even when preceded by a backslash. Thus, current quoting does not work
for files with a single quote in the name. Like
Someone's speech.avi
Currently, efreet will quote this to
'Someone\'s speech.avi'
Obviously, this is not right. Attached patch does the quoting as follows:
'Someone'\''s speech.avi'
I found this solution somewhere on the internet.
--
Sincerely yours, Fedor Gusev.
? efreet.spec
? efreet_desktop_quoting_of_single_qoutes.patch
Index: src/lib/efreet_desktop.c
===================================================================
RCS file: /var/cvs/e/e17/libs/efreet/src/lib/efreet_desktop.c,v
retrieving revision 1.38
diff -u -r1.38 efreet_desktop.c
--- src/lib/efreet_desktop.c 18 Mar 2008 04:01:41 -0000 1.38
+++ src/lib/efreet_desktop.c 25 Mar 2008 23:31:59 -0000
@@ -1467,7 +1467,7 @@
while (*p)
{
if (*p == '\'')
- dest = efreet_string_append_char(dest, size, len, '\\');
+ dest = efreet_string_append(dest, size, len, "\'\\\'");
dest = efreet_string_append_char(dest, size, len, *p);
p++;
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel