mirror of git://sourceware.org/git/glibc.git
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>.
This commit is contained in:
parent
13193a3837
commit
b71f84a07f
|
@ -1,5 +1,11 @@
|
||||||
2000-12-13 Andreas Jaeger <aj@suse.de>
|
2000-12-13 Andreas Jaeger <aj@suse.de>
|
||||||
|
|
||||||
|
* 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>.
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
|
* sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
|
||||||
Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
|
Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
|
||||||
|
|
||||||
|
|
|
@ -688,8 +688,9 @@ mbstouwcs (const char *s)
|
||||||
wchar_t *wcp = result;
|
wchar_t *wcp = result;
|
||||||
wchar_t tmp[1];
|
wchar_t tmp[1];
|
||||||
mbstate_t state;
|
mbstate_t state;
|
||||||
memset (&state, '\0', sizeof (state));
|
|
||||||
size_t nbytes;
|
size_t nbytes;
|
||||||
|
|
||||||
|
memset (&state, '\0', sizeof (state));
|
||||||
while ((nbytes = mbrtowc (tmp, s, len, &state)) > 0)
|
while ((nbytes = mbrtowc (tmp, s, len, &state)) > 0)
|
||||||
@{
|
@{
|
||||||
if (nbytes >= (size_t) -2)
|
if (nbytes >= (size_t) -2)
|
||||||
|
|
|
@ -1669,7 +1669,7 @@ of the environment variable. It can split the value is different pieces
|
||||||
and by leaving out the only or the other part it can construct new
|
and by leaving out the only or the other part it can construct new
|
||||||
values. This happens of course in a predictable way. To understand
|
values. This happens of course in a predictable way. To understand
|
||||||
this one must know the format of the environment variable value. There
|
this one must know the format of the environment variable value. There
|
||||||
are to more or less standardized forms:
|
are two more or less standardized forms:
|
||||||
|
|
||||||
@table @emph
|
@table @emph
|
||||||
@item X/Open Format
|
@item X/Open Format
|
||||||
|
|
Loading…
Reference in New Issue