head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.54 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.52 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.50 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.48 pkgsrc-2011Q2-base:1.3 pkgsrc-2009Q4:1.3.0.46 pkgsrc-2009Q4-base:1.3 pkgsrc-2008Q4:1.3.0.44 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.42 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.40 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.38 pkgsrc-2008Q2-base:1.3 pkgsrc-2008Q1:1.3.0.36 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.34 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.32 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.30 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.28 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.26 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.24 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.22 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.20 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.18 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.16 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.14 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.12 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.10 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.8 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.6 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.4 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.2 pkgsrc-2003Q4-base:1.3 netbsd-1-6-1:1.2.0.2 netbsd-1-6-1-base:1.2 buildlink2-base:1.1 buildlink2:1.1.0.4 netbsd-1-6:1.1.0.6 netbsd-1-6-RELEASE-base:1.1 pkgviews:1.1.0.2 pkgviews-base:1.1; locks; strict; comment @# @; 1.3 date 2003.08.25.10.31.09; author drochner; state dead; branches; next 1.2; 1.2 date 2002.08.25.18.38.51; author jlam; state Exp; branches; next 1.1; 1.1 date 2002.07.03.10.59.48; author jdolecek; state Exp; branches 1.1.4.1; next ; 1.1.4.1 date 2002.07.03.10.59.48; author jlam; state dead; branches; next 1.1.4.2; 1.1.4.2 date 2002.08.22.11.11.10; author jlam; state Exp; branches; next ; desc @@ 1.3 log @update to 1.8 changes: - Updated for current autoconf/gcc build environment. - Some uninitialized memory references were found by 'valgrind'. - Slightly improved writeout/commit performance. - Explicitly yields to other threads during long running RVM operations. - More portable detection of fdatasync availability. - Some more memory initialization fixes, and passing an actual iov struct to readv/writev instead of something that looks like it. @ text @$NetBSD: patch-ab,v 1.2 2002/08/25 18:38:51 jlam 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 */ @ 1.2 log @Merge changes in packages from the buildlink2 branch that have buildlink2.mk files back into the main trunk. This provides sufficient buildlink2 infrastructure to start merging other packages from the buildlink2 branch that have already been converted to use the buildlink2 framework. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.1.4.1 2002/08/22 11:11:10 jlam Exp $ @ 1.1 log @Fix one place in rvm library where code implicitly assumed malloc() returns zeroed data. Discovered by using MALLOC_OPTIONS=J. coda-server's vice-setup-rvm runs to completition for me with this patch finally! bump pkg revision to nb1 @ text @d1 1 a1 1 $NetBSD$ @ 1.1.4.1 log @file patch-ab was added on branch buildlink2 on 2002-08-22 11:11:10 +0000 @ text @d1 13 @ 1.1.4.2 log @Merge changes from pkgsrc-current into the buildlink2 branch for the packages that have buildlink2.mk files. @ text @a0 13 $NetBSD: patch-ab,v 1.1.4.1 2002/08/22 11:11:10 jlam 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 */ @