The branch, v3-2-test has been updated
       via  92bb02adbc808ed3180ab66b45fb717c9dad03b4 (commit)
      from  00aaf9a46a202d7cd0a8cd3b8e2f9d95238a761a (commit)

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


- Log -----------------------------------------------------------------
commit 92bb02adbc808ed3180ab66b45fb717c9dad03b4
Author: Stefan Metzmacher <me...@samba.org>
Date:   Tue Jun 30 16:03:11 2009 +0200

    s3:util: let parent_dirname() correctly return toplevel filenames
    
    metze
    (cherry picked from commit a14efbadd53ac9678d75e6029f947d63cfa0c4e5)
    
    Signed-off-by: Stefan Metzmacher <me...@samba.org>
    
    This addresses bug #6526.

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

Summary of changes:
 source/lib/util.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/lib/util.c b/source/lib/util.c
index 002c14a..e3a346b 100644
--- a/source/lib/util.c
+++ b/source/lib/util.c
@@ -2669,7 +2669,7 @@ bool parent_dirname_talloc(TALLOC_CTX *mem_ctx, const 
char *dir,
                        return False;
                }
                if (name) {
-                       *name = "";
+                       *name = dir;
                }
                return True;
        }


-- 
Samba Shared Repository

Reply via email to