From e834a90f686d8b4f5926c5dbcf86fa3786f29b44 Mon Sep 17 00:00:00 2001 From: Martin Schröder Date: Thu, 21 Feb 2008 20:58:24 +0000 Subject: Add LFS (long -> off_t, fseek -> fseeko) git-svn-id: svn://tug.org/texlive/trunk@6707 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/kpathsea/xftell.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Build/source/texk/kpathsea/xftell.c') diff --git a/Build/source/texk/kpathsea/xftell.c b/Build/source/texk/kpathsea/xftell.c index 0548e1abd94..541a3ec1171 100644 --- a/Build/source/texk/kpathsea/xftell.c +++ b/Build/source/texk/kpathsea/xftell.c @@ -21,10 +21,10 @@ #include -unsigned long +off_t xftell P2C(FILE *, f, string, filename) { - long where = ftell (f); + off_t where = ftello (f); if (where < 0) FATAL_PERROR(filename); -- cgit v1.2.3