diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2013-11-12 22:25:06 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2013-11-12 22:25:06 +0000 |
commit | 157f98aac598261de1703e212683ad5a1f067acb (patch) | |
tree | 4e2a9d9b7f4a492c536b238c7b3ab492d24b6428 /file.c | |
parent | 594eb8f8f882e61fe89f08c9a524f73af43790f9 (diff) | |
download | strace-157f98aac598261de1703e212683ad5a1f067acb.tar.gz strace-157f98aac598261de1703e212683ad5a1f067acb.tar.bz2 strace-157f98aac598261de1703e212683ad5a1f067acb.tar.xz |
Define truncate64, ftruncate64, and getdents64 decoders unconditionally
These decoders are referenced by most architectures, there were no
undefined references so far because _LFS64_LARGEFILE appears to be
always defined by glibc when _GNU_SOURCE is defined.
* file.c (sys_truncate64, sys_ftruncate64, sys_getdents64): Define
unconditionally.
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -632,7 +632,6 @@ sys_truncate(struct tcb *tcp) return 0; } -#if _LFS64_LARGEFILE int sys_truncate64(struct tcb *tcp) { @@ -642,7 +641,6 @@ sys_truncate64(struct tcb *tcp) } return 0; } -#endif int sys_ftruncate(struct tcb *tcp) @@ -654,7 +652,6 @@ sys_ftruncate(struct tcb *tcp) return 0; } -#if _LFS64_LARGEFILE int sys_ftruncate64(struct tcb *tcp) { @@ -664,7 +661,6 @@ sys_ftruncate64(struct tcb *tcp) } return 0; } -#endif /* several stats */ @@ -2310,7 +2306,6 @@ sys_getdents(struct tcb *tcp) return 0; } -#if _LFS64_LARGEFILE int sys_getdents64(struct tcb *tcp) { @@ -2372,7 +2367,6 @@ sys_getdents64(struct tcb *tcp) free(buf); return 0; } -#endif int sys_getcwd(struct tcb *tcp) |