Skip to content

Commit

Permalink
BZ 11856: fix manual nit
Browse files Browse the repository at this point in the history
  • Loading branch information
Roland McGrath committed Jul 29, 2010
1 parent 02b7ace commit 48cbc0d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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 Ulrich Drepper <drepper@redhat.com>

* sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
Expand Down
2 changes: 1 addition & 1 deletion manual/locale.texi
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 48cbc0d

Please sign in to comment.