Up to [cvs.NetBSD.org] / src / sys / kern
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: thorpej-devvp-base3
Revision 1.58 / (download) - annotate - [select for diffs], Sat Sep 29 14:16:19 2001 UTC (11 years, 7 months ago) by jdolecek
Branch: MAIN
CVS Tags: thorpej-devvp-base3,
thorpej-devvp-base2
Branch point for: thorpej-mips-cache
Changes since 1.57: +7 -7
lines
Diff to previous 1.57 (colored)
Use lmin() instead of min(), and long for mlen & clen, to avoid integer overflow on LP64 architectures. This fixes kern/10070 by Juergen Weiss. Fix tested on NetBSD/alpha by Bernd Ernesti, on NetBSD/sparc64 by David Brownlee and Eduardo Horvath.