summaryrefslogtreecommitdiff
path: root/libf2c/libI77/rdfmt.c
diff options
context:
space:
mode:
authortoon <toon@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-06 12:09:39 +0000
committertoon <toon@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-06 12:09:39 +0000
commite4b6f354d7455d734f09e5fbc61b3401a08a2aca (patch)
treea83b79124d799de88e7fc451469c64c17a5013aa /libf2c/libI77/rdfmt.c
parent7012770bb02276df5e5d0ab15c6b03084dfe1302 (diff)
downloadgcc-e4b6f354d7455d734f09e5fbc61b3401a08a2aca.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43806 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libf2c/libI77/rdfmt.c')
-rw-r--r--libf2c/libI77/rdfmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libf2c/libI77/rdfmt.c b/libf2c/libI77/rdfmt.c
index 6ddd36958a5..81426ae7d1a 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;