summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/xfseek.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/xfseek.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/xfseek.c')
-rw-r--r--Build/source/texk/kpathsea/xfseek.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/kpathsea/xfseek.c b/Build/source/texk/kpathsea/xfseek.c
index 22ba8978c4a..3e4d0b93b34 100644
--- a/Build/source/texk/kpathsea/xfseek.c
+++ b/Build/source/texk/kpathsea/xfseek.c
@@ -23,8 +23,8 @@
void
-xfseek P4C(FILE *, f, long, offset, int, wherefrom, string, filename)
+xfseek P4C(FILE *, f, off_t, offset, int, wherefrom, string, filename)
{
- if (fseek(f, offset, wherefrom) < 0)
+ if (fseeko(f, offset, wherefrom) < 0)
FATAL_PERROR(filename);
}