summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/sync_file_range.c
AgeCommit message (Collapse)Author
2014-02-15libc: Fix sync_file_range.c for MIPS64 N32 ABISteve Ellcey
The special sync_file_range handling is only needed for the O32 ABI (regardless of whether it is on mips32 or mips64). The N32 (and N64) ABI's should both use the standard code. This routine was using the special code for the N32 ABI because that ABI has a word size of 32 bits and that is wrong. This patch fixes it by checking the ABI used instead of checking the word size. Signed-off-by: Steve Ellcey <sellcey@mips.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2013-01-08libc: handle sync_file_rangeBernhard Reutner-Fischer
Add cancellation and support arm, ppc64, mips32. Compile-tested. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-06-15splice,sync_file_range: mark them as GNU extensionsPeter S. Mazinger
They can't be compiled if LFS is disabled, they are using off64_t. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-02-24unify stub logicMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2008-10-28- trim superfluous ';'. No objcode changesBernhard Reutner-Fischer
2008-10-28- fix compilation if LFS is off and STUBs are requestedBernhard Reutner-Fischer
2008-09-16- add sync_file_range()Bernhard Reutner-Fischer
Tested successfully on i386..