summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/xftell.c
diff options
context:
space:
mode:
authorMartin Schröder <martin@oneiros.de>2008-02-21 20:58:24 +0000
committerMartin Schröder <martin@oneiros.de>2008-02-21 20:58:24 +0000
commite834a90f686d8b4f5926c5dbcf86fa3786f29b44 (patch)
tree336e5160fdf4a8079390488f5c649bb33f569d0d /Build/source/texk/kpathsea/xftell.c
parent5d9446ef25b0060343df04af7f80e3933ad69d8d (diff)
Add LFS (long -> off_t, fseek -> fseeko)
git-svn-id: svn://tug.org/texlive/trunk@6707 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/xftell.c')
-rw-r--r--Build/source/texk/kpathsea/xftell.c4
1 files changed, 2 insertions, 2 deletions
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 <kpathsea/config.h>
-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);