DragonFly commits List (threaded) for 2011-04
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: sort: modifications needed for DragonFly
commit 57b3076025059ed2e82ca2a9346051fd97cec4c0
Author: John Marino <draco@marino.st>
Date: Tue Apr 26 23:48:08 2011 +0200
sort: modifications needed for DragonFly
Minor modications are needed to get NetBSD's sort to build on DragonFly
without error. The emalloc and erealloc functions are actually now
supported on DragonFly within libutil, but they can't be used because
sort is one of the bootstrap tools. During the bootstrap, libutil is
not available, so the original malloc and realloc function have been
used along with err() to simulate these error-checking functions without
requiring libutil.
Summary of changes:
usr.bin/sort/Makefile | 14 ++++++++++++++
usr.bin/sort/fields.c | 2 +-
usr.bin/sort/files.c | 6 ++++--
usr.bin/sort/msort.c | 1 -
usr.bin/sort/radix_sort.c | 13 ++++++++++---
usr.bin/sort/sort.c | 24 +++++++++++++++++-------
usr.bin/sort/sort.h | 2 ++
7 files changed, 48 insertions(+), 14 deletions(-)
create mode 100644 usr.bin/sort/Makefile
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/57b3076025059ed2e82ca2a9346051fd97cec4c0
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]