vsftpd-2.3.4-dont-force-largefile.patch 778 B

123456789101112131415161718192021222324252627
  1. [PATCH] vsftpd: don't enforce largefile support
  2. In Buildroot we enable/disable largefile support globally, and pass the
  3. correct defines in CFLAGS, so don't enforce it unconditionally.
  4. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
  5. ---
  6. sysutil.c | 6 ------
  7. 1 file changed, 6 deletions(-)
  8. Index: vsftpd-2.3.2/sysutil.c
  9. ===================================================================
  10. --- vsftpd-2.3.2.orig/sysutil.c
  11. +++ vsftpd-2.3.2/sysutil.c
  12. @@ -17,12 +17,6 @@
  13. #include "tunables.h"
  14. #include "sysdeputil.h"
  15. -/* Activate 64-bit file support on Linux/32bit plus others */
  16. -#define _FILE_OFFSET_BITS 64
  17. -#define _LARGEFILE_SOURCE 1
  18. -#define _LARGEFILE64_SOURCE 1
  19. -#define _LARGE_FILES 1
  20. -
  21. /* For Linux, this adds nothing :-) */
  22. #include "port/porting_junk.h"