From: Bartosz Golaszewski Date: Wed, 10 Dec 2014 12:34:42 +0000 (+0100) Subject: Config: select PLATFORM_LINUX if using sendfile() X-Git-Tag: 1_23_0~10 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=202d9a646489ed3f15c0460d76776b3dfb1d4e72;p=oweals%2Fbusybox.git Config: select PLATFORM_LINUX if using sendfile() Man entry for sendfile: Not specified in POSIX.1-2001, or other standards. Other UNIX systems implement sendfile() with different semantics and prototypes. It should not be used in portable programs. Select PLATFORM_LINUX if enabling FEATURE_USE_SENDFILE. Signed-off-by: Bartosz Golaszewski Signed-off-by: Denys Vlasenko --- diff --git a/Config.in b/Config.in index 285fe0a19..07b4bf36b 100644 --- a/Config.in +++ b/Config.in @@ -267,6 +267,7 @@ config PAM config FEATURE_USE_SENDFILE bool "Use sendfile system call" default y + select PLATFORM_LINUX help When enabled, busybox will use the kernel sendfile() function instead of read/write loops to copy data between file descriptors