[PATCH] pread/pwrite fix for s390-64.

Martin Schwidefsky schwidefsky@de.ibm.com
Fri Feb 28 08:53:00 GMT 2003


> What exactly is the problem?  Why can't you use the regular Linux
> version in sysdeps/unix/sysv/linux/pread.c etc?

Without the special version for pwrite64 I get an undefined reference
to '__GI___pwrite64'. The alias for pwrite64 in syscalls.list doesn't
seem to create an alias for __GI__pwrite64. This is the immediate
problem I am facing. The second problem is that a direct system call
doesn't do the asynchronous cancel. I can't use the regular Linux
version because they split the offset into two 32 bit arguments
which is wrong for s390-64.

blue skies,
   Martin




More information about the Libc-hacker mailing list