diff options
author | Chet Ramey <chet.ramey@case.edu> | 2011-12-07 09:05:27 -0500 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2011-12-07 09:05:27 -0500 |
commit | 28157acd2d622d79329a0cfd0c8fd3a5d7b3baeb (patch) | |
tree | 21e027a78d9bb9425fa6d44570fc219604149b08 /lib/malloc/malloc.c | |
parent | 97be3d8ed96e6249ef07e2973e72060876856d21 (diff) | |
download | bash-28157acd2d622d79329a0cfd0c8fd3a5d7b3baeb.tar.gz |
commit bash-20060316 snapshot
Diffstat (limited to 'lib/malloc/malloc.c')
-rw-r--r-- | lib/malloc/malloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/malloc/malloc.c b/lib/malloc/malloc.c index 75d911fd..f9a08da1 100644 --- a/lib/malloc/malloc.c +++ b/lib/malloc/malloc.c @@ -231,7 +231,7 @@ static int maxbuck; /* highest bucket receiving allocation request. */ static char *memtop; /* top of heap */ -static const unsigned long binsizes[NBUCKETS] = { +static unsigned long binsizes[NBUCKETS] = { 8UL, 16UL, 32UL, 64UL, 128UL, 256UL, 512UL, 1024UL, 2048UL, 4096UL, 8192UL, 16384UL, 32768UL, 65536UL, 131072UL, 262144UL, 524288UL, 1048576UL, 2097152UL, 4194304UL, 8388608UL, 16777216UL, 33554432UL, @@ -312,7 +312,7 @@ xbotch (mem, e, s, file, line) int line; { fprintf (stderr, _("\r\nmalloc: %s:%d: assertion botched\r\n"), - file ? file : _("unknown"), line); + file ? file : "unknown", line); #ifdef MALLOC_REGISTER if (mem != NULL && malloc_register) mregister_describe_mem (mem, stderr); |