efreet: eina_file_mkstemp() needs a template with an extension
authorVincent Torri <vincent dot torri at gmail dot com>
Tue, 29 Sep 2015 21:35:40 +0000 (23:35 +0200)
committerCedric BAIL <cedric@osg.samsung.com>
Tue, 13 Oct 2015 00:21:59 +0000 (17:21 -0700)
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/bin/efreet/efreetd.c

index aed2996..870dea7 100644 (file)
@@ -38,7 +38,7 @@ main(int argc, char *argv[])
 
    if (!eina_init()) return 1;
 
-   snprintf(path, sizeof(path), "efreetd_XXXXXX");
+   snprintf(path, sizeof(path), "efreetd_XXXXXX.cache");
    fd = eina_file_mkstemp(path, NULL);
    if (fd < 0)
      {