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
Simplify a few sort spec conversions
[yaz-moved-to-github.git]
/
src
/
match_glob.c
diff --git
a/src/match_glob.c
b/src/match_glob.c
index
8fe4a2e
..
cf71f56
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-2011 Index Data
+ * Copyright (C) 1995-2012 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;