diff options
author | Bartosz Golaszewski <bartekgola@gmail.com> | 2014-12-10 13:34:42 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2014-12-10 13:46:53 +0100 |
commit | 202d9a646489ed3f15c0460d76776b3dfb1d4e72 (patch) | |
tree | 0d6e7b70b4ef690f557a090d69710e7e2c65405e | |
parent | bd7c1f2d13cd1f7927ec081e4f23ee0f0b079e9a (diff) | |
download | busybox-w32-202d9a646489ed3f15c0460d76776b3dfb1d4e72.tar.gz busybox-w32-202d9a646489ed3f15c0460d76776b3dfb1d4e72.tar.bz2 busybox-w32-202d9a646489ed3f15c0460d76776b3dfb1d4e72.zip |
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 <bartekgola@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | Config.in | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -267,6 +267,7 @@ config PAM | |||
267 | config FEATURE_USE_SENDFILE | 267 | config FEATURE_USE_SENDFILE |
268 | bool "Use sendfile system call" | 268 | bool "Use sendfile system call" |
269 | default y | 269 | default y |
270 | select PLATFORM_LINUX | ||
270 | help | 271 | help |
271 | When enabled, busybox will use the kernel sendfile() function | 272 | When enabled, busybox will use the kernel sendfile() function |
272 | instead of read/write loops to copy data between file descriptors | 273 | instead of read/write loops to copy data between file descriptors |