Enlightenment CVS committal
Author : englebass
Project : e17
Module : libs/efreet
Dir : e17/libs/efreet/src/lib
Modified Files:
efreet_desktop.c
Log Message:
Return NULL if file does not exist.
===================================================================
RCS file: /cvs/e/e17/libs/efreet/src/lib/efreet_desktop.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -3 -r1.23 -r1.24
--- efreet_desktop.c 25 Jul 2007 17:00:56 -0000 1.23
+++ efreet_desktop.c 26 Jul 2007 11:37:23 -0000 1.24
@@ -266,6 +266,8 @@
{
Efreet_Desktop *desktop;
+ if (!ecore_file_exists(file)) return NULL;
+
desktop = NEW(Efreet_Desktop, 1);
if (!desktop) return NULL;
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs