summaryrefslogtreecommitdiffstats
path: root/perl-install/c
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-06-25 11:28:23 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-06-25 11:28:23 +0000
commit723242e329fdd929ed9bd7e101daa46001b2e679 (patch)
tree41986921b3638aa5990e635eda85130dcee16a38 /perl-install/c
parent6fc8218bf3a2d756dce022f4982e3fc155c661d3 (diff)
downloaddrakx-backup-do-not-use-723242e329fdd929ed9bd7e101daa46001b2e679.tar
drakx-backup-do-not-use-723242e329fdd929ed9bd7e101daa46001b2e679.tar.gz
drakx-backup-do-not-use-723242e329fdd929ed9bd7e101daa46001b2e679.tar.bz2
drakx-backup-do-not-use-723242e329fdd929ed9bd7e101daa46001b2e679.tar.xz
drakx-backup-do-not-use-723242e329fdd929ed9bd7e101daa46001b2e679.zip
switch from llseek to lseek64
Diffstat (limited to 'perl-install/c')
-rw-r--r--perl-install/c/stuff.xs.pm3
1 files changed, 1 insertions, 2 deletions
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