From 22c1c78b1d3c888508df42ae518fcb9711cec45d Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 5 Apr 2006 08:50:33 +0000 Subject: r14924: when handling recursive change notify, the client expects a windows path name back (This used to be commit ceb85d12f7efb002af7a271f999e22f94b8536fb) --- source4/ntvfs/posix/pvfs_notify.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source4') 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++; /* -- cgit