diff options
author | Roland McGrath <roland@redhat.com> | 2010-07-29 10:49:42 -0700 |
---|---|---|
committer | Andreas Schwab <schwab@redhat.com> | 2010-12-01 15:35:10 +0100 |
commit | e7ce843098311452463e2f2faa6be485551d3b87 (patch) | |
tree | 1f36791545a031b14e12d73e7766cde789af2f13 | |
parent | 351b71fe632c6d4ff62bceb3be16405163021dcd (diff) | |
download | glibc-e7ce843098311452463e2f2faa6be485551d3b87.tar.gz glibc-e7ce843098311452463e2f2faa6be485551d3b87.tar.xz glibc-e7ce843098311452463e2f2faa6be485551d3b87.zip |
BZ 11856: fix manual nit
(cherry picked from commit 48cbc0d6d03b0591280489ddb6a2df60b850e57d)
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | manual/locale.texi | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 8af56df23f..833e55e1a9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-07-29 Roland McGrath <roland@redhat.com> + + [BZ 11856] + * manual/locale.texi (Yes-or-No Questions): Fix example code. + 2010-07-27 Andreas Schwab <schwab@redhat.com> * manual/memory.texi (Malloc Tunable Parameters): Document diff --git a/manual/locale.texi b/manual/locale.texi index e3e0563a36..d1a50cb0f4 100644 --- a/manual/locale.texi +++ b/manual/locale.texi @@ -1210,7 +1210,7 @@ This function would normally be used like this: /* @r{Prepare the @code{getline} call.} */ line = NULL; len = 0; - while (getline (&line, &len, stdout) >= 0) + while (getline (&line, &len, stdin) >= 0) @{ /* @r{Check the response.} */ int res = rpmatch (line); |