projects
/
profile
/
ivi
/
eina.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7edbd9a
)
eina: don't rely on the order of the declaration of the variables
author
caro
<caro>
Wed, 22 Aug 2012 06:57:55 +0000
(06:57 +0000)
committer
caro
<caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 22 Aug 2012 06:57:55 +0000
(06:57 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@75517
7cbeb6ba
-43b4-40fd-8cce-
4c39aea84d33
src/lib/eina_file.c
patch
|
blob
|
history
diff --git
a/src/lib/eina_file.c
b/src/lib/eina_file.c
index
bdfe2a7
..
d34f917
100644
(file)
--- a/
src/lib/eina_file.c
+++ b/
src/lib/eina_file.c
@@
-501,10
+501,14
@@
slprintf(char *str, size_t size, const char *format, ...)
static char *
_eina_file_escape(const char *path, int *length)
{
- char *result = strdup(path ? path : "");
- char *p = result;
- char *q = result;
- int len;
+ char *result;
+ char *p;
+ char *q;
+ size_t len;
+
+ result = strdup(path ? path : "");
+ p = result;
+ q = result;
if (!result)
return NULL;