[SCM] Samba Shared Repository - branch master updated - 0e62bb39de93433dfeb7f822ec1026da7ed643f4

Jeremy Allison jra at samba.org
Tue Nov 18 20:46:42 GMT 2008


The branch, master has been updated
       via  0e62bb39de93433dfeb7f822ec1026da7ed643f4 (commit)
      from  69debd45e56428aceaac607994e61ecd66a73daa (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 0e62bb39de93433dfeb7f822ec1026da7ed643f4
Author: Dina Fine <dina at exanet.com>
Date:   Tue Nov 18 12:45:42 2008 -0800

    Fix bug #5908 - Samba 3.0.32 - internal change notify on share directory fails"

-----------------------------------------------------------------------

Summary of changes:
 source3/smbd/notify.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/notify.c b/source3/smbd/notify.c
index 5a51765..2d0811b 100644
--- a/source3/smbd/notify.c
+++ b/source3/smbd/notify.c
@@ -339,6 +339,9 @@ void notify_fname(connection_struct *conn, uint32 action, uint32 filter,
 {
 	char *fullpath;
 
+	if (path[0] == '.' && path[1] == '/') {
+		path += 2;
+	}
 	if (asprintf(&fullpath, "%s/%s", conn->connectpath, path) == -1) {
 		DEBUG(0, ("asprintf failed\n"));
 		return;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list