devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=ad72fa0649365b34e06a16fb8a0808f081cf4a76

commit ad72fa0649365b34e06a16fb8a0808f081cf4a76
Author: Chris Michael <[email protected]>
Date:   Fri May 9 08:28:15 2014 +0100

    evas-wayland-shm: Fix 'oopsie/typo' in temporary file name template
    
    @bugfix: When creating a temporary file for the buffer's mmaped data,
    we need to make sure there is an appending '/' in the name else
    mkstemp will fail due to improperly formatted filename.
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/modules/evas/engines/wayland_shm/evas_swapper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/evas/engines/wayland_shm/evas_swapper.c 
b/src/modules/evas/engines/wayland_shm/evas_swapper.c
index 87ac92d..0f3904f 100644
--- a/src/modules/evas/engines/wayland_shm/evas_swapper.c
+++ b/src/modules/evas/engines/wayland_shm/evas_swapper.c
@@ -293,7 +293,7 @@ evas_swapper_buffer_idle_flush(Wl_Swapper *ws)
 static Eina_Bool 
 _evas_swapper_shm_pool_new(Wl_Swapper *ws)
 {
-   static const char tmp[] = "evas-wayland_shm-XXXXXX";
+   static const char tmp[] = "/evas-wayland_shm-XXXXXX";
    const char *path;
    char *name;
    size_t size;

-- 


Reply via email to