changeset 9776:ca038bcad2a5

Fix comments in last commit.
author Bruno Haible <bruno@clisp.org>
date Sun, 09 Mar 2008 22:12:35 +0100
parents 257830220aa4
children 631ce3b6e822
files lib/fflush.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lib/fflush.c
+++ b/lib/fflush.c
@@ -65,11 +65,11 @@
      1) The file position indicator is incremented by fgetc() and decremented
         by ungetc():
         <http://www.opengroup.org/susv3/functions/fgetc.html>
+          "... the fgetc() function shall ... advance the associated file
+           position indicator for the stream ..."
+        <http://www.opengroup.org/susv3/functions/ungetc.html>
           "The file-position indicator is decremented by each successful
            call to ungetc()..."
-        <http://www.opengroup.org/susv3/functions/ungetc.html>
-          "... the fgetc() function shall ... advance the associated file
-        position indicator for the stream ..."
      2) <http://www.opengroup.org/susv3/functions/ungetc.html> says:
           "The value of the file-position indicator for the stream after
            reading or discarding all pushed-back bytes shall be the same