The branch, v3-2-test has been updated
       via  a3c79bd8d09262257cf8c025753332fb639fc09e (commit)
      from  aa26b0aa3d913b09ead97c2c0bbfade0dddcd251 (commit)

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


- Log -----------------------------------------------------------------
commit a3c79bd8d09262257cf8c025753332fb639fc09e
Author: Dina Fine <[EMAIL PROTECTED]>
Date:   Tue Nov 18 12:44:19 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 eb3384d..55a5e69 100644
--- a/source/smbd/notify.c
+++ b/source/smbd/notify.c
@@ -359,6 +359,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

Reply via email to