X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fmatch_glob.c;h=55e5367f5548c215bcce08e92f6072052c2b1b65;hp=564feb6c189af14fdb4a8f9f7bd20e7ba023cc2d;hb=05193e78a2553c93a61da19a39e1276b1a509bac;hpb=379504a233e3e2cc85bca1e7b6d864f1395aec7c diff --git a/src/match_glob.c b/src/match_glob.c index 564feb6..55e5367 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-2009 Index Data + * Copyright (C) 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;