aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-02-11 20:15:01 +0000
committerUlrich Drepper <drepper@redhat.com>2000-02-11 20:15:01 +0000
commit6941c42ad86ca791a8e8c9645a52f180a144ad20 (patch)
tree80bccff9de83d3c0bdf85afbf1452516d47e02a7
parent763125d1c74fe228a04cee4f76bf43f846065d4e (diff)
downloadglibc-6941c42ad86ca791a8e8c9645a52f180a144ad20.tar
glibc-6941c42ad86ca791a8e8c9645a52f180a144ad20.tar.gz
glibc-6941c42ad86ca791a8e8c9645a52f180a144ad20.tar.bz2
glibc-6941c42ad86ca791a8e8c9645a52f180a144ad20.zip
Update.
* manual/locale.texi: Update to reflect change.
-rw-r--r--ChangeLog1
-rw-r--r--manual/locale.texi6
2 files changed, 4 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 94680b6f15..50b52e4c1d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
* locale/nl_langinfo.c: Correct return value in error case. Don't
set errno (PR libc/1582).
+ * manual/locale.texi: Update to reflect change.
2000-02-02 Andreas Schwab <schwab@suse.de>
diff --git a/manual/locale.texi b/manual/locale.texi
index 9d1dd8cf21..75564d9f27 100644
--- a/manual/locale.texi
+++ b/manual/locale.texi
@@ -184,7 +184,7 @@ to use for all purposes except as overridden by the variables above.
@vindex LANGUAGE
When developing the message translation functions it was felt that the
functionality provided by the variables above is not sufficient. For
-example, it should be possible to specify more than one locale name.
+example, it should be possible to specify more than one locale name.
Take a Swedish user who better speaks German than English, and a program
whose messages are output in English by default. It should be possible
to specify that the first choice of language is Swedish, the second
@@ -878,8 +878,8 @@ appropriate category, @code{nl_langinfo} returns the information from the
@code{"C"} locale. It is therefore possible to use this function as
shown in the example below.
-If the argument @var{item} is not valid, the global variable @var{errno}
-is set to @code{EINVAL} and a @code{NULL} pointer is returned.
+If the argument @var{item} is not valid, a pointer to an empty string is
+returned.
@end deftypefun
An example of @code{nl_langinfo} usage is a function which has to