aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/ecore/src/lib/ecore_file/ecore_file.c
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2010-01-27 20:59:26 +0000
committerSebastian Dransfeld <sd@tango.flipp.net>2010-01-27 20:59:26 +0000
commitc3b33835ea47975189d9ef9f110d759b4453ad58 (patch)
tree95770a1e1075bb514e911e5b2c7a4bbc7dcab9f9 /legacy/ecore/src/lib/ecore_file/ecore_file.c
parentAdd EINA_MAGIC to strbuf (diff)
downloadefl-c3b33835ea47975189d9ef9f110d759b4453ad58.tar.gz
switch to eina_strlcpy
SVN revision: 45653
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/lib/ecore_file/ecore_file.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/legacy/ecore/src/lib/ecore_file/ecore_file.c b/legacy/ecore/src/lib/ecore_file/ecore_file.c
index 8e37e42792..97544b8c80 100644
--- a/legacy/ecore/src/lib/ecore_file/ecore_file.c
+++ b/legacy/ecore/src/lib/ecore_file/ecore_file.c
@@ -6,7 +6,6 @@
# include <config.h>
#endif
-#include <Ecore_Str.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
@@ -222,7 +221,7 @@ ecore_file_mksubdirs(const char *base, const char **subdirs)
return 0;
#ifndef HAVE_ATFILE_SOURCE
- baselen = ecore_strlcpy(buf, base, sizeof(buf));
+ baselen = eina_strlcpy(buf, base, sizeof(buf));
if ((baselen < 1) || (baselen + 1 >= (int)sizeof(buf)))
return 0;
@@ -244,7 +243,7 @@ ecore_file_mksubdirs(const char *base, const char **subdirs)
struct stat st;
#ifndef HAVE_ATFILE_SOURCE
- ecore_strlcpy(buf + baselen, *subdirs, sizeof(buf) - baselen);
+ eina_strlcpy(buf + baselen, *subdirs, sizeof(buf) - baselen);
if (stat(buf, &st) == 0)
#else
if (fstatat(fd, *subdirs, &st, 0) == 0)