summaryrefslogtreecommitdiff
path: root/src/modules/ecore_buffer
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel@osg.samsung.com>2018-02-21 10:06:02 +0100
committerMarcel Hollerbach <marcel@osg.samsung.com>2018-02-22 09:26:55 +0100
commitc4f33c67a8d75888b21a0f464b0b1c82bd55bd0b (patch)
tree2835fab56c775b14bca1ff1b0af859542557f4c9 /src/modules/ecore_buffer
parent7165003bc60177818a491db0d6a557dd0767554b (diff)
move from efl.vpath to eina_vpath
The usages from efl.vpath are moved to to eina_vpath
Diffstat (limited to 'src/modules/ecore_buffer')
-rw-r--r--src/modules/ecore_buffer/shm/ecore_buffer_shm.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/modules/ecore_buffer/shm/ecore_buffer_shm.c b/src/modules/ecore_buffer/shm/ecore_buffer_shm.c
index 298225a634..2d65a20201 100644
--- a/src/modules/ecore_buffer/shm/ecore_buffer_shm.c
+++ b/src/modules/ecore_buffer/shm/ecore_buffer_shm.c
@@ -55,7 +55,6 @@ _ecore_buffer_shm_buffer_alloc(Ecore_Buffer_Module_Data bmdata, int width, int h
55 Ecore_Buffer_Shm_Data* b; 55 Ecore_Buffer_Shm_Data* b;
56 char *name; 56 char *name;
57 int fd, page_size; 57 int fd, page_size;
58 Efl_Vpath_File *file_obj;
59 58
60 page_size = eina_cpu_page_size(); 59 page_size = eina_cpu_page_size();
61 60
@@ -68,10 +67,7 @@ _ecore_buffer_shm_buffer_alloc(Ecore_Buffer_Module_Data bmdata, int width, int h
68 b->size = page_size * (((b->stride * b->h) + (page_size - 1)) / page_size); 67 b->size = page_size * (((b->stride * b->h) + (page_size - 1)) / page_size);
69 b->am_owner = EINA_TRUE; 68 b->am_owner = EINA_TRUE;
70 69
71 file_obj = efl_vpath_manager_fetch(EFL_VPATH_MANAGER_CLASS, 70 name = eina_vpath_resolve("(:usr.run:)/ecore-buffer-shared-XXXXXX");
72 "(:run:)/ecore-buffer-shared-XXXXXX");
73 name = strdup(efl_vpath_file_result_get(file_obj));
74 efl_del(file_obj);
75 if (!name) goto err; 71 if (!name) goto err;
76 72
77 fd = mkostemp(name, O_CLOEXEC); 73 fd = mkostemp(name, O_CLOEXEC);