Up to [cvs.NetBSD.org] / src / lib / libc / stdlib
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.60 / (download) - annotate - [select for diffs], Fri May 15 14:37:21 2020 UTC (2 years, 10 months ago) by joerg
Branch: MAIN
CVS Tags: netbsd-10-base,
netbsd-10,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
HEAD
Changes since 1.59: +9 -2
lines
Diff to previous 1.59 (colored)
Hook up proper fork lock handling for malloc: - lock all relevant mutexes just before fork - unlock all mutexes just after fork in the parent - full reinit non-spinlocks in the child This is not using the normal pthread_atfork interface to ensure order of operation, malloc is used as implementation detail too often.
Revision 1.56.2.1 / (download) - annotate - [select for diffs], Mon Mar 20 06:56:58 2017 UTC (6 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.56: +22 -14
lines
Diff to previous 1.56 (colored) next main 1.57 (colored)
Sync with HEAD
Revision 1.59 / (download) - annotate - [select for diffs], Fri Jan 13 04:18:54 2017 UTC (6 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
phil-wifi,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
netbsd-9-base,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
netbsd-8-base,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
is-mlppp-base,
is-mlppp,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Changes since 1.58: +3 -7
lines
Diff to previous 1.58 (colored)
use getpagesize(3).
Revision 1.58 / (download) - annotate - [select for diffs], Thu Jan 12 02:00:42 2017 UTC (6 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.57: +6 -2
lines
Diff to previous 1.57 (colored)
Avoid sysconf: __sysconf -> sysctlgetmibinfo -> strtoimax -> locale, etc.
Revision 1.57 / (download) - annotate - [select for diffs], Thu Jan 12 01:02:09 2017 UTC (6 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.56: +21 -13
lines
Diff to previous 1.56 (colored)
make this smaller.
Revision 1.56 / (download) - annotate - [select for diffs], Thu Sep 18 13:58:20 2014 UTC (8 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-base,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.55: +3 -3
lines
Diff to previous 1.55 (colored)
make more descriptors that we open as close-on-exec
Revision 1.54.10.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:27:53 2013 UTC (10 years ago) by tls
Branch: tls-maxphys
Changes since 1.54: +3 -3
lines
Diff to previous 1.54 (colored) next main 1.55 (colored)
resync with head
Revision 1.54.4.1 / (download) - annotate - [select for diffs], Wed Jan 23 00:05:23 2013 UTC (10 years, 1 month ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.54: +3 -3
lines
Diff to previous 1.54 (colored) next main 1.55 (colored)
sync with head
Revision 1.55 / (download) - annotate - [select for diffs], Sun Dec 30 21:23:20 2012 UTC (10 years, 2 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base9,
yamt-pagecache-base8,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7,
agc-symver-base,
agc-symver
Changes since 1.54: +3 -3
lines
Diff to previous 1.54 (colored)
typo in comment, from Abhinav Upadhyay in PR 47385
Revision 1.54 / (download) - annotate - [select for diffs], Wed May 18 01:59:39 2011 UTC (11 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
cherry-xenmp-base,
cherry-xenmp
Branch point for: yamt-pagecache,
tls-maxphys
Changes since 1.53: +5 -8
lines
Diff to previous 1.53 (colored)
cleanup saving and restoring errno, and make it similar.
Revision 1.53 / (download) - annotate - [select for diffs], Fri May 13 23:11:00 2011 UTC (11 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.52: +6 -3
lines
Diff to previous 1.52 (colored)
don't let readlink trash errno.;
Revision 1.48.8.2 / (download) - annotate - [select for diffs], Sun Mar 23 00:40:26 2008 UTC (15 years ago) by matt
Branch: matt-armv6
Changes since 1.48.8.1: +13 -7
lines
Diff to previous 1.48.8.1 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored)
sync with HEAD
Revision 1.52 / (download) - annotate - [select for diffs], Sun Feb 3 22:56:53 2008 UTC (15 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
mjf-devfs2-base,
mjf-devfs2,
matt-premerge-20091211,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-premerge-20101231,
matt-mips64-base2,
matt-armv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
christos-time_t-nbase,
christos-time_t-base,
christos-time_t,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Changes since 1.51: +13 -7
lines
Diff to previous 1.51 (colored)
fix posix_memalign; we are not going to support alignments > pagesize in this implementation.
Revision 1.48.8.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:34:15 2008 UTC (15 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.48: +234 -143
lines
Diff to previous 1.48 (colored)
sync with HEAD
Revision 1.51 / (download) - annotate - [select for diffs], Wed Dec 12 17:56:10 2007 UTC (15 years, 3 months ago) by macallan
Branch: MAIN
CVS Tags: matt-armv6-base
Changes since 1.50: +3 -3
lines
Diff to previous 1.50 (colored)
make this compile again
Revision 1.50 / (download) - annotate - [select for diffs], Tue Dec 4 17:45:07 2007 UTC (15 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: cube-autoconf-base,
cube-autoconf
Changes since 1.49: +3 -4
lines
Diff to previous 1.49 (colored)
move decls for _malloc_{pre,post}fork() to extern.h
Revision 1.49 / (download) - annotate - [select for diffs], Wed Nov 28 21:55:14 2007 UTC (15 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.48: +234 -142
lines
Diff to previous 1.48 (colored)
Sync phk malloc.c with the latest one from FreeBSD. This gives us the same api as jemalloc by: - adding posix_memalign() - moving calloc in the same file - renaming malloc_options -> _malloc_options
Revision 1.48 / (download) - annotate - [select for diffs], Fri Nov 24 19:37:02 2006 UTC (16 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
hpcarm-cleanup
Branch point for: matt-armv6
Changes since 1.47: +3 -3
lines
Diff to previous 1.47 (colored)
fix spelling of accidentally; from Zapher
Revision 1.47 / (download) - annotate - [select for diffs], Sun Oct 8 16:25:15 2006 UTC (16 years, 5 months ago) by elad
Branch: MAIN
Changes since 1.46: +4 -3
lines
Diff to previous 1.46 (colored)
PR/34602: sushant: Bug in malloc implementation contains dead code in free_pages() Applied patch from Mindaugas <unex at linija org> (in #NetBSD-code), thanks
Revision 1.46 / (download) - annotate - [select for diffs], Sat Dec 24 21:42:02 2005 UTC (17 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base,
abandoned-netbsd-4
Changes since 1.45: +5 -5
lines
Diff to previous 1.45 (colored)
__inline__ -> inline
Revision 1.45 / (download) - annotate - [select for diffs], Tue Nov 29 03:12:00 2005 UTC (17 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.44: +7 -7
lines
Diff to previous 1.44 (colored)
WARNS=4
Revision 1.44 / (download) - annotate - [select for diffs], Sun Jun 12 05:21:28 2005 UTC (17 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.43: +4 -1
lines
Diff to previous 1.43 (colored)
Add missing __RCSID()
Revision 1.43 / (download) - annotate - [select for diffs], Sun Oct 5 04:49:46 2003 UTC (19 years, 5 months ago) by junyoung
Branch: MAIN
CVS Tags: netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3,
netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2-0,
netbsd-2
Changes since 1.42: +61 -62
lines
Diff to previous 1.42 (colored)
Style fixes to reduce diff size against the FreeBSD version, notably: - Use NULL where appropriate. - No need to pull in stdint.h. - Get rid of "register" keywords in the hope that the compiler will do a better job for us. :-) - Every message ends with a period. - MMAP() macro is supposed to return MAP_FAILED rather than -1 if it fails. - De-__P.
Revision 1.42 / (download) - annotate - [select for diffs], Wed Jul 23 08:15:02 2003 UTC (19 years, 8 months ago) by itojun
Branch: MAIN
Changes since 1.41: +5 -13
lines
Diff to previous 1.41 (colored)
call malloc_init() on first call to free/realloc, to make malloc.conf to take effect. in response to PR 22223
Revision 1.41 / (download) - annotate - [select for diffs], Sat Jan 18 11:32:03 2003 UTC (20 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.40: +7 -1
lines
Diff to previous 1.40 (colored)
Merge the nathanw_sa branch.
Revision 1.36.2.6 / (download) - annotate - [select for diffs], Tue Dec 10 06:25:54 2002 UTC (20 years, 3 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.36.2.5: +4 -2
lines
Diff to previous 1.36.2.5 (colored) next main 1.37 (colored)
Sync with HEAD.
Revision 1.40 / (download) - annotate - [select for diffs], Mon Dec 9 14:14:59 2002 UTC (20 years, 3 months ago) by chris
Branch: MAIN
CVS Tags: nathanw_sa_before_merge,
nathanw_sa_base,
fvdl_fs64_base
Changes since 1.39: +3 -1
lines
Diff to previous 1.39 (colored)
Add a couple of missing THREAD_UNLOCK's, for the error exit path. No functional change on Mainline, however SA branch probably needs this.
Revision 1.39 / (download) - annotate - [select for diffs], Mon Nov 11 18:09:29 2002 UTC (20 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.38: +2 -2
lines
Diff to previous 1.38 (colored)
Fix signed/unsigned comparison warnings.
Revision 1.36.2.5 / (download) - annotate - [select for diffs], Mon Mar 25 03:40:37 2002 UTC (21 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.36.2.4: +5 -5
lines
Diff to previous 1.36.2.4 (colored)
Bind libc's pthread desires to _libc_pthread_*, rather than pthread_*, to prevent accidental use of pthread libraries that aren't actually integrated with libc.
Revision 1.36.2.4 / (download) - annotate - [select for diffs], Mon Mar 11 21:10:15 2002 UTC (21 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.36.2.3: +4 -4
lines
Diff to previous 1.36.2.3 (colored)
Use an ordinary mutex for malloc now that internal spinlocks aren't exported.
Revision 1.36.2.3 / (download) - annotate - [select for diffs], Tue Jan 1 09:12:56 2002 UTC (21 years, 2 months ago) by wdk
Branch: nathanw_sa
Changes since 1.36.2.2: +2 -2
lines
Diff to previous 1.36.2.2 (colored)
pt_spin_t has been renamed to pthread_spin_t
Revision 1.36.2.2 / (download) - annotate - [select for diffs], Mon Oct 8 20:21:13 2001 UTC (21 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.36.2.1: +58 -22
lines
Diff to previous 1.36.2.1 (colored)
Catch up to -current.
Revision 1.36.2.1 / (download) - annotate - [select for diffs], Wed Aug 8 16:25:14 2001 UTC (21 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.36: +7 -1
lines
Diff to previous 1.36 (colored)
Add THREAD_LOCK stubs that use the library's spinlocks. (XXX why spinlocks instead of a normal mutex?)
Revision 1.38 / (download) - annotate - [select for diffs], Sun May 6 04:48:41 2001 UTC (21 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6
Changes since 1.37: +51 -22
lines
Diff to previous 1.37 (colored)
More fixes: 1. use uintptr_t instead of u_long 2. check for overflow in map_pages and malloc_pages 3. bring in fixes from FreeBSD [int -> size_t, and a missing THREAD_UNLOCK] 4. rewrite map_pages to use sbrk() only to grow memory (avoids extra syscall and elides bug in brk(2) that ross is fixing) 5. restore the break point to its original value if the mmap(2) for the page directory or the alignment sbrk breaks. reviewed by: chuq and ross tested by: make build and reboot Now memtest nearly works; unfortunately there is no way currently to lower the break point as we free, so memtest keeps trying to reduce memory when mlock() fails and that does not work.
Revision 1.37 / (download) - annotate - [select for diffs], Thu May 3 15:35:12 2001 UTC (21 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.36: +8 -1
lines
Diff to previous 1.36 (colored)
PR/12810: Chris ?: malloc core-dumps when given large number as the argument. This is because integer overflow occurs in the computation of the size of the page directory array. We now detect that, and return ENOMEM.
Revision 1.36 / (download) - annotate - [select for diffs], Mon Feb 19 22:22:17 2001 UTC (22 years, 1 month ago) by cgd
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.35: +5 -5
lines
Diff to previous 1.35 (colored)
convert from __progname to getprogname()
Revision 1.35 / (download) - annotate - [select for diffs], Fri Jan 5 22:29:28 2001 UTC (22 years, 2 months ago) by jdolecek
Branch: MAIN
Changes since 1.34: +17 -8
lines
Diff to previous 1.34 (colored)
we now have utrace, support it here
Revision 1.34 / (download) - annotate - [select for diffs], Wed Dec 20 20:56:01 2000 UTC (22 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.33: +5 -4
lines
Diff to previous 1.33 (colored)
fix sbrk casts
Revision 1.33 / (download) - annotate - [select for diffs], Thu Jul 6 03:13:22 2000 UTC (22 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.32: +11 -12
lines
Diff to previous 1.32 (colored)
avoid losing precision warnings
Revision 1.32 / (download) - annotate - [select for diffs], Sat May 20 15:13:31 2000 UTC (22 years, 10 months ago) by simonb
Branch: MAIN
CVS Tags: netbsd-1-5-base,
netbsd-1-5-RELEASE,
netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2,
netbsd-1-5,
minoura-xpg4dl-base,
minoura-xpg4dl
Changes since 1.31: +2 -2
lines
Diff to previous 1.31 (colored)
Disable malloc's hints to the kernel - now that the madvise() syscall actually does something, this can be expensive. From discussion on current-users. Note that the man page is already correct - we imported malloc.c from FreeBSD before they made the same change but malloc.3 after...
Revision 1.31 / (download) - annotate - [select for diffs], Fri Apr 7 15:15:08 2000 UTC (22 years, 11 months ago) by enami
Branch: MAIN
Changes since 1.30: +3 -4
lines
Diff to previous 1.30 (colored)
Fix the bug introduced in rev 1.28 and actually caused failure on alpha; In the function malloc_make_chunks, don't define the local variable ``l'', which is used to hold the actual size of pginfo, as size_t. Define it as a signed integer as before. We expect it to become zero or negative value, and we know that it is much smaller than pagesize and it is small enough to fit in signed interger.
Revision 1.30 / (download) - annotate - [select for diffs], Fri Apr 7 14:56:13 2000 UTC (22 years, 11 months ago) by enami
Branch: MAIN
Changes since 1.29: +39 -40
lines
Diff to previous 1.29 (colored)
Backout the previous backing out.
Revision 1.29 / (download) - annotate - [select for diffs], Mon Jan 31 22:56:14 2000 UTC (23 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.28: +40 -39
lines
Diff to previous 1.28 (colored)
Back out the previous 2 revs. The delint'ing of this file caused something to break horribly on the Alpha.
Revision 1.28 / (download) - annotate - [select for diffs], Sun Jan 23 00:49:41 2000 UTC (23 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.27: +27 -25
lines
Diff to previous 1.27 (colored)
Delint.
Revision 1.27 / (download) - annotate - [select for diffs], Sun Jan 23 00:38:43 2000 UTC (23 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.26: +13 -16
lines
Diff to previous 1.26 (colored)
Partially delint, and a few microoptimizations.
Revision 1.26 / (download) - annotate - [select for diffs], Fri Sep 10 10:38:06 1999 UTC (23 years, 6 months ago) by kleink
Branch: MAIN
CVS Tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
wrstuden-devbsize,
comdex-fall-1999-base,
comdex-fall-1999
Changes since 1.25: +3 -3
lines
Diff to previous 1.25 (colored)
Restore the behaviour of not setting errno to ENOMEM when allocating 0 units of storage and returning a null pointer in System V mode; this was broken by the `fix' in rev. 1.24. Also, as it is stated in ISO C that such operation does not constitute an allocation failure, do not abort() even if the `X' option is set. Amusingly enough the SVID, Fourth Edition, specifies the `unique pointer' return behaviour for this kind of allocation, so this is kind of mis-named.
Revision 1.25 / (download) - annotate - [select for diffs], Sun Aug 22 12:54:03 1999 UTC (23 years, 7 months ago) by kleink
Branch: MAIN
Changes since 1.24: +2 -1
lines
Diff to previous 1.24 (colored)
Need "namespace.h".
Revision 1.24 / (download) - annotate - [select for diffs], Thu Jul 8 22:18:06 1999 UTC (23 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.23: +11 -5
lines
Diff to previous 1.23 (colored)
Make sure errno is set to ENOMEM if we return NULL.
Revision 1.23 / (download) - annotate - [select for diffs], Mon Jul 5 22:14:38 1999 UTC (23 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.22: +37 -37
lines
Diff to previous 1.22 (colored)
index -> ldx (and similar in some related variable names). Avoids a lint warning.
Revision 1.22 / (download) - annotate - [select for diffs], Mon Jul 5 22:12:20 1999 UTC (23 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.21: +32 -38
lines
Diff to previous 1.21 (colored)
Oops, back out 1.21. Christos and I apparently stepped on each other.
Revision 1.21 / (download) - annotate - [select for diffs], Mon Jul 5 21:55:46 1999 UTC (23 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.20: +39 -33
lines
Diff to previous 1.20 (colored)
s/index/idx/ s/EXTRA_SANITY/MALLOC_EXTRA_SANITY/ const poisoning use sysconf to get the pagesize
Revision 1.20 / (download) - annotate - [select for diffs], Mon Jul 5 21:49:05 1999 UTC (23 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.19: +17 -25
lines
Diff to previous 1.19 (colored)
Compute page size related parameters at run-time.
Revision 1.19 / (download) - annotate - [select for diffs], Mon Jul 5 21:08:38 1999 UTC (23 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.18: +12 -12
lines
Diff to previous 1.18 (colored)
EXTRA_SANITY -> MALLOC_EXTRA_SANITY, consistently.
Revision 1.18 / (download) - annotate - [select for diffs], Sun Jul 4 03:12:47 1999 UTC (23 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.17: +6 -2
lines
Diff to previous 1.17 (colored)
Only define MADV_FREE do MADV_DONTNEED if it's not already defined by <sys/mman.h>.
Revision 1.17 / (download) - annotate - [select for diffs], Sat Jun 26 04:44:37 1999 UTC (23 years, 9 months ago) by tls
Branch: MAIN
Changes since 1.16: +1066 -422
lines
Diff to previous 1.16 (colored)
The 'new malloc' (phk's malloc, from FreeBSD) is now our only malloc.
Revision 1.16 / (download) - annotate - [select for diffs], Fri Jan 29 08:11:36 1999 UTC (24 years, 1 month ago) by kleink
Branch: MAIN
CVS Tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001,
netbsd-1-4
Changes since 1.15: +85 -28
lines
Diff to previous 1.15 (colored)
Protect access of state with a mutex. Miscellaneous notes: * still needs an implementation-independent ("reentrant.h") method for disabling cancellation, * break a leg to leave realloc() `storage compaction' as was for non-reentrant code, * use of stdio in assertion code is unsafe.
Revision 1.15 / (download) - annotate - [select for diffs], Sun Nov 15 17:13:51 1998 UTC (24 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.14: +20 -19
lines
Diff to previous 1.14 (colored)
delint
Revision 1.14 / (download) - annotate - [select for diffs], Wed Aug 26 00:29:29 1998 UTC (24 years, 7 months ago) by perry
Branch: MAIN
Changes since 1.13: +3 -3
lines
Diff to previous 1.13 (colored)
make memcpy into memmove in some cases
Revision 1.13 / (download) - annotate - [select for diffs], Mon Aug 10 02:43:10 1998 UTC (24 years, 7 months ago) by perry
Branch: MAIN
Changes since 1.12: +3 -3
lines
Diff to previous 1.12 (colored)
bzero->memset, bcopy->memcpy, bcmp->memcmp
Revision 1.12 / (download) - annotate - [select for diffs], Tue Feb 3 18:44:17 1998 UTC (25 years, 1 month ago) by perry
Branch: MAIN
Changes since 1.11: +16 -16
lines
Diff to previous 1.11 (colored)
remove obsolete register declarations
Revision 1.11 / (download) - annotate - [select for diffs], Fri Jan 30 23:38:00 1998 UTC (25 years, 1 month ago) by perry
Branch: MAIN
Changes since 1.10: +9 -9
lines
Diff to previous 1.10 (colored)
update to lite-2
Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Fri Jan 30 21:41:53 1998 UTC (25 years, 1 month ago) by perry
Branch: WFJ-920714,
CSRG
CVS Tags: lite-2
Changes since 1.1.1.1: +7 -7
lines
Diff to previous 1.1.1.1 (colored)
import lite-2
Revision 1.10 / (download) - annotate - [select for diffs], Mon Jul 21 14:08:55 1997 UTC (25 years, 8 months ago) by jtc
Branch: MAIN
CVS Tags: netbsd-1-3-base,
netbsd-1-3-RELEASE,
netbsd-1-3-PATCH003-CANDIDATE2,
netbsd-1-3-PATCH003-CANDIDATE1,
netbsd-1-3-PATCH003-CANDIDATE0,
netbsd-1-3-PATCH003,
netbsd-1-3-PATCH002,
netbsd-1-3-PATCH001,
netbsd-1-3-BETA,
netbsd-1-3
Changes since 1.9: +3 -2
lines
Diff to previous 1.9 (colored)
If port provides __weak_alias(), provide an Standard C and POSIX pure identifier namespace by renaming non standard functions and variables such that they have a leading underscore. The library will use those names internally. Weak aliases are used to provide the original names to the API. This is only the first part of this change. It is most of the functions which are implemented in C for all NetBSD ports. Subsequent changes are to add the same support to the remaining C files, to assembly files, and to the automagically generated assembly source used for system calls. When all of the above is done, ports with weak alias support should add a definition for __weak_alias to <sys/cdefs.h>.
Revision 1.9 / (download) - annotate - [select for diffs], Sun Jul 13 20:16:47 1997 UTC (25 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.8: +17 -7
lines
Diff to previous 1.8 (colored)
Add local.h for local prototypes. Fix namespace issues for strtoq and strtouq Fix gcc warnings. Fix RCSID's
Revision 1.8 / (download) - annotate - [select for diffs], Mon Apr 7 03:12:14 1997 UTC (25 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.7: +3 -3
lines
Diff to previous 1.7 (colored)
PR/3448: Bill Sommerfeld: Change "p" to __STRING(p)
Revision 1.7 / (download) - annotate - [select for diffs], Fri Dec 20 20:32:02 1996 UTC (26 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.6: +4 -3
lines
Diff to previous 1.6 (colored)
don't confuse long and int; pointed out by lint
Revision 1.6.2.1 / (download) - annotate - [select for diffs], Fri Sep 20 17:00:55 1996 UTC (26 years, 6 months ago) by jtc
Branch: ivory_soap2
Changes since 1.6: +3 -2
lines
Diff to previous 1.6 (colored) next main 1.7 (colored)
snapshot namespace cleanup: net, etc.
Revision 1.6 / (download) - annotate - [select for diffs], Wed Jan 17 02:45:25 1996 UTC (27 years, 2 months ago) by jtc
Branch: MAIN
CVS Tags: nsswitch,
netbsd-1-2-base,
netbsd-1-2-RELEASE,
netbsd-1-2-PATCH001,
netbsd-1-2-BETA,
netbsd-1-2
Branch point for: ivory_soap2
Changes since 1.5: +6 -2
lines
Diff to previous 1.5 (colored)
The C standard says (about realloc) that "If size is zero and ptr is not a null pointer, the object it points to is freed." Reported by Peter Seebach in PR #1806.
Revision 1.5 / (download) - annotate - [select for diffs], Thu Dec 28 08:52:26 1995 UTC (27 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.4: +7 -2
lines
Diff to previous 1.4 (colored)
New-style RCS ids.
Revision 1.4.2.1 / (download) - annotate - [select for diffs], Tue May 2 19:36:39 1995 UTC (27 years, 10 months ago) by jtc
Branch: ivory_soap
Changes since 1.4: +2 -1
lines
Diff to previous 1.4 (colored) next main 1.5 (colored)
#include "namespace.h"
Revision 1.4 / (download) - annotate - [select for diffs], Wed Oct 19 03:06:34 1994 UTC (28 years, 5 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-1-base,
netbsd-1-1-RELEASE,
netbsd-1-1-PATCH001,
netbsd-1-1
Branch point for: ivory_soap
Changes since 1.3: +11 -11
lines
Diff to previous 1.3 (colored)
casting types.
Revision 1.3 / (download) - annotate - [select for diffs], Thu Aug 26 00:48:03 1993 UTC (29 years, 7 months ago) by jtc
Branch: MAIN
CVS Tags: netbsd-1-0-base,
netbsd-1-0-RELEASE,
netbsd-1-0-PATCH1,
netbsd-1-0-PATCH06,
netbsd-1-0-PATCH05,
netbsd-1-0-PATCH04,
netbsd-1-0-PATCH03,
netbsd-1-0-PATCH02,
netbsd-1-0-PATCH0,
netbsd-1-0
Changes since 1.2: +2 -2
lines
Diff to previous 1.2 (colored)
Declare rcsid strings so they are stored in text segment.
Revision 1.2 / (download) - annotate - [select for diffs], Sun Aug 1 18:37:04 1993 UTC (29 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.1: +2 -1
lines
Diff to previous 1.1 (colored)
Add RCS identifiers.
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (30 years ago) by cgd
Branch: WFJ-920714,
CSRG
CVS Tags: patchkit-0-2-2,
netbsd-alpha-1,
netbsd-0-9-base,
netbsd-0-9-RELEASE,
netbsd-0-9-BETA,
netbsd-0-9-ALPHA2,
netbsd-0-9-ALPHA,
netbsd-0-9,
netbsd-0-8,
WFJ-386bsd-01
Changes since 1.1: +0 -0
lines
Diff to previous 1.1 (colored)
initial import of 386bsd-0.1 sources
Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (30 years ago) by cgd
Branch: MAIN
Initial revision