commit b42abfac0a068155ebea301694462235f099cbfb Author: Eitan Adler <li...@eitanadler.com> Date: Mon Nov 18 18:13:24 2013 -0500
cmp(1): Take latest changes from FreeBSD's implementation. In particular handle symbolic links more correctly, add a signal handler, and other misc changes. Summary of changes: usr.bin/cmp/Makefile | 5 +- usr.bin/cmp/cmp.1 | 24 ++--- usr.bin/cmp/cmp.c | 42 +++++---- usr.bin/cmp/extern.h | 7 +- .../citrus/citrus_mmap.c => usr.bin/cmp/link.c | 101 ++++++++++----------- usr.bin/cmp/misc.c | 3 +- usr.bin/cmp/regular.c | 35 +++++-- usr.bin/cmp/special.c | 11 +-- 8 files changed, 125 insertions(+), 103 deletions(-) copy lib/libc/citrus/citrus_mmap.c => usr.bin/cmp/link.c (54%) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b42abfac0a068155ebea301694462235f099cbfb -- DragonFly BSD source repository