crosstool-ng/patches/glibc/2.3.2/glibc-test-lowram.patch

15 lines
371 B
Diff
Raw Normal View History

--- 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)