From: Roland McGrath Date: Thu, 29 Jul 2010 17:49:42 +0000 (-0700) Subject: BZ 11856: fix manual nit X-Git-Tag: glibc-2.11.3~39 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=720be42915b3f5ae735f9f044b64285a2e34d33a;p=thirdparty%2Fglibc.git BZ 11856: fix manual nit (cherry picked from commit 48cbc0d6d03b0591280489ddb6a2df60b850e57d) --- diff --git a/ChangeLog b/ChangeLog index ab5d2feae07..ea5e7d2789b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-07-29 Roland McGrath + + [BZ 11856] + * manual/locale.texi (Yes-or-No Questions): Fix example code. + 2010-07-27 Andreas Schwab * manual/memory.texi (Malloc Tunable Parameters): Document diff --git a/manual/locale.texi b/manual/locale.texi index e3e0563a36d..d1a50cb0f4f 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);