Hello,
the attached patch fixes this bug:
http://bugzilla.enlightenment.org/show_bug.cgi?id=395
Regards.
----------------------------------------------------------------------
Get a free email address with REAL anti-spam protection.
http://www.bluebottle.com/tag/1
--- src/bin/e_utils.c 2007-12-27 01:25:31.000000000 +0100
+++ src/bin/e_utils2.c 2008-02-28 12:58:37.000000000 +0100
@@ -592,15 +592,23 @@
while (*p)
{
if ((q - buf) > 4090) return NULL;
- if (
+ if(*p == '\'')
+ {
+ *q= '\'';
+ q++;
+ *q = '\\';
+ q++;
+ *q= '\'';
+ q++;
+ }
+ else if (
(*p == ' ') || (*p == '\t') || (*p == '\n') ||
- (*p == '\\') || (*p == '\'') || (*p == '\"') ||
+ (*p == '\\') || (*p == '\"') || (*p == '?') ||
(*p == ';') || (*p == '!') || (*p == '#') ||
(*p == '$') || (*p == '%') || (*p == '&') ||
(*p == '*') || (*p == '(') || (*p == ')') ||
(*p == '[') || (*p == ']') || (*p == '{') ||
(*p == '}') || (*p == '|') || (*p == '<') ||
- (*p == '>') || (*p == '?')
+ (*p == '>')
)
{
*q = '\\';
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel