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

Karolin Seeger kseeger at samba.org
Fri Jul 3 07:51:44 GMT 2009


The branch, v3-3-test has been updated
       via  58f449318dd07240c60513559cf682aa243d3e4c (commit)
      from  5b03af33ad45368bea7cf6cabc91f62e2503de99 (commit)

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


- Log -----------------------------------------------------------------
commit 58f449318dd07240c60513559cf682aa243d3e4c
Author: Stefan Metzmacher <metze at 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 <metze at 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 0ea7bf6..9a990d4 100644
--- a/source/lib/util.c
+++ b/source/lib/util.c
@@ -2685,7 +2685,7 @@ bool parent_dirname_talloc(TALLOC_CTX *mem_ctx, const char *dir,
 			return False;
 		}
 		if (name) {
-			*name = "";
+			*name = dir;
 		}
 		return True;
 	}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list