Hi,
a quick patch to fix what glima wanted to do
regards
Jérémy
diff --git a/eina/src/lib/eina_file.c b/eina/src/lib/eina_file.c
index ea17b95..ff477a9 100644
--- a/eina/src/lib/eina_file.c
+++ b/eina/src/lib/eina_file.c
@@ -560,14 +560,17 @@ _eina_file_escape(const char *path, int *length)
++p;
}
}
- // remove '/./'
- else if (p[2] == '/')
- {
- len -= p + 2 - q;
- memmove(q, p + 2, len - (q - result));
- result[len] = '\0';
- p = q;
- }
+ else
+ if (p[1] == '.'
+ && p[2] == '/')
+ {
+ // remove '/./'
+ len -= 2;
+ memmove(p, p + 2, len - (p - result));
+
+ q = p;
+ ++p;
+ }
else
{
q = p;
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel