aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/ecore/src/lib/ecore/ecore.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2007-08-18 14:26:49 +0000
committerCarsten Haitzler <raster@rasterman.com>2007-08-18 14:26:49 +0000
commit526f902e06d140256edd62a1dc12b23ccf617c66 (patch)
tree7e56a3a76c2a7051c5a04323f82119df51a01bef /legacy/ecore/src/lib/ecore/ecore.c
parentlok's xdnd work. (diff)
downloadefl-526f902e06d140256edd62a1dc12b23ccf617c66.tar.gz
open has become nasty! --- che! :)
SVN revision: 31383
Diffstat (limited to 'legacy/ecore/src/lib/ecore/ecore.c')
-rw-r--r--legacy/ecore/src/lib/ecore/ecore.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/legacy/ecore/src/lib/ecore/ecore.c b/legacy/ecore/src/lib/ecore/ecore.c
index 193305e292..dd1f96c0f3 100644
--- a/legacy/ecore/src/lib/ecore/ecore.c
+++ b/legacy/ecore/src/lib/ecore/ecore.c
@@ -181,11 +181,11 @@ _ecore_fps_debug_init(void)
_ecore_fps_debug_init_count++;
if (_ecore_fps_debug_init_count > 1) return;
snprintf(buf, sizeof(buf), "/tmp/.ecore_fps_debug-%i", (int)getpid());
- _ecore_fps_debug_fd = open(buf, O_CREAT | O_TRUNC | O_RDWR);
+ _ecore_fps_debug_fd = open(buf, O_CREAT | O_TRUNC | O_RDWR, 0644);
if (_ecore_fps_debug_fd < 0)
{
unlink(buf);
- _ecore_fps_debug_fd = open(buf, O_CREAT | O_TRUNC | O_RDWR);
+ _ecore_fps_debug_fd = open(buf, O_CREAT | O_TRUNC | O_RDWR, 0644);
}
if (_ecore_fps_debug_fd >= 0)
{