diff options
author | Toon Moene <toon@moene.indiv.nluug.nl> | 2001-07-06 14:09:39 +0200 |
---|---|---|
committer | Toon Moene <toon@gcc.gnu.org> | 2001-07-06 12:09:39 +0000 |
commit | f8d92613d02f3e8ea2738fed197338475f46c251 (patch) | |
tree | a83b79124d799de88e7fc451469c64c17a5013aa /libf2c/libI77/rdfmt.c | |
parent | 6331d1c1d9859927b5509e07b856e60f98b4821f (diff) | |
download | gcc-f8d92613d02f3e8ea2738fed197338475f46c251.zip gcc-f8d92613d02f3e8ea2738fed197338475f46c251.tar.gz gcc-f8d92613d02f3e8ea2738fed197338475f46c251.tar.bz2 |
configure.in: Check for fseeko, ftello.
2001-07-06 Toon Moene <toon@moene.indiv.nluug.nl>
Pedro Vazquez <vazquez@penelope.iqm.unicamp.br>
* configure.in: Check for fseeko, ftello.
* configure: Rebuilt.
* config.h.in: Rebuilt.
* fio.h: Define FSEEK to be fseek or fseeko, depending
on configure's findings. Ditto for FTELL and ftell / ftello.
* backspace.c (f_back): Use FSEEK for fseek, FTELL for ftell.
* dfe.c (c_dfe): Ditto.
* due.c (c_due, e_rdue): Ditto.
* endfile.c (t_runc): Ditto.
* err.c (f__nowreading, f__nowwriting): Ditto.
* ftell_.c (G77_ftell_0, G77_fseek_0): Ditto.
* inquire.c (f_inqu): Ditto.
* open.c (f_open): Ditto.
* rdfmt.c (rd_ed): Ditto.
* sue.c (s_wsue, e_wsue, e_rsue): Ditto.
Co-Authored-By: Pedro Vazquez <vazquez@penelope.iqm.unicamp.br>
From-SVN: r43806
Diffstat (limited to 'libf2c/libI77/rdfmt.c')
-rw-r--r-- | libf2c/libI77/rdfmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libf2c/libI77/rdfmt.c b/libf2c/libI77/rdfmt.c index 6ddd369..81426ae 100644 --- a/libf2c/libI77/rdfmt.c +++ b/libf2c/libI77/rdfmt.c @@ -471,7 +471,7 @@ rd_ed(struct syl *p, char *ptr, ftnlen len) f__icptr += f__cursor; } else if(f__curunit && f__curunit->useek) - (void) fseek(f__cf,(long) f__cursor,SEEK_CUR); + FSEEK(f__cf,(off_t)f__cursor,SEEK_CUR); else err(f__elist->cierr,106,"fmt"); f__recpos += f__cursor; |