From 4a11bb6c20ff8285a95779dcdeb2c594940a98ed Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 9 Mar 2008 22:12:35 +0100 Subject: [PATCH] Fix comments in last commit. --- lib/fflush.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/fflush.c b/lib/fflush.c index dfc1a74abd..4d2abc9cbc 100644 --- a/lib/fflush.c +++ b/lib/fflush.c @@ -65,11 +65,11 @@ rpl_fflush (FILE *stream) 1) The file position indicator is incremented by fgetc() and decremented by ungetc(): + "... the fgetc() function shall ... advance the associated file + position indicator for the stream ..." + "The file-position indicator is decremented by each successful call to ungetc()..." - - "... the fgetc() function shall ... advance the associated file - position indicator for the stream ..." 2) says: "The value of the file-position indicator for the stream after reading or discarding all pushed-back bytes shall be the same -- 2.30.2