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
Fix XML config GFS do not fail if port is in use YAZ-709
[yaz-moved-to-github.git]
/
src
/
match_glob.c
diff --git
a/src/match_glob.c
b/src/match_glob.c
index
7700f65
..
3f42843
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-2008 Index Data
+ * Copyright (C) 1995-2013 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;
@@
-40,6
+40,7
@@
int yaz_match_glob(const char *glob, const char *text)
/*
* Local variables:
* c-basic-offset: 4
/*
* Local variables:
* c-basic-offset: 4
+ * c-file-style: "Stroustrup"
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab