summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bin/e.h1
-rw-r--r--src/bin/e_actions.c4
-rw-r--r--src/bin/e_config.c6
-rw-r--r--src/bin/e_desklock.c4
-rw-r--r--src/bin/e_eap_editor.c2
-rw-r--r--src/bin/e_fm.c22
-rw-r--r--src/bin/e_fm_mime.c8
-rw-r--r--src/bin/e_int_border_menu.c2
-rw-r--r--src/bin/e_prefix.c10
-rw-r--r--src/bin/e_theme.c4
-rw-r--r--src/bin/e_user.c4
-rw-r--r--src/modules/exebuf/e_exebuf.c6
-rw-r--r--src/modules/fileman/e_fwin.c4
-rw-r--r--src/modules/ibar/e_mod_config.c2
-rw-r--r--src/modules/ibar/e_mod_main.c4
-rw-r--r--src/modules/illume-home/e_mod_main.c4
-rw-r--r--src/modules/illume-keyboard/e_kbd_int.c4
-rw-r--r--src/modules/illume/e_kbd_int.c4
-rw-r--r--src/modules/illume/e_mod_win.c4
-rw-r--r--src/modules/systray/e_mod_main.c10
-rw-r--r--src/modules/wizard/page_030.c4
21 files changed, 56 insertions, 57 deletions
diff --git a/src/bin/e.h b/src/bin/e.h
index dca03432a8..80537f6c93 100644
--- a/src/bin/e.h
+++ b/src/bin/e.h
@@ -80,7 +80,6 @@ void *alloca (size_t);
#include <Evas.h>
#include <Evas_Engine_Buffer.h>
#include <Ecore.h>
-#include <Ecore_Str.h>
#include <Ecore_X.h>
#include <Ecore_X_Atoms.h>
#include <Ecore_X_Cursor.h>
diff --git a/src/bin/e_actions.c b/src/bin/e_actions.c
index 88f3dce5ec..5505d938d9 100644
--- a/src/bin/e_actions.c
+++ b/src/bin/e_actions.c
@@ -2387,13 +2387,13 @@ _delayed_action_list_parse(Delayed_Action *da, const char *params)
const char *action, *params;
a1 = alloca(a1stop - a1start + 1);
- ecore_strlcpy(a1, a1start, a1stop - a1start + 1);
+ eina_strlcpy(a1, a1start, a1stop - a1start + 1);
action = NULL;
params = NULL;
_delayed_action_list_parse_action(a1, &delay, &da->def.action, &da->def.params);
a2 = alloca(a1stop - a1start + 1);
- ecore_strlcpy(a2, a2start, a2stop - a2start + 1);
+ eina_strlcpy(a2, a2start, a2stop - a2start + 1);
_delayed_action_list_parse_action(a2, &delay, &da->delayed.action, &da->delayed.params);
}
da->timer = ecore_timer_add(delay, _delayed_action_cb_timer, da);
diff --git a/src/bin/e_config.c b/src/bin/e_config.c
index 9f0ba0d63d..535cd459ed 100644
--- a/src/bin/e_config.c
+++ b/src/bin/e_config.c
@@ -1230,7 +1230,7 @@ e_config_profile_list(void)
files = eina_list_sort(files, 0, (Eina_Compare_Cb)_cb_sort_files);
EINA_LIST_FREE(files, file)
{
- if (ecore_strlcpy(p, file, len) >= len)
+ if (eina_strlcpy(p, file, len) >= len)
{
free(file);
continue;
@@ -1258,7 +1258,7 @@ e_config_profile_list(void)
files = eina_list_sort(files, 0, (Eina_Compare_Cb)_cb_sort_files);
EINA_LIST_FREE(files, file)
{
- if (ecore_strlcpy(p, file, len) >= len)
+ if (eina_strlcpy(p, file, len) >= len)
{
free(file);
continue;
@@ -1448,7 +1448,7 @@ e_config_domain_save(const char *domain, E_Config_DD *edd, const void *data)
buf[len] = '/';
len++;
- len2 = ecore_strlcpy(buf + len, domain, sizeof(buf) - len);
+ len2 = eina_strlcpy(buf + len, domain, sizeof(buf) - len);
if (len2 + sizeof(".cfg") >= sizeof(buf) - len) return 0;
len += len2;
diff --git a/src/bin/e_desklock.c b/src/bin/e_desklock.c
index d233e8f964..d996d00283 100644
--- a/src/bin/e_desklock.c
+++ b/src/bin/e_desklock.c
@@ -736,8 +736,8 @@ _desklock_auth(char *passwd)
sigaction(SIGABRT, &action, NULL);
current_user = _desklock_auth_get_current_user();
- ecore_strlcpy(da.user, current_user, PATH_MAX);
- ecore_strlcpy(da.passwd, passwd, PATH_MAX);
+ eina_strlcpy(da.user, current_user, PATH_MAX);
+ eina_strlcpy(da.passwd, passwd, PATH_MAX);
/* security - null out passwd string once we are done with it */
for (p = passwd; *p; p++) *p = 0;
da.pam.handle = NULL;
diff --git a/src/bin/e_eap_editor.c b/src/bin/e_eap_editor.c
index d42df83cab..f005f625b8 100644
--- a/src/bin/e_eap_editor.c
+++ b/src/bin/e_eap_editor.c
@@ -414,7 +414,7 @@ _e_desktop_edit_basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfd
basename[i] = '\0';
}
else
- ecore_strlcpy(basename, "unnamed_desktop", sizeof(basename));
+ eina_strlcpy(basename, "unnamed_desktop", sizeof(basename));
i = 0;
snprintf(path, sizeof(path), "%s/applications/%s.desktop",
diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c
index 52045c0aae..bd965e0e54 100644
--- a/src/bin/e_fm.c
+++ b/src/bin/e_fm.c
@@ -1560,7 +1560,7 @@ e_fm2_icons_update(Evas_Object *obj)
if (!evas_object_type_get(obj)) return; // safety
if (strcmp(evas_object_type_get(obj), "e_fm")) return; // safety
- bufused = ecore_strlcpy(buf, sd->realpath, sizeof(buf));
+ bufused = eina_strlcpy(buf, sd->realpath, sizeof(buf));
if (bufused >= sizeof(buf) - 2)
return;
@@ -1584,7 +1584,7 @@ e_fm2_icons_update(Evas_Object *obj)
if (_e_fm2_file_is_desktop(ic->info.file))
_e_fm2_icon_desktop_load(ic);
- if (ecore_strlcpy(pfile, ic->info.file, buffree) >= buffree)
+ if (eina_strlcpy(pfile, ic->info.file, buffree) >= buffree)
continue;
cf = e_fm2_custom_file_get(buf);
@@ -3160,7 +3160,7 @@ _e_fm2_dev_path_map(const char *dev, const char *path)
{
if (dev[1] == '\0')
{
- if (ecore_strlcpy(buf, path, sizeof(buf)) >= sizeof(buf))
+ if (eina_strlcpy(buf, path, sizeof(buf)) >= sizeof(buf))
return NULL;
}
else
@@ -3241,7 +3241,7 @@ _e_fm2_dev_path_map(const char *dev, const char *path)
if (buf[0] == '\0')
{
- if (ecore_strlcpy(buf, path, sizeof(buf)) >= sizeof(buf))
+ if (eina_strlcpy(buf, path, sizeof(buf)) >= sizeof(buf))
return NULL;
}
@@ -3398,7 +3398,7 @@ _e_fm2_buffer_fill(Evas_Object *obj)
realpath = e_fm2_real_path_get(obj);
if (!realpath) return 0;
- bufused = ecore_strlcpy(buf, realpath, sizeof(buf));
+ bufused = eina_strlcpy(buf, realpath, sizeof(buf));
if (bufused >= sizeof(buf) - 2) return 0;
if ((bufused > 0) && (buf[bufused - 1] != '/'))
@@ -3414,7 +3414,7 @@ _e_fm2_buffer_fill(Evas_Object *obj)
EINA_LIST_FREE(sel, ici)
{
if (!ici) continue;
- if (ecore_strlcpy(pfile, ici->file, buffree) >= buffree) continue;
+ if (eina_strlcpy(pfile, ici->file, buffree) >= buffree) continue;
_e_fm_file_buffer = eina_list_append(_e_fm_file_buffer, _e_fm2_uri_escape(buf));
}
@@ -4750,7 +4750,7 @@ _e_fm2_icon_label_set(E_Fm2_Icon *ic, Evas_Object *obj)
* also be fuzzy - up to 4 chars of extn is ok - eg .html but 5 or
* more is considered part of the name
*/
- ecore_strlcpy(buf, ic->info.file, sizeof(buf));
+ eina_strlcpy(buf, ic->info.file, sizeof(buf));
len = strlen(buf);
p = strrchr(buf, '.');
@@ -6664,7 +6664,7 @@ _e_fm2_cb_icon_mouse_move(void *data, Evas *e, Evas_Object *obj, void *event_inf
ic->drag.start = 0;
evas_object_geometry_get(ic->obj, &x, &y, &w, &h);
realpath = e_fm2_real_path_get(ic->sd->obj);
- p_offset = ecore_strlcpy(buf, realpath, sizeof(buf));
+ p_offset = eina_strlcpy(buf, realpath, sizeof(buf));
if ((p_offset < 1) || (p_offset >= sizeof(buf) - 2)) return;
if (buf[p_offset - 1] != '/')
{
@@ -6681,7 +6681,7 @@ _e_fm2_cb_icon_mouse_move(void *data, Evas *e, Evas_Object *obj, void *event_inf
const char *s;
int s_len;
- if (ecore_strlcpy(p, ici->file, p_length) >= p_length) continue;
+ if (eina_strlcpy(p, ici->file, p_length) >= p_length) continue;
s = _e_fm2_uri_escape(buf);
if (!s) continue;
s_len = strlen(s);
@@ -7316,8 +7316,8 @@ _e_fm2_cb_icon_sort(const void *data1, const void *data2)
}
else
*/ {
- ecore_strlcpy(buf1, l1, sizeof(buf1));
- ecore_strlcpy(buf2, l2, sizeof(buf2));
+ eina_strlcpy(buf1, l1, sizeof(buf1));
+ eina_strlcpy(buf2, l2, sizeof(buf2));
}
p = buf1;
while (*p)
diff --git a/src/bin/e_fm_mime.c b/src/bin/e_fm_mime.c
index b8cfba615d..4eb057cffe 100644
--- a/src/bin/e_fm_mime.c
+++ b/src/bin/e_fm_mime.c
@@ -48,7 +48,7 @@ e_fm_mime_icon_get(const char *mime)
val = eina_hash_find(icon_map, mime);
if (val) return val;
- ecore_strlcpy(buf2, mime, sizeof(buf2));
+ eina_strlcpy(buf2, mime, sizeof(buf2));
val = strchr(buf2, '/');
if (val) *val = 0;
@@ -57,7 +57,7 @@ e_fm_mime_icon_get(const char *mime)
{
if (e_util_glob_match(mi->mime, mime))
{
- ecore_strlcpy(buf, mi->icon, sizeof(buf));
+ eina_strlcpy(buf, mi->icon, sizeof(buf));
goto ok;
}
}
@@ -87,12 +87,12 @@ e_fm_mime_icon_get(const char *mime)
/* 3. look up icon in theme */
try_theme:
memcpy(buf, "e/icons/fileman/mime/", sizeof("e/icons/fileman/mime/") - 1);
- ecore_strlcpy(buf + sizeof("e/icons/fileman/mime/") - 1, mime,
+ eina_strlcpy(buf + sizeof("e/icons/fileman/mime/") - 1, mime,
sizeof(buf) - (sizeof("e/icons/fileman/mime/") - 1));
val = (char *)e_theme_edje_file_get("base/theme/fileman", buf);
if ((val) && (e_util_edje_collection_exists(val, buf))) goto ok;
- ecore_strlcpy(buf + sizeof("e/icons/fileman/mime/") - 1, buf2,
+ eina_strlcpy(buf + sizeof("e/icons/fileman/mime/") - 1, buf2,
sizeof(buf) - (sizeof("e/icons/fileman/mime/") - 1));
val = (char *)e_theme_edje_file_get("base/theme/fileman", buf);
if ((val) && (e_util_edje_collection_exists(val, buf))) goto ok;
diff --git a/src/bin/e_int_border_menu.c b/src/bin/e_int_border_menu.c
index 7d7bcd6675..731fef7d3a 100644
--- a/src/bin/e_int_border_menu.c
+++ b/src/bin/e_int_border_menu.c
@@ -1196,7 +1196,7 @@ _e_border_menu_cb_ibar_add_pre(void *data, E_Menu *m, E_Menu_Item *mi)
if (file[0] == '.') continue;
- ecore_strlcpy(buf + len, file, sizeof(buf) - len);
+ eina_strlcpy(buf + len, file, sizeof(buf) - len);
if (ecore_file_is_dir(buf))
{
smi = e_menu_item_new(sm);
diff --git a/src/bin/e_prefix.c b/src/bin/e_prefix.c
index b94410a69a..3a92f45587 100644
--- a/src/bin/e_prefix.c
+++ b/src/bin/e_prefix.c
@@ -112,7 +112,7 @@ e_prefix_determine(char *argv0)
_prefix_path = malloc(p - _exe_path + 1);
if (_prefix_path)
{
- ecore_strlcpy(_prefix_path, _exe_path, p - _exe_path + 1);
+ eina_strlcpy(_prefix_path, _exe_path, p - _exe_path + 1);
/* bin and lib always together */
snprintf(buf, sizeof(buf), "%s/bin", _prefix_path);
@@ -261,7 +261,7 @@ _e_prefix_share_hunt(void)
{
/* path is ok - magic file found */
_prefix_path_data = strdup(buf2);
- _prefix_path_data_len = ecore_strlcpy(buf, buf2, sizeof(buf));
+ _prefix_path_data_len = eina_strlcpy(buf, buf2, sizeof(buf));
p = strrchr(buf, '/');
if (p) *p = 0;
snprintf(buf2, sizeof(buf2), "%s/locale", buf);
@@ -285,7 +285,7 @@ _e_prefix_share_hunt(void)
Eina_List *files;
Eina_List *l;
- ecore_strlcpy(buf, _prefix_path, sizeof(buf));
+ eina_strlcpy(buf, _prefix_path, sizeof(buf));
p = strrchr(buf, '/');
if (p) *p = 0;
files = ecore_file_ls(buf);
@@ -318,7 +318,7 @@ _e_prefix_share_hunt(void)
*/
if (!_prefix_path_data)
{
- ecore_strlcpy(buf, _prefix_path, sizeof(buf));
+ eina_strlcpy(buf, _prefix_path, sizeof(buf));
p = strrchr(buf, '/');
if (p) *p = 0;
snprintf(buf2, sizeof(buf2), "%s/"MAGIC_DAT, buf);
@@ -521,7 +521,7 @@ _e_prefix_try_argv(char *argv0)
size_t
e_prefix_data_concat_len(char *dst, size_t size, const char *path, size_t path_len)
{
- return ecore_str_join_len(dst, size, '/', _prefix_path_data, _prefix_path_data_len, path, path_len);
+ return eina_str_join_len(dst, size, '/', _prefix_path_data, _prefix_path_data_len, path, path_len);
}
size_t
diff --git a/src/bin/e_theme.c b/src/bin/e_theme.c
index 0b237ab18d..a1d269ef3c 100644
--- a/src/bin/e_theme.c
+++ b/src/bin/e_theme.c
@@ -155,7 +155,7 @@ e_theme_edje_object_set(Evas_Object *o, const char *category, const char *group)
}
}
/* no mapping or set failed - fall back */
- ecore_strlcpy(buf, category, sizeof(buf));
+ eina_strlcpy(buf, category, sizeof(buf));
/* shorten string up to and not including last / char */
p = strrchr(buf, '/');
if (p) *p = 0;
@@ -237,7 +237,7 @@ e_theme_edje_file_get(const char *category, const char *group)
}
}
/* no mapping or set failed - fall back */
- ecore_strlcpy(buf, category, sizeof(buf));
+ eina_strlcpy(buf, category, sizeof(buf));
/* shorten string up to and not including last / char */
p = strrchr(buf, '/');
if (p) *p = 0;
diff --git a/src/bin/e_user.c b/src/bin/e_user.c
index c0836eb9a1..aa4e892422 100644
--- a/src/bin/e_user.c
+++ b/src/bin/e_user.c
@@ -46,7 +46,7 @@ e_user_homedir_concat_len(char *dst, size_t size, const char *path, size_t path_
if (!_e_user_homedir)
e_user_homedir_get();
- return ecore_str_join_len(dst, size, '/', _e_user_homedir, _e_user_homedir_len, path, path_len);
+ return eina_str_join_len(dst, size, '/', _e_user_homedir, _e_user_homedir_len, path, path_len);
}
EAPI size_t
@@ -156,7 +156,7 @@ e_user_dir_concat_len(char *dst, size_t size, const char *path, size_t path_len)
if (!_e_user_dir)
e_user_dir_get();
- return ecore_str_join_len(dst, size, '/', _e_user_dir, _e_user_dir_len, path, path_len);
+ return eina_str_join_len(dst, size, '/', _e_user_dir, _e_user_dir_len, path, path_len);
}
EAPI size_t
diff --git a/src/modules/exebuf/e_exebuf.c b/src/modules/exebuf/e_exebuf.c
index 5c11506599..41bfb22bd4 100644
--- a/src/modules/exebuf/e_exebuf.c
+++ b/src/modules/exebuf/e_exebuf.c
@@ -752,13 +752,13 @@ _e_exebuf_complete(void)
exe = ecore_file_app_exe_get(exe_sel->desktop->exec);
if (exe)
{
- ecore_strlcpy(cmd_buf, exe, EXEBUFLEN);
+ eina_strlcpy(cmd_buf, exe, EXEBUFLEN);
free(exe);
}
}
else if (exe_sel->file)
{
- ecore_strlcpy(cmd_buf, exe_sel->file, EXEBUFLEN);
+ eina_strlcpy(cmd_buf, exe_sel->file, EXEBUFLEN);
}
}
else
@@ -797,7 +797,7 @@ _e_exebuf_complete(void)
}
if ((exe) && (orig_len < common_len) && (common_len < (EXEBUFLEN - 1)))
{
- ecore_strlcpy(cmd_buf, exe, common_len + 1);
+ eina_strlcpy(cmd_buf, exe, common_len + 1);
}
if (clear_hist)
_e_exebuf_hist_clear();
diff --git a/src/modules/fileman/e_fwin.c b/src/modules/fileman/e_fwin.c
index 88026659ca..1e5b259d6b 100644
--- a/src/modules/fileman/e_fwin.c
+++ b/src/modules/fileman/e_fwin.c
@@ -709,7 +709,7 @@ _e_fwin_desktop_run(Efreet_Desktop *desktop, E_Fwin_Page *page, Eina_Bool skip_h
if (ext == E_FWIN_EXEC_NONE)
{
if (!((ici->link) && (ici->mount)))
- ecore_strlcpy(buf, ici->file, sizeof(buf));
+ eina_strlcpy(buf, ici->file, sizeof(buf));
}
else
_e_fwin_file_exec(page, ici, ext);
@@ -938,7 +938,7 @@ _e_fwin_window_title_set(E_Fwin_Page *page)
if (file)
{
- ecore_strlcpy(buf, file, sizeof(buf));
+ eina_strlcpy(buf, file, sizeof(buf));
e_win_title_set(page->fwin->win, buf);
}
}
diff --git a/src/modules/ibar/e_mod_config.c b/src/modules/ibar/e_mod_config.c
index df56b82025..8b34387564 100644
--- a/src/modules/ibar/e_mod_config.c
+++ b/src/modules/ibar/e_mod_config.c
@@ -279,7 +279,7 @@ _load_tlist(E_Config_Dialog_Data *cfdata)
EINA_LIST_FREE(dirs, file)
{
if (file[0] == '.') continue;
- if (ecore_strlcpy(buf + len, file, sizeof(buf) - len) >= sizeof(buf) - len)
+ if (eina_strlcpy(buf + len, file, sizeof(buf) - len) >= sizeof(buf) - len)
continue;
if (ecore_file_is_dir(buf))
{
diff --git a/src/modules/ibar/e_mod_main.c b/src/modules/ibar/e_mod_main.c
index e1f9259e1e..44b653f0c8 100644
--- a/src/modules/ibar/e_mod_main.c
+++ b/src/modules/ibar/e_mod_main.c
@@ -272,7 +272,7 @@ _ibar_new(Evas *evas, Instance *inst)
e_user_dir_snprintf(buf, sizeof(buf), "applications/bar/%s/.order",
inst->ci->dir);
else
- ecore_strlcpy(buf, inst->ci->dir, sizeof(buf));
+ eina_strlcpy(buf, inst->ci->dir, sizeof(buf));
b->apps = e_order_new(buf);
e_order_update_callback_set(b->apps, _ibar_cb_app_change, b);
_ibar_fill(b);
@@ -491,7 +491,7 @@ _ibar_config_update(Config_Item *ci)
e_user_dir_snprintf(buf, sizeof(buf), "applications/bar/%s/.order",
inst->ci->dir);
else
- ecore_strlcpy(buf, inst->ci->dir, sizeof(buf));
+ eina_strlcpy(buf, inst->ci->dir, sizeof(buf));
inst->ibar->apps = e_order_new(buf);
_ibar_fill(inst->ibar);
_ibar_resize_handle(inst->ibar);
diff --git a/src/modules/illume-home/e_mod_main.c b/src/modules/illume-home/e_mod_main.c
index 9b5af7005b..19b5121a3c 100644
--- a/src/modules/illume-home/e_mod_main.c
+++ b/src/modules/illume-home/e_mod_main.c
@@ -555,7 +555,7 @@ _il_home_apps_unpopulate(void)
EINA_LIST_FREE(files, file)
{
- if (ecore_strlcpy(buff + len, file, sizeof(buff) - len) >= sizeof(buff) - len)
+ if (eina_strlcpy(buff + len, file, sizeof(buff) - len) >= sizeof(buff) - len)
continue;
ecore_file_unlink(buff);
free(file);
@@ -700,7 +700,7 @@ _il_home_desktop_find_border(E_Zone *zone, Efreet_Desktop *desktop)
else
{
exe = malloc(p - desktop->exec + 1);
- if (exe) ecore_strlcpy(exe, desktop->exec, p - desktop->exec + 1);
+ if (exe) eina_strlcpy(exe, desktop->exec, p - desktop->exec + 1);
}
if (exe)
{
diff --git a/src/modules/illume-keyboard/e_kbd_int.c b/src/modules/illume-keyboard/e_kbd_int.c
index 1a96ca02c3..111bf30ba8 100644
--- a/src/modules/illume-keyboard/e_kbd_int.c
+++ b/src/modules/illume-keyboard/e_kbd_int.c
@@ -1073,7 +1073,7 @@ _e_kbd_int_layouts_list_update(E_Kbd_Int *ki)
p = strrchr(file, '.');
if ((p) && (!strcmp(p, ".kbd")))
{
- if (ecore_strlcpy(buf + len, file, sizeof(buf) - len) >= sizeof(buf) - len)
+ if (eina_strlcpy(buf + len, file, sizeof(buf) - len) >= sizeof(buf) - len)
continue;
kbs = eina_list_append(kbs, eina_stringshare_add(buf));
}
@@ -1104,7 +1104,7 @@ _e_kbd_int_layouts_list_update(E_Kbd_Int *ki)
}
if (ok)
{
- if (ecore_strlcpy(buf + len, file, sizeof(buf) - len) >= sizeof(buf) - len)
+ if (eina_strlcpy(buf + len, file, sizeof(buf) - len) >= sizeof(buf) - len)
continue;
kbs = eina_list_append(kbs, eina_stringshare_add(buf));
}
diff --git a/src/modules/illume/e_kbd_int.c b/src/modules/illume/e_kbd_int.c
index d89423662a..c2b3db5f9e 100644
--- a/src/modules/illume/e_kbd_int.c
+++ b/src/modules/illume/e_kbd_int.c
@@ -1113,7 +1113,7 @@ _e_kbd_int_layouts_list_update(E_Kbd_Int *ki)
p = strrchr(file, '.');
if ((p) && (!strcmp(p, ".kbd")))
{
- if (ecore_strlcpy(buf + len, file, sizeof(buf) - len) >= sizeof(buf) - len)
+ if (eina_strlcpy(buf + len, file, sizeof(buf) - len) >= sizeof(buf) - len)
continue;
kbs = eina_list_append(kbs, eina_stringshare_add(buf));
}
@@ -1144,7 +1144,7 @@ _e_kbd_int_layouts_list_update(E_Kbd_Int *ki)
}
if (ok)
{
- if (ecore_strlcpy(buf + len, file, sizeof(buf) - len) >= sizeof(buf) - len)
+ if (eina_strlcpy(buf + len, file, sizeof(buf) - len) >= sizeof(buf) - len)
continue;
kbs = eina_list_append(kbs, eina_stringshare_add(buf));
}
diff --git a/src/modules/illume/e_mod_win.c b/src/modules/illume/e_mod_win.c
index 998278860b..eae3bebb16 100644
--- a/src/modules/illume/e_mod_win.c
+++ b/src/modules/illume/e_mod_win.c
@@ -622,7 +622,7 @@ _desktop_run(Efreet_Desktop *desktop)
exename = malloc(p - desktop->exec + 1);
if (exename)
{
- ecore_strlcpy(exename, desktop->exec, p - desktop->exec + 1);
+ eina_strlcpy(exename, desktop->exec, p - desktop->exec + 1);
}
}
if (exename)
@@ -972,7 +972,7 @@ _apps_unpopulate(void)
EINA_LIST_FREE(files, file)
{
- if (ecore_strlcpy(buf + len, file, sizeof(buf) - len) >= sizeof(buf) - len)
+ if (eina_strlcpy(buf + len, file, sizeof(buf) - len) >= sizeof(buf) - len)
continue;
ecore_file_unlink(buf);
free(file);
diff --git a/src/modules/systray/e_mod_main.c b/src/modules/systray/e_mod_main.c
index 4da45552eb..4a6899565b 100644
--- a/src/modules/systray/e_mod_main.c
+++ b/src/modules/systray/e_mod_main.c
@@ -816,7 +816,7 @@ _systray_theme(Evas_Object *o, const char *shelf_style, const char *gc_style)
char buf[128], *p;
size_t len, avail;
- len = ecore_strlcpy(buf, _group_gadget, sizeof(buf));
+ len = eina_strlcpy(buf, _group_gadget, sizeof(buf));
if (len >= sizeof(buf))
goto fallback;
p = buf + len;
@@ -835,7 +835,7 @@ _systray_theme(Evas_Object *o, const char *shelf_style, const char *gc_style)
if (shelf_style)
{
size_t r;
- r = ecore_strlcpy(p, shelf_style, avail);
+ r = eina_strlcpy(p, shelf_style, avail);
if (r < avail && e_theme_edje_object_set(o, base_theme, buf))
return;
}
@@ -843,7 +843,7 @@ _systray_theme(Evas_Object *o, const char *shelf_style, const char *gc_style)
if (gc_style)
{
size_t r;
- r = ecore_strlcpy(p, gc_style, avail);
+ r = eina_strlcpy(p, gc_style, avail);
if (r < avail && e_theme_edje_object_set(o, base_theme, buf))
return;
}
@@ -862,7 +862,7 @@ _systray_theme(Evas_Object *o, const char *shelf_style, const char *gc_style)
if (shelf_style)
{
size_t r;
- r = ecore_strlcpy(p, shelf_style, avail);
+ r = eina_strlcpy(p, shelf_style, avail);
if (r < avail && edje_object_file_set(o, path, buf))
return;
}
@@ -870,7 +870,7 @@ _systray_theme(Evas_Object *o, const char *shelf_style, const char *gc_style)
if (gc_style)
{
size_t r;
- r = ecore_strlcpy(p, gc_style, avail);
+ r = eina_strlcpy(p, gc_style, avail);
if (r < avail && edje_object_file_set(o, path, buf))
return;
}
diff --git a/src/modules/wizard/page_030.c b/src/modules/wizard/page_030.c
index dcffef7d2e..0d65786ce4 100644
--- a/src/modules/wizard/page_030.c
+++ b/src/modules/wizard/page_030.c
@@ -137,7 +137,7 @@ wizard_page_show(E_Wizard_Page *pg)
tlabel = malloc(p2 - p + 1);
if (tlabel)
{
- ecore_strlcpy(tlabel, p, p2 - p + 1);
+ eina_strlcpy(tlabel, p, p2 - p + 1);
tlabel[0] = toupper(tlabel[0]);
if (*p2 == '-')
{
@@ -148,7 +148,7 @@ wizard_page_show(E_Wizard_Page *pg)
tdesc = malloc(p - p2 + 1);
if (tdesc)
{
- ecore_strlcpy(tdesc, p2, p - p2 + 1);
+ eina_strlcpy(tdesc, p2, p - p2 + 1);
tdesc[0] = toupper(tdesc[0]);
snprintf(buf, sizeof(buf), "%s (%s)", tlabel, tdesc);
}