Add check for integer overflow in odr_write YAZ-816
[yaz-moved-to-github.git] / src / match_glob.c
index 8fe4a2e..55e5367 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2011 Index Data
+ * Copyright (C) Index Data
  * See the file LICENSE for details.
  */
 /**
@@ -12,7 +12,6 @@
 
 #include <assert.h>
 #include <stdlib.h>
-#include <ctype.h>
 #include <string.h>
 
 #include <yaz/xmalloc.h>
@@ -25,7 +24,7 @@ int yaz_match_glob(const char *glob, const char *text)
         return *text == '\0';
     if (glob[0] == '*')
     {
-        do 
+        do
         {
             if (yaz_match_glob(glob+1, text))
                 return 1;