From f8d92613d02f3e8ea2738fed197338475f46c251 Mon Sep 17 00:00:00 2001 From: Toon Moene Date: Fri, 6 Jul 2001 14:09:39 +0200 Subject: configure.in: Check for fseeko, ftello. 2001-07-06 Toon Moene Pedro Vazquez * 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 From-SVN: r43806 --- libf2c/libI77/rdfmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libf2c/libI77/rdfmt.c') 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; -- cgit v1.1