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 4.2.40
[yaz-moved-to-github.git]
/
src
/
file_glob.c
diff --git
a/src/file_glob.c
b/src/file_glob.c
index
b087cf0
..
8560504
100644
(file)
--- a/
src/file_glob.c
+++ b/
src/file_glob.c
@@
-3,7
+3,7
@@
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
-/** \file
+/** \file
\brief File globbing (ala POSIX glob, but simpler)
*/
#if HAVE_CONFIG_H
\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++;
}
is_pattern = 1;
i++;
}
-
+
if (!is_pattern && pattern[i]) /* no pattern and directory part */
{
i++; /* skip dir sep */
if (!is_pattern && pattern[i]) /* no pattern and directory part */
{
i++; /* skip dir sep */