patches/glibc/2.2.5/glibc-test-lowram.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Aug 11 10:57:18 2007 +0000 (2007-08-11)
changeset 323 90fefc8790fb
permissions -rw-r--r--
Add glibc: 2.5.1 - 2.6 - 2.6.1.
Apply the same patches as glibc 2.5: they apply without any problem (except for ridiculously small offsets).
     1 --- glibc-2.2.5/malloc/tst-calloc.c.old	Sun Aug  3 16:17:58 2003
     2 +++ glibc-2.2.5/malloc/tst-calloc.c	Sun Aug  3 16:20:01 2003
     3 @@ -24,9 +24,8 @@
     4  #include <stdio.h>
     5  
     6  
     7 -/* Number of samples per size.  */
     8 -#define N 50000
     9 -
    10 +/* Number of samples per size.  This is also the maximum memory consumption in kilobytes. */
    11 +#define N 8000
    12  
    13  static void
    14  fixed_test (int size)