summaryrefslogtreecommitdiff
path: root/package/busybox/patches/011-remove-non-posix-mallopt.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-06-25 01:29:34 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-06-25 01:31:18 +0200
commitcf89431cc54bfa4b48732133bd29ef9999368c36 (patch)
tree98cb4ad50799d09e8ea6844aa39e573b5e192a55 /package/busybox/patches/011-remove-non-posix-mallopt.patch
parent01af213ee5720c929973534da555f89abaf301f5 (diff)
busybox: update to 1.25.0
Diffstat (limited to 'package/busybox/patches/011-remove-non-posix-mallopt.patch')
-rw-r--r--package/busybox/patches/011-remove-non-posix-mallopt.patch39
1 files changed, 0 insertions, 39 deletions
diff --git a/package/busybox/patches/011-remove-non-posix-mallopt.patch b/package/busybox/patches/011-remove-non-posix-mallopt.patch
deleted file mode 100644
index e18a25d2f..000000000
--- a/package/busybox/patches/011-remove-non-posix-mallopt.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-diff -Nur busybox-1.23.0.orig/libbb/appletlib.c busybox-1.23.0/libbb/appletlib.c
---- busybox-1.23.0.orig/libbb/appletlib.c 2014-11-20 01:08:23.000000000 +0100
-+++ busybox-1.23.0/libbb/appletlib.c 2015-03-07 09:10:56.000000000 +0100
-@@ -28,13 +28,6 @@
- */
- #include "busybox.h"
-
--#if !(defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) \
-- || defined(__APPLE__) \
-- )
--# include <malloc.h> /* for mallopt */
--#endif
--
--
- /* Declare <applet>_main() */
- #define PROTOTYPES
- #include "applets.h"
-@@ -792,21 +785,6 @@
- int main(int argc UNUSED_PARAM, char **argv)
- #endif
- {
-- /* Tweak malloc for reduced memory consumption */
--#ifdef M_TRIM_THRESHOLD
-- /* M_TRIM_THRESHOLD is the maximum amount of freed top-most memory
-- * to keep before releasing to the OS
-- * Default is way too big: 256k
-- */
-- mallopt(M_TRIM_THRESHOLD, 8 * 1024);
--#endif
--#ifdef M_MMAP_THRESHOLD
-- /* M_MMAP_THRESHOLD is the request size threshold for using mmap()
-- * Default is too big: 256k
-- */
-- mallopt(M_MMAP_THRESHOLD, 32 * 1024 - 256);
--#endif
--
- #if !BB_MMU
- /* NOMMU re-exec trick sets high-order bit in first byte of name */
- if (argv[0][0] & 0x80) {