| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
These parts where unused after merging https://github.com/aria2/aria2/pull/736
|
| |
|
|
|
|
|
|
|
| |
The latest NDK versions support ftruncate64, so building a local
copy of ftruncate64 is no longer needed.
Also, the arm and x86 builds of ftruncate64 failed when targetting
API level 21 or higher, as they include <linux/err.h> which are
not present starting from API level 21.
|
| |
|
|
|
|
|
|
| |
Since Android ndk r9, __set_errno is deprecated. It is now defined as
inline function in errno.h. The syscall assembly calls __set_errno,
but since libc.so does not export it, the link fails. To workaround
this, replace all occurrences of __set_errno with a2_set_errno and
define it as normal C function.
|
|
|
Android NDK R8e does not provide ftruncate64, but bionic has the
assembler code to access kernel function. We borrowed those
ftruncate64.S files from android source code repository. It turns out
that x86 asm.h in NDK R8e is also broken, so latest asm.h was also
borrowed.
|