This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Implement MIPS n64 sendfile64 as alias of sendfile syscall (bug 14822)


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]