patches/glibc/2.3.2/glibc-test-lowram.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Jul 14 13:04:51 2007 +0000 (2007-07-14)
changeset 251 b23a09443f72
permissions -rw-r--r--
Add a patch to gcc to expand switch-case to an if-else sequence (from buildroot).
     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)