This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: p{read,write}{,64} mips n64 changes
On Tue, Mar 18, 2003 at 08:30:06AM +0100, Andreas Jaeger wrote:
> Alexandre Oliva <aoliva at redhat dot com> writes:
>
> > On Mar 15, 2003, Andreas Jaeger <aj at suse dot de> wrote:
> >
> >> Alexandre Oliva <aoliva at redhat dot com> writes:
> >>> @@ -59,8 +65,13 @@ __libc_pread (fd, buf, count, offset)
> >>> {
> >>> /* First try the syscall. */
> >>> assert (sizeof (offset) == 4);
> >>> +#if defined _ABI64 && _MIPS_SIM == _ABI64
> >>> + result = INLINE_SYSCALL (pread, 6, fd, CHECK_N (buf, count), count, 0,
> >>> + offset);
> >>> +#else
> >>> result = INLINE_SYSCALL (pread, 6, fd, CHECK_N (buf, count), count, 0,
> >>> __LONG_LONG_PAIR (offset >> 31, offset));
Is >> 31 instead of >> 32 right?
Jakub