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
Fix: usage of wrong xml node. Fix string compare. Cosmetic: add newline after xml...
[yaz-moved-to-github.git]
/
src
/
tpath.c
diff --git
a/src/tpath.c
b/src/tpath.c
index
b802c98
..
d020e76
100644
(file)
--- a/
src/tpath.c
+++ b/
src/tpath.c
@@
-76,6
+76,8
@@
char *yaz_filepath_resolve(const char *fname, const char *path,
{
if (path && *path == '\0')
path = 0;
+ if (strchr("/\\", *fname))
+ path = 0;
for (;;)
{
struct stat stat_buf;