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:
Chris Michael 2014-05-09 08:28:15 +01:00
parent 8784685120
commit ad72fa0649
1 changed files with 1 additions and 1 deletions

View File

@ -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;