From 723242e329fdd929ed9bd7e101daa46001b2e679 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 25 Jun 2001 11:28:23 +0000 Subject: switch from llseek to lseek64 --- perl-install/c/stuff.xs.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'perl-install/c') diff --git a/perl-install/c/stuff.xs.pm b/perl-install/c/stuff.xs.pm index 2b5509e1a..6241157bb 100644 --- a/perl-install/c/stuff.xs.pm +++ b/perl-install/c/stuff.xs.pm @@ -98,7 +98,6 @@ void log_message(const char * s, ...) {} '; print ' -long long llseek(int fd, long long offset, int whence); MODULE = c::stuff PACKAGE = c::stuff @@ -164,7 +163,7 @@ lseek_sector(fd, sector, offset) long sector long offset CODE: - RETVAL = llseek(fd, (long long) sector * SECTORSIZE + offset, SEEK_SET) >= 0; + RETVAL = lseek64(fd, (off64_t) sector * SECTORSIZE + offset, SEEK_SET) >= 0; OUTPUT: RETVAL -- cgit v1.2.1