projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7220da7
)
2003-07-21 Art Haas <ahaas@airmail.net>
author
Roland McGrath
<roland@gnu.org>
Tue, 22 Jul 2003 20:05:55 +0000
(20:05 +0000)
committer
Roland McGrath
<roland@gnu.org>
Tue, 22 Jul 2003 20:05:55 +0000
(20:05 +0000)
* manual/charset.texi (Converting a Character): Fix example code so a
valid pointer is returned.
manual/charset.texi
patch
|
blob
|
history
diff --git
a/manual/charset.texi
b/manual/charset.texi
index 2ebde7d2758952bdd0a38139b0e0fe56f5575ed6..5063246d61620605eb7808a350406fa76a5ef46e 100644
(file)
--- a/
manual/charset.texi
+++ b/
manual/charset.texi
@@
-696,7
+696,7
@@
mbstouwcs (const char *s)
if (nbytes >= (size_t) -2)
/* Invalid input string. */
return NULL;
- *
result
++ = towupper (tmp[0]);
+ *
wcp
++ = towupper (tmp[0]);
len -= nbytes;
s += nbytes;
@}