Since no one responded in 3 months and the bug is still there, I'd like to bump
it up.
BTW, there is a bug in Bugzilla about this:
http://bugzilla.enlightenment.org/show_bug.cgi?id=395
On Wed, Mar 26, 2008 at 3:47 AM, Гусев Фёдор <[EMAIL PROTECTED]> wrote:
> 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++;
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel