[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [E-devel] E CVS: apps/e handyande



Was there a segv being triggered here? If so, does the calling
function need to be fixed too?

On 6/9/06, Enlightenment CVS <noreply@cvs.enlightenment.org> wrote:
Enlightenment CVS committal

Author  : handyande
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_utils.c


Log Message:
segv--

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_utils.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -3 -r1.44 -r1.45
--- e_utils.c   31 May 2006 16:31:51 -0000      1.44
+++ e_utils.c   9 Jun 2006 12:53:27 -0000       1.45
@@ -130,6 +130,8 @@
 EAPI int
 e_util_glob_match(const char *str, const char *glob)
 {
+   if (!str || !glob)
+     return 0;
    if (glob[0] == 0)
      {
        if (str[0] == 0) return 1;




_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs