From: Bruno Haible Date: Sun, 9 Mar 2008 21:12:35 +0000 (+0100) Subject: Fix comments in last commit. X-Git-Tag: v0.1~7677 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=4a11bb6c20ff8285a95779dcdeb2c594940a98ed;p=gnulib.git Fix comments in last commit. --- diff --git a/lib/fflush.c b/lib/fflush.c index dfc1a74ab..4d2abc9cb 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