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
Version 5.9.0
[yaz-moved-to-github.git]
/
src
/
match_glob.c
diff --git
a/src/match_glob.c
b/src/match_glob.c
index
564feb6
..
55e5367
100644
(file)
--- a/
src/match_glob.c
+++ b/
src/match_glob.c
@@
-1,17
+1,17
@@
/* This file is part of the YAZ toolkit.
/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2009 Index Data
+ * Copyright (C) Index Data
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
-
/**
* \file
* \brief Glob expression match
*/
/**
* \file
* \brief Glob expression match
*/
-
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#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>
@@
-24,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;