patches/glibc/2.2.5/glibc-test-lowram.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu May 10 21:33:35 2007 +0000 (2007-05-10)
changeset 85 ac2845835b13
permissions -rw-r--r--
Update the way we handle directories supplied by the user:
- the tarball directory is considered as a local copy, and tarballs are copied to a working area,
- the sources and build directories (CT_SRC_DIR and CT_BUILD_DIR) are now computed, and no longer an option,
- the build dir has been renamed from 'build' to 'targets'.
That should ease preparing a tarball of the resulting target.
     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)