Enlightenment CVS committal Author : raster Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore Modified Files: ecore.c Log Message: open has become nasty! --- che! :) =================================================================== RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore/ecore.c,v retrieving revision 1.17 retrieving revision 1.18 diff -u -3 -r1.17 -r1.18 --- ecore.c 5 Jul 2007 09:51:09 -0000 1.17 +++ ecore.c 18 Aug 2007 14:26:49 -0000 1.18 @@ -181,11 +181,11 @@ _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) { ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs