diff options
| author | Eric Andersen <andersen@codepoet.org> | 2002-04-09 15:28:18 +0000 | 
|---|---|---|
| committer | Eric Andersen <andersen@codepoet.org> | 2002-04-09 15:28:18 +0000 | 
| commit | e1ac9ac84eccf18468fed3b5920178f77028d6cf (patch) | |
| tree | f82ef66ec7363aa59108dc4a209dd44883f3d737 /libc/sysdeps/linux/common/syscalls.c | |
| parent | bc0bc39645ace0f6b4182c641295e31d58b9eba7 (diff) | |
| download | uClibc-alpine-e1ac9ac84eccf18468fed3b5920178f77028d6cf.tar.bz2 uClibc-alpine-e1ac9ac84eccf18468fed3b5920178f77028d6cf.tar.xz | |
Remove from syscalls.c, leave just ftruncate64.c and truncate64.c
which have implementations that works...
 -Erik
Diffstat (limited to 'libc/sysdeps/linux/common/syscalls.c')
| -rw-r--r-- | libc/sysdeps/linux/common/syscalls.c | 28 | 
1 files changed, 2 insertions, 26 deletions
| diff --git a/libc/sysdeps/linux/common/syscalls.c b/libc/sysdeps/linux/common/syscalls.c index 9c416fe2f..2f2d9fd59 100644 --- a/libc/sysdeps/linux/common/syscalls.c +++ b/libc/sysdeps/linux/common/syscalls.c @@ -1465,34 +1465,10 @@ int getrlimit (__rlimit_resource_t resource, struct rlimit *rlimits)  //#define __NR_truncate64         193 -#ifdef L_truncate64 -#ifdef __UCLIBC_HAVE_LFS__ -#include <bits/wordsize.h> -/* Using _syscall2 to pass 64-bit arguments generally only works on 64-bit  - * systems, so we only implement truncate64/ftruncate64 in that case.  Ports  - * for processors with shorter word-lengths should define their own custom  - * versions instead.  */ -#if __WORDSIZE >= 64 -#include <unistd.h> -_syscall2(int, truncate64, const char *, path, __off64_t, length); -#endif /* __WORDSIZE >= 64 */ -#endif /* __UCLIBC_HAVE_LFS__ */ -#endif +//See libc/sysdeps/linux/common/truncate64.c  //#define __NR_ftruncate64        194 -#ifdef L_ftruncate64 -#ifdef __UCLIBC_HAVE_LFS__ -#include <bits/wordsize.h> -/* Using _syscall2 to pass 64-bit arguments generally only works on 64-bit  - * systems, so we only implement truncate64/ftruncate64 in that case.  Ports  - * for processors with shorter word-lengths should define their own custom  - * versions instead.  */ -#if __WORDSIZE >= 64 -#include <unistd.h> -_syscall2(int, ftruncate64, int, fd, __off64_t, length); -#endif /* __WORDSIZE >= 64 */ -#endif /* __UCLIBC_HAVE_LFS__ */ -#endif +//See libc/sysdeps/linux/common/ftruncate64.c  //#define __NR_stat64             195 | 
