git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00aaf9a
)
s3:util: let parent_dirname() correctly return toplevel filenames
author
Stefan Metzmacher
<metze@samba.org>
Tue, 30 Jun 2009 14:03:11 +0000
(16:03 +0200)
committer
Karolin Seeger
<kseeger@samba.org>
Fri, 3 Jul 2009 07:52:38 +0000
(09:52 +0200)
metze
(cherry picked from commit
a14efbadd53ac9678d75e6029f947d63cfa0c4e5
)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
This addresses bug #6526.
source/lib/util.c
patch
|
blob
|
history
diff --git
a/source/lib/util.c
b/source/lib/util.c
index 002c14a66b0d8b69a49a1bc8a11426c820f4a942..e3a346b06d1aef8bee34cda4c7f446e16493a406 100644
(file)
--- 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;
}