[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
more tiny doc fixes
From: |
Martin Buchholz |
Subject: |
more tiny doc fixes |
Date: |
Wed, 13 Dec 2000 18:36:36 +0900 (JST) |
This message is in the public domain.
I have not actually tested the sample code I fixed below.
Index: manual/charset.texi
===================================================================
RCS file: /cvs/libc/manual/charset.texi,v
retrieving revision 1.25
diff -u -w -r1.25 charset.texi
--- manual/charset.texi 2000/10/26 02:35:39 1.25
+++ manual/charset.texi 2000/12/13 09:34:39
@@ -688,8 +688,8 @@
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)
Index: manual/message.texi
===================================================================
RCS file: /cvs/libc/manual/message.texi,v
retrieving revision 2.19
diff -u -w -r2.19 message.texi
--- manual/message.texi 2000/10/26 02:36:03 2.19
+++ manual/message.texi 2000/12/13 09:34:40
@@ -1669,7 +1669,7 @@
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
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
@item X/Open Format
- more tiny doc fixes,
Martin Buchholz <=