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