summaryrefslogtreecommitdiff
path: root/patches/glibc/2.3.2/glibc-test-lowram.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/glibc/2.3.2/glibc-test-lowram.patch')
-rw-r--r--patches/glibc/2.3.2/glibc-test-lowram.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/patches/glibc/2.3.2/glibc-test-lowram.patch b/patches/glibc/2.3.2/glibc-test-lowram.patch
new file mode 100644
index 0000000..2308629
--- /dev/null
+++ b/patches/glibc/2.3.2/glibc-test-lowram.patch
@@ -0,0 +1,14 @@
+--- glibc-2.2.5/malloc/tst-calloc.c.old Sun Aug 3 16:17:58 2003
++++ glibc-2.2.5/malloc/tst-calloc.c Sun Aug 3 16:20:01 2003
+@@ -24,9 +24,8 @@
+ #include <stdio.h>
+
+
+-/* Number of samples per size. */
+-#define N 50000
+-
++/* Number of samples per size. This is also the maximum memory consumption in kilobytes. */
++#define N 8000
+
+ static void
+ fixed_test (int size)