svn commit: samba r14924 - in branches/SAMBA_4_0/source/ntvfs/posix: .

tridge at samba.org tridge at samba.org
Wed Apr 5 08:50:34 GMT 2006


Author: tridge
Date: 2006-04-05 08:50:33 +0000 (Wed, 05 Apr 2006)
New Revision: 14924

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14924

Log:

when handling recursive change notify, the client expects a windows
path name back

Modified:
   branches/SAMBA_4_0/source/ntvfs/posix/pvfs_notify.c


Changeset:
Modified: branches/SAMBA_4_0/source/ntvfs/posix/pvfs_notify.c
===================================================================
--- branches/SAMBA_4_0/source/ntvfs/posix/pvfs_notify.c	2006-04-05 07:44:14 UTC (rev 14923)
+++ branches/SAMBA_4_0/source/ntvfs/posix/pvfs_notify.c	2006-04-05 08:50:33 UTC (rev 14924)
@@ -113,6 +113,7 @@
 	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++;
 
 	/*



More information about the samba-cvs mailing list