git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5265ea
)
s4: add talloc_strdup_upper.
author
Günther Deschner
<gd@samba.org>
Tue, 23 Sep 2008 06:32:42 +0000
(08:32 +0200)
committer
Günther Deschner
<gd@samba.org>
Tue, 23 Sep 2008 07:37:23 +0000
(09:37 +0200)
Guenther
source4/lib/charset/util_unistr.c
patch
|
blob
|
history
diff --git
a/source4/lib/charset/util_unistr.c
b/source4/lib/charset/util_unistr.c
index 09ec7b04716d1db271fd906f6cf94ab53e869a3e..a8ff88423a27adce45101501ea1553bf479a7df0 100644
(file)
--- a/
source4/lib/charset/util_unistr.c
+++ b/
source4/lib/charset/util_unistr.c
@@
-570,7
+570,13
@@
_PUBLIC_ char *strupper_talloc(TALLOC_CTX *ctx, const char *src)
return strupper_talloc_n(ctx, src, src?strlen(src):0);
}
-
+/**
+ talloc_strdup() a unix string to upper case.
+**/
+_PUBLIC_ char *talloc_strdup_upper(TALLOC_CTX *ctx, const char *src)
+{
+ return strupper_talloc(ctx, src);
+}
/**
Convert a string to lower case.