diff --git a/newlib/ChangeLog b/newlib/ChangeLog index f5b173765..7f8b5c713 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,10 @@ +2015-06-23 Jon Turney + + * libc/locale/locale.c: Fix mismatched parentheses in + documentation. + * libc/locale/locale.tex: Ditto. + * libc/stdio/fgetwc.c: Ditto. + 2015-06-23 Jon Turney * libc/stdlib/efgcvt.c: Fix typo-ed function names in diff --git a/newlib/libc/locale/locale.c b/newlib/libc/locale/locale.c index 8e2b121bc..77b53a99d 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 <> and <> handle characters diff --git a/newlib/libc/locale/locale.tex b/newlib/libc/locale/locale.tex index 20dc5d2bc..eee7d77cb 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 e89404be8..d6de4b6cb 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 <>), unless there is no more data, +The next wide character cast to <>, unless there is no more data, or the host system reports a read error; in either of these situations, <> and <> return <>.