Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/usr.bin/sort
Module Name: src
Committed By: dsl
Date: Sat Sep 5 09:16:18 UTC 2009
Modified Files:
src/usr.bin/sort: Makefile init.c sort.c sort.h
Added Files:
src/usr.bin/sort: radix_sort.c
Log Message:
Include a local copy of the sradixsort() code from libc.
Currently unchanged apart from the deletion of the 'unstable' version and
other unneeded code.
Use fldtab[0]. not fldtab-> when we are referring to the global info
in the 0th entry to emphasise that this entry is different.
fldtab[0].weights is only needed in the SINGL_FLD case - so set it there.
Re-indent a big 'if' is setfield() so that the line breaks match the
logic - which looks dubious now!
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/usr.bin/sort/Makefile
cvs rdiff -u -r1.21 -r1.22 src/usr.bin/sort/init.c
cvs rdiff -u -r0 -r1.1 src/usr.bin/sort/radix_sort.c
cvs rdiff -u -r1.53 -r1.54 src/usr.bin/sort/sort.c
cvs rdiff -u -r1.25 -r1.26 src/usr.bin/sort/sort.h
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