forked from enlightenment/efl
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 <cp.michael@samsung.com>
This commit is contained in:
parent
8784685120
commit
ad72fa0649
|
@ -293,7 +293,7 @@ evas_swapper_buffer_idle_flush(Wl_Swapper *ws)
|
||||||
static Eina_Bool
|
static Eina_Bool
|
||||||
_evas_swapper_shm_pool_new(Wl_Swapper *ws)
|
_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;
|
const char *path;
|
||||||
char *name;
|
char *name;
|
||||||
size_t size;
|
size_t size;
|
||||||
|
|
Loading…
Reference in New Issue