git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27e7c68
)
r14924: when handling recursive change notify, the client expects a windows
author
Andrew Tridgell
<tridge@samba.org>
Wed, 5 Apr 2006 08:50:33 +0000
(08:50 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:00:17 +0000
(14:00 -0500)
path name back
(This used to be commit
ceb85d12f7efb002af7a271f999e22f94b8536fb
)
source4/ntvfs/posix/pvfs_notify.c
patch
|
blob
|
history
diff --git
a/source4/ntvfs/posix/pvfs_notify.c
b/source4/ntvfs/posix/pvfs_notify.c
index d2fdbfc49aea576095f925a0c80f2c97d2b4d919..2733c59f8c96a1bfe2200fcb018242e28b3dd0a3 100644
(file)
--- a/
source4/ntvfs/posix/pvfs_notify.c
+++ b/
source4/ntvfs/posix/pvfs_notify.c
@@
-113,6
+113,7
@@
static void pvfs_notify_callback(void *private, const struct notify_event *ev)
n->changes = talloc_realloc(n, n->changes, struct notify_changes, n->num_changes+1);
n->changes[n->num_changes].action = ev->action;
n->changes[n->num_changes].name.s = talloc_strdup(n->changes, ev->path);
+ string_replace(n->changes[n->num_changes].name.s, '/', '\\');
n->num_changes++;
/*