X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Ffile_glob.c;h=8560504fb3699073763eb3ec9ac5f689285b2cd0;hp=b087cf0d4f48ecf4caf9fadd9aab7de4ecfbdcce;hb=5242cb5a8634bfa38b9333ff7f903e718ac6e292;hpb=7b27a8f378d73a86e8ff5e4fa3285117362481c5 diff --git a/src/file_glob.c b/src/file_glob.c index b087cf0..8560504 100644 --- a/src/file_glob.c +++ b/src/file_glob.c @@ -3,7 +3,7 @@ * See the file LICENSE for details. */ -/** \file +/** \file \brief File globbing (ala POSIX glob, but simpler) */ #if HAVE_CONFIG_H @@ -48,7 +48,7 @@ static void glob_r(yaz_glob_res_t res, const char *pattern, size_t off, is_pattern = 1; i++; } - + if (!is_pattern && pattern[i]) /* no pattern and directory part */ { i++; /* skip dir sep */