This is the mail archive of the newlib-cvs@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[newlib-cygwin] Fix mismatched parentheses in documentation.


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=958c953416d8df84e5cccc06e158c1f769f3ad51

commit 958c953416d8df84e5cccc06e158c1f769f3ad51
Author: Jon TURNEY <jon.turney@dronecode.org.uk>
Date:   Thu Jun 18 13:38:12 2015 +0100

    Fix mismatched parentheses in documentation.
    
    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>

Diff:
---
 newlib/ChangeLog              | 7 +++++++
 newlib/libc/locale/locale.c   | 2 +-
 newlib/libc/locale/locale.tex | 2 +-
 newlib/libc/stdio/fgetwc.c    | 2 +-
 4 files changed, 10 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..eee7d77 100644
--- a/newlib/libc/locale/locale.tex
+++ b/newlib/libc/locale/locale.tex
@@ -9,7 +9,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>>.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]