[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-4389-gfb83850

Jeremy Allison jra at samba.org
Tue Nov 18 20:45:34 GMT 2008


The branch, v3-3-test has been updated
       via  fb838504e4626d2bbb37a48591e5965d76c44f72 (commit)
      from  f9ecc1971b78b7ffc2d5c1a47ff7265916003bfd (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test


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

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

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

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


Changeset truncated at 500 lines:

diff --git a/source/smbd/notify.c b/source/smbd/notify.c
index 139dfe7..e79cf56 100644
--- a/source/smbd/notify.c
+++ b/source/smbd/notify.c
@@ -365,6 +365,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