On 05/11/2010 10:49 AM, Anush Elangovan wrote:
> Please find below a patch to make libparted use the linux syscall()
> interface instead of the deprecated _syscall5().
>
> Signed-off-by: Anush Elangovan <[email protected]>
syscall(2) is just plain broken on a whole bunch of architectures.
Avoid like the plague.
In this case, the proper thing to do is to use lseek64(), which is
available on any even remotely recent Linux libc (unless, of course,
off_t is already 64 bits.)
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
_______________________________________________
parted-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/parted-devel