[PATCH 2/2] Properly support lseek for n32 and x32
Denys Vlasenko
dvlasenk at redhat.com
Mon Apr 16 15:42:43 UTC 2012
On 04/16/2012 04:28 PM, H.J. Lu wrote:
> This patch is needed to support lseek for x32:
>
> diff --git a/file.c b/file.c
> index 58585f3..5f3b506 100644
> --- a/file.c
> +++ b/file.c
> @@ -501,7 +501,7 @@ static const struct xlat whence[] = {
> { 0, NULL },
> };
>
> -#if defined(LINUX_MIPSN32)
> +#if defined(LINUX_MIPSN32) || defined(X32)
> int
> sys_lseek(struct tcb *tcp)
> {
Applied, thanks!
--
vda
More information about the Strace-devel
mailing list