diff options
author | Andreas Jaeger <aj@suse.de> | 2000-12-13 10:56:28 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2000-12-13 10:56:28 +0000 |
commit | b71f84a07f7210c98feebcc06bbddde07a83978f (patch) | |
tree | fb9a3650bd683fb5902e251af163aad93411d0e7 /manual/charset.texi | |
parent | 13193a3837bad23c0535f8bfc4cdedb96b70625f (diff) | |
download | glibc-b71f84a07f7210c98feebcc06bbddde07a83978f.tar.gz |
Update.
* manual/message.texi (Using gettextized software): Fix typo.
* manual/charset.texi (Converting a Character): Fix mbstouwcs
program to compile.
Patch by Martin Buchholz <martin@xemacs.org>.
Diffstat (limited to 'manual/charset.texi')
-rw-r--r-- | manual/charset.texi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/manual/charset.texi b/manual/charset.texi index 227dcc16ea..aaf379dd2b 100644 --- a/manual/charset.texi +++ b/manual/charset.texi @@ -688,8 +688,9 @@ mbstouwcs (const char *s) wchar_t *wcp = result; wchar_t tmp[1]; mbstate_t state; - memset (&state, '\0', sizeof (state)); size_t nbytes; + + memset (&state, '\0', sizeof (state)); while ((nbytes = mbrtowc (tmp, s, len, &state)) > 0) @{ if (nbytes >= (size_t) -2) |