#26
Added define for __USE_FILE_OFFSET64 and replaced definition and call to llseek() in seekto() function with call to lseek() for redirect call to lseek64()
Merged
by
jforbes.Openedby shecks.
shecks/kernel-tests
llseek-missing-bugfix
into
master
The llseek() function no longer seems to be available in the current build environment so compilation of the the lmbench application fails when running the performance kernel test suite.
I have modified the code to call the lseek() function instead and defined the __USE_FILE_OFFSET64 to cause the compiler to emit a call to the lseek64() function which I think is now the preferred method for 64bit file seeks.
The llseek() function no longer seems to be available in the current build environment so compilation of the the lmbench application fails when running the performance kernel test suite.
I have modified the code to call the lseek() function instead and defined the __USE_FILE_OFFSET64 to cause the compiler to emit a call to the lseek64() function which I think is now the preferred method for 64bit file seeks.