This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
[PATCH 08/11] Fix mismatched parentheses in documentation.
- From: Jon TURNEY <jon dot turney at dronecode dot org dot uk>
- To: newlib at sourceware dot org
- Cc: Jon TURNEY <jon dot turney at dronecode dot org dot uk>
- Date: Tue, 23 Jun 2015 20:49:21 +0100
- Subject: [PATCH 08/11] Fix mismatched parentheses in documentation.
- Authentication-results: sourceware.org; auth=none
- References: <1435088964-5096-1-git-send-email-jon dot turney at dronecode dot org dot uk>
2015-06-23 Jon Turney <jon.turney@dronecode.org.uk>
* libc/locale/locale.c: Fix mismatched parentheses in
documentation.
* libc/locale/locale.tex: Ditto.
* libc/stdio/fgetwc.c: Ditto.
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
---
newlib/ChangeLog | 7 +++++++
newlib/libc/locale/locale.c | 2 +-
newlib/libc/locale/locale.tex | 3 ++-
newlib/libc/stdio/fgetwc.c | 2 +-
4 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index f5b1737..7f8b5c7 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,5 +1,12 @@
2015-06-23 Jon Turney <jon.turney@dronecode.org.uk>
+ * libc/locale/locale.c: Fix mismatched parentheses in
+ documentation.
+ * libc/locale/locale.tex: Ditto.
+ * libc/stdio/fgetwc.c: Ditto.
+
+2015-06-23 Jon Turney <jon.turney@dronecode.org.uk>
+
* libc/stdlib/efgcvt.c: Fix typo-ed function names in
documentation.
* libc/stdlib/stdlib.tex: Fix function name in menu to match.
diff --git a/newlib/libc/locale/locale.c b/newlib/libc/locale/locale.c
index 8e2b121..77b53a9 100644
--- a/newlib/libc/locale/locale.c
+++ b/newlib/libc/locale/locale.c
@@ -88,7 +88,7 @@ Cygwin additionally supports locales from the file
/usr/share/locale/locale.alias.
(<<"">> is also accepted; if given, the settings are read from the
-corresponding LC_* environment variables and $LANG according to POSIX rules.
+corresponding LC_* environment variables and $LANG according to POSIX rules.)
This implementation also supports the modifier <<"cjknarrow">>, which
affects how the functions <<wcwidth>> and <<wcswidth>> handle characters
diff --git a/newlib/libc/locale/locale.tex b/newlib/libc/locale/locale.tex
index 20dc5d2..24f221e 100644
--- a/newlib/libc/locale/locale.tex
+++ b/newlib/libc/locale/locale.tex
@@ -1,3 +1,4 @@
+
@node Locale
@chapter Locale (@file{locale.h})
@@ -9,7 +10,7 @@ one defined in the ANSI C standard.
This is a minimal implementation, supporting only the required @code{"C"}
value for locale; strings representing other locales are not
honored. (@code{""} is also accepted; it represents the default locale
-for an implementation, here equivalent to @code{"C"}.
+for an implementation, here equivalent to @code{"C"}).
@file{locale.h} defines the structure @code{lconv} to collect the
diff --git a/newlib/libc/stdio/fgetwc.c b/newlib/libc/stdio/fgetwc.c
index e89404b..d6de4b6 100644
--- a/newlib/libc/stdio/fgetwc.c
+++ b/newlib/libc/stdio/fgetwc.c
@@ -150,7 +150,7 @@ are simply reentrant versions of the above functions that are passed the
additional reentrant structure pointer argument: <[ptr]>.
RETURNS
-The next wide character cast to <<wint_t>>), unless there is no more data,
+The next wide character cast to <<wint_t>>, unless there is no more data,
or the host system reports a read error; in either of these situations,
<<fgetwc>> and <<getwc>> return <<WEOF>>.
--
2.1.4