diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-06-25 11:28:23 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-06-25 11:28:23 +0000 |
commit | 723242e329fdd929ed9bd7e101daa46001b2e679 (patch) | |
tree | 41986921b3638aa5990e635eda85130dcee16a38 /perl-install/c | |
parent | 6fc8218bf3a2d756dce022f4982e3fc155c661d3 (diff) | |
download | drakx-723242e329fdd929ed9bd7e101daa46001b2e679.tar drakx-723242e329fdd929ed9bd7e101daa46001b2e679.tar.gz drakx-723242e329fdd929ed9bd7e101daa46001b2e679.tar.bz2 drakx-723242e329fdd929ed9bd7e101daa46001b2e679.tar.xz drakx-723242e329fdd929ed9bd7e101daa46001b2e679.zip |
switch from llseek to lseek64
Diffstat (limited to 'perl-install/c')
-rw-r--r-- | perl-install/c/stuff.xs.pm | 3 |
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 |