source: scripts/patches/bash-2.05b-gcc34-1.patch@ 1cca9e2

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 1cca9e2 was 7f65c0e, checked in by Jim Gifford <clfs@…>, 19 years ago

r625@server (orig r623): jim | 2005-10-31 12:43:24 -0800
Final Move

  • Property mode set to 100644
File size: 1016 bytes
  • bash-2.05b/lib/malloc/malloc.c

    Submitted By: Zack Winkles <winkie AT linuxfromscratch DOT org>
    Date: 2004-04-06
    Initial Package Version: 2.05b
    Origin: N/A
    Description: Fix some occurrences of syntax that GCC 3.4.0 doesn't like.
    
    old new  
    236236        8192UL, 16384UL, 32768UL, 65536UL, 131072UL, 262144UL, 524288UL,
    237237        1048576UL, 2097152UL, 4194304UL, 8388608UL, 16777216UL, 33554432UL,
    238238        67108864UL, 134217728UL, 268435456UL, 536870912UL, 1073741824UL,
    239         2147483648UL, 4294967296UL-1
     239        2147483648UL, 4294967295UL
    240240};
    241241
    242242/* binsizes[x] == (1 << ((x) + 3)) */
     
    290290
    291291#if !defined (botch)
    292292static void
    293 botch (s, file, line)
     293botch (const char *s, const char *file, int line)
    294294{
    295295  fprintf (stderr, "malloc: failed assertion: %s\n", s);
    296296  (void)fflush (stderr);
     
    879879  busy[nunits] = 0;
    880880
    881881free_return:
     882  ((void)0);
    882883
    883884#ifdef MALLOC_STATS
    884885  _mstats.nmalloc[nunits]--;
Note: See TracBrowser for help on using the repository browser.