[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to m4/modules/m4.c,v
From: |
Eric Blake |
Subject: |
Changes to m4/modules/m4.c,v |
Date: |
Thu, 24 May 2007 12:54:14 +0000 |
CVSROOT: /sources/m4
Module name: m4
Changes by: Eric Blake <ericb> 07/05/24 12:54:13
Index: modules/m4.c
===================================================================
RCS file: /sources/m4/m4/modules/m4.c,v
retrieving revision 1.106
retrieving revision 1.107
diff -u -b -r1.106 -r1.107
--- modules/m4.c 3 Apr 2007 21:06:16 -0000 1.106
+++ modules/m4.c 24 May 2007 12:54:13 -0000 1.107
@@ -509,7 +509,7 @@
opened on a seekable file, that the file pointer be left at the
next character on exit (but places no restrictions on the file
pointer location on a non-seekable file). It also requires that
- fflush() followed by fseek() on an input file set the underlying
+ fflush() followed by fseeko() on an input file set the underlying
file pointer. However, fflush() on a non-seekable file can lose
buffered data, which we might otherwise want to process after
syscmd. Hence, we must check whether stdin is seekable. We must
@@ -523,7 +523,7 @@
if (lseek (STDIN_FILENO, 0, SEEK_CUR) >= 0
&& fflush (stdin) == 0)
{
- fseek (stdin, 0, SEEK_CUR);
+ fseeko (stdin, 0, SEEK_CUR);
}
#endif /* UNIX */
}
- Changes to m4/modules/m4.c,v,
Eric Blake <=