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
Merge branch 'master' into normal_cql
[yaz-moved-to-github.git]
/
src
/
file_glob.c
diff --git
a/src/file_glob.c
b/src/file_glob.c
index
57b51ac
..
fd6ae0b
100644
(file)
--- a/
src/file_glob.c
+++ b/
src/file_glob.c
@@
-1,9
+1,9
@@
/* This file is part of the YAZ toolkit.
/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2011 Index Data
+ * Copyright (C) 1995-2013 Index Data
* 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 */