Enlightenment CVS committal Author : englebass Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_file Modified Files: ecore_file_monitor_inotify.c Log Message: file is not NULL and empty if a file is monitored =================================================================== RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_file/ecore_file_monitor_inotify.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -3 -r1.12 -r1.13 --- ecore_file_monitor_inotify.c 5 Nov 2006 16:34:30 -0000 1.12 +++ ecore_file_monitor_inotify.c 26 Mar 2007 19:30:51 -0000 1.13 @@ -198,7 +198,7 @@ char buf[PATH_MAX]; int isdir; - if (file) + if ((file) && (file[0])) snprintf(buf, sizeof(buf), "%s/%s", em->path, file); else strcpy(buf, em->path); ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs