summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-04-05 08:50:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:00:17 -0500
commit22c1c78b1d3c888508df42ae518fcb9711cec45d (patch)
treeb4ca4c91fb180f6f40a090934e66f394dc474016
parent27e7c687634aeb2a1b8d91e5cba39e9dfd0b5b31 (diff)
downloadsamba-22c1c78b1d3c888508df42ae518fcb9711cec45d.tar.gz
samba-22c1c78b1d3c888508df42ae518fcb9711cec45d.tar.bz2
samba-22c1c78b1d3c888508df42ae518fcb9711cec45d.zip
r14924: when handling recursive change notify, the client expects a windows
path name back (This used to be commit ceb85d12f7efb002af7a271f999e22f94b8536fb)
-rw-r--r--source4/ntvfs/posix/pvfs_notify.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/ntvfs/posix/pvfs_notify.c b/source4/ntvfs/posix/pvfs_notify.c
index d2fdbfc49a..2733c59f8c 100644
--- 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++;
/*