]> git.ipfire.org Git - thirdparty/glibc.git/commit - ChangeLog.old-ports-mips
Fix MIPS64 posix_fadvise and posix_fadvise64.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 1 Dec 2009 01:27:19 +0000 (01:27 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 1 Dec 2009 01:27:19 +0000 (01:27 +0000)
commit2d68f6afef560a66d11d65738c2412b9cecf5d0a
tree0deca98491d8e9563f4ba5e63bb65014778a29e7
parent84f926688b3e30910887020fd97456f996450eaf
Fix MIPS64 posix_fadvise and posix_fadvise64.

Similar to the problems I fixed for posix_fallocate
<http://sourceware.org/ml/libc-ports/2008-12/msg00007.html> and
fallocate <http://sourceware.org/ml/libc-ports/2009-05/msg00031.html>,
MIPS64 posix_advise also needs fixes to use the correct syscall
interfaces.  Although the existing n32 posix_fadvise64 is OK, getting
posix_fadvise from syscalls.list does not work correctly, as this
function is supposed to return an error code instead of storing it in
errno as the generic syscall implementations from syscalls.list do.
ChangeLog.mips
sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c [new file with mode: 0644]
sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list
sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c [new file with mode: 0644]
sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c [new file with mode: 0644]