]> git.pld-linux.org Git - packages/bash.git/blob - bash-gcc34.patch
- Finally (hope) fixed shrc.d/*.sh sourcing
[packages/bash.git] / bash-gcc34.patch
1 --- bash-2.05b/lib/malloc/malloc.c.orig 2002-06-21 21:16:49.000000000 +0200
2 +++ bash-2.05b/lib/malloc/malloc.c      2004-03-01 10:07:19.749437536 +0100
3 @@ -236,7 +236,7 @@
4         8192UL, 16384UL, 32768UL, 65536UL, 131072UL, 262144UL, 524288UL,
5         1048576UL, 2097152UL, 4194304UL, 8388608UL, 16777216UL, 33554432UL,
6         67108864UL, 134217728UL, 268435456UL, 536870912UL, 1073741824UL,
7 -       2147483648UL, 4294967296UL-1
8 +       2147483648UL, 4294967295UL
9  };
10  
11  /* binsizes[x] == (1 << ((x) + 3)) */
12 @@ -290,7 +290,7 @@
13  
14  #if !defined (botch)
15  static void
16 -botch (s, file, line)
17 +botch (const char *s, const char *file, int line)
18  {
19    fprintf (stderr, "malloc: failed assertion: %s\n", s);
20    (void)fflush (stderr);
21 @@ -879,6 +879,7 @@
22    busy[nunits] = 0;
23  
24  free_return:
25 +  ((void)0);
26  
27  #ifdef MALLOC_STATS
28    _mstats.nmalloc[nunits]--;
This page took 0.059778 seconds and 3 git commands to generate.