commit | 0506f0f430c15677c7724f9c4500093e0e7e15d3 | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Tue Nov 12 22:34:42 2013 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Tue Nov 12 22:44:40 2013 +0000 |
tree | 39af41183c33df60163f494865cc35b9bd677002 | |
parent | 157f98aac598261de1703e212683ad5a1f067acb [diff] |
Stop using _LFS64_LARGEFILE There is only one place left in the code where strace guesses whether libc provides LFS64 functions and structures. The most natural thing to do there is to check for _LARGEFILE64_SOURCE - the macro provided by glibc. Other libc implementations that provide nondegenerate LFS64 interfaces are expected to define this macro as well. * defs.h (_LFS64_LARGEFILE): Remove. * strace.c: Use _LARGEFILE64_SOURCE instead of _LFS64_LARGEFILE.