[SCM] Samba Shared Repository - branch v3-2-test updated -
initial-v3-2-test-2703-gf18ba6c
Günther Deschner
gd at samba.org
Mon Mar 3 08:46:24 GMT 2008
The branch, v3-2-test has been updated
via f18ba6c877fa934d19ecc6a65be74b8bad7ee7e4 (commit)
from d0ab519652c3036725b0cea1b4930fc759b4d9fe (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit f18ba6c877fa934d19ecc6a65be74b8bad7ee7e4
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 3 09:43:10 2008 +0100
Fix gp_find_file() which broke during the pstring removal.
Guenther
-----------------------------------------------------------------------
Summary of changes:
source/libgpo/gpo_util.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/libgpo/gpo_util.c b/source/libgpo/gpo_util.c
index f2d7c69..f41bbc1 100644
--- a/source/libgpo/gpo_util.c
+++ b/source/libgpo/gpo_util.c
@@ -738,8 +738,11 @@ NTSTATUS gp_find_file(TALLOC_CTX *mem_ctx,
return NT_STATUS_OK;
}
- tmp = talloc_asprintf_strupper_m(mem_ctx, "%s/%s/%s", filename, path,
- suffix);
+ path = talloc_strdup_upper(mem_ctx, path);
+ NT_STATUS_HAVE_NO_MEMORY(path);
+
+ tmp = talloc_asprintf(mem_ctx, "%s/%s/%s", filename,
+ path, suffix);
NT_STATUS_HAVE_NO_MEMORY(tmp);
if (sys_stat(tmp, &sbuf) == 0) {
--
Samba Shared Repository
More information about the samba-cvs
mailing list