diff options
Diffstat (limited to 'devel/rvm/patches/patch-ab')
-rw-r--r-- | devel/rvm/patches/patch-ab | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/rvm/patches/patch-ab b/devel/rvm/patches/patch-ab new file mode 100644 index 00000000000..c23c3cc46db --- /dev/null +++ b/devel/rvm/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1 2002/07/03 10:59:48 jdolecek Exp $ + +--- rvm/rvm_utils.c.orig Wed Jul 3 12:39:26 2002 ++++ rvm/rvm_utils.c Wed Jul 3 12:40:30 2002 +@@ -106,7 +106,7 @@ static list_entry_t *malloc_list_entry(i + + /* allocate the element */ + cell = (list_entry_t *) +- malloc((unsigned)cache_type_sizes[ID_INDEX(id)]); ++ calloc(1, (unsigned)cache_type_sizes[ID_INDEX(id)]); + assert(cell != NULL); + type_counts[ID_INDEX(id)] ++; /* count allocations */ + |