Dolda2000 GitWeb
/
doldaconnect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb3900f
)
Don't try to set reqstat XAs on non-absolute pathnames.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Sat, 18 Oct 2008 17:25:17 +0000
(19:25 +0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Sat, 18 Oct 2008 17:25:17 +0000
(19:25 +0200)
daemon/reqstat.c
patch
|
blob
|
blame
|
history
diff --git
a/daemon/reqstat.c
b/daemon/reqstat.c
index
d3d849f
..
1834952
100644
(file)
--- a/
daemon/reqstat.c
+++ b/
daemon/reqstat.c
@@
-73,6
+73,8
@@
void xainc(wchar_t *file, char *an, off_t inc)
off_t val;
char *fn;
+ if(file[0] != L'/')
+ return;
if((fn = icswcstombs(file, NULL, NULL)) == NULL) {
flog(LOG_WARNING, "could not convert filename %ls into local charset: %s", file, strerror(errno));
return;