projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
GFS: scan handler gets extra_args from request
[yaz-moved-to-github.git]
/
src
/
match_glob.c
diff --git
a/src/match_glob.c
b/src/match_glob.c
index
43f78cc
..
3f42843
100644
(file)
--- a/
src/match_glob.c
+++ b/
src/match_glob.c
@@
-1,5
+1,5
@@
/* This file is part of the YAZ toolkit.
/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2010 Index Data
+ * Copyright (C) 1995-2013 Index Data
* See the file LICENSE for details.
*/
/**
* See the file LICENSE for details.
*/
/**
@@
-12,7
+12,6
@@
#include <assert.h>
#include <stdlib.h>
#include <assert.h>
#include <stdlib.h>
-#include <ctype.h>
#include <string.h>
#include <yaz/xmalloc.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] == '*')
{
return *text == '\0';
if (glob[0] == '*')
{
- do
+ do
{
if (yaz_match_glob(glob+1, text))
return 1;
{
if (yaz_match_glob(glob+1, text))
return 1;