This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: Implement MIPS n64 sendfile64 as alias of sendfile syscall (bug 14822)
- From: "Carlos O'Donell" <carlos at systemhalted dot org>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: libc-ports at sourceware dot org
- Date: Wed, 21 Nov 2012 21:41:39 -0500
- Subject: Re: Implement MIPS n64 sendfile64 as alias of sendfile syscall (bug 14822)
- References: <Pine.LNX.4.64.1211220237400.11924@digraph.polyomino.org.uk>
On Wed, Nov 21, 2012 at 9:38 PM, Joseph S. Myers
<joseph@codesourcery.com> wrote:
> Bug 14822 notes that MIPS n64 is missing an actual sendfile64
> implementation. The n64 syscall interface has only a sendfile syscall
> (o32 and n32 both have both sendfile and sendfile64 syscalls), and
> since this function does not have struct stat involved in its
> interface it's correct for sendfile and sendfile64 to be aliases for
> n64. Thus this patch fixes this issue by making n64 handle this
> syscall the same as sysdeps/unix/sysv/linux/wordsize-64.
>
> 2012-11-22 Joseph Myers <joseph@codesourcery.com>
>
> [BZ #14822]
> * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
> (sendfile): New syscall entry.
> * sysdeps/unix/sysv/linux/mips/mips64/n64/sendfile64.c: New file.
> Copy of ../sysdeps/unix/sysv/linux/wordsize-64/sendfile64.c.
Thanks for fixing this.
I'm sure Yijun (the submitter) will be excited to see this fixed.
Cheers,
Carlos.