qemacs-commit
[Top][All Lists]
Advanced

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

[Qemacs-commit] qemacs util.c


From: Charlie Gordon
Subject: [Qemacs-commit] qemacs util.c
Date: Thu, 02 Jan 2014 10:12:59 +0000

CVSROOT:        /sources/qemacs
Module name:    qemacs
Changes by:     Charlie Gordon <chqrlie>        14/01/02 10:12:59

Modified files:
        .              : util.c 

Log message:
        allow NULL extlist in match_extension

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemacs/util.c?cvsroot=qemacs&r1=1.56&r2=1.57

Patches:
Index: util.c
===================================================================
RCS file: /sources/qemacs/qemacs/util.c,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -b -r1.56 -r1.57
--- util.c      23 Dec 2013 23:39:02 -0000      1.56
+++ util.c      2 Jan 2014 10:12:59 -0000       1.57
@@ -356,6 +356,9 @@
     int len;
     const char *p, *q;
 
+    if (!extlist)
+        return 0;
+
     while (*base == '.')
         base++;
     len = strlen(base);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]