X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fmatch_glob.c;h=3f42843ac9ba5c3dc405c514566e3806169cba9b;hp=f498139ebc81a7f6635d2cc519f18f6403feee9d;hb=6ee0d7c0404834a0a59547c3bd7e2686f838ce37;hpb=88d3bedf772316f87e1996f655ccf8d1e2589755 diff --git a/src/match_glob.c b/src/match_glob.c index f498139..3f42843 100644 --- a/src/match_glob.c +++ b/src/match_glob.c @@ -1,17 +1,17 @@ /* 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. */ - /** * \file * \brief Glob expression match */ - +#if HAVE_CONFIG_H +#include +#endif #include #include -#include #include #include @@ -24,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;