Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/lib/libc/stdlib
Module Name: src
Committed By: rmind
Date: Tue Mar 11 18:04:59 UTC 2008
Modified Files:
src/lib/libc/stdlib: heapsort.c qsort.c
Log Message:
Use size_t to avoid overflow when sorting large arrays. While here, ANSIfy.
Obtained from FreeBSD (das@).
To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 src/lib/libc/stdlib/heapsort.c
cvs rdiff -r1.14 -r1.15 src/lib/libc/stdlib/qsort.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index