Date: Sat, 12 Dec 1998 22:40:19 -0800 (PST) From: Matt Dillon <dillon@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/usr.bin/hexdump display.c Message-ID: <199812130640.WAA15238@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
dillon 1998/12/12 22:40:19 PST
Modified files:
usr.bin/hexdump display.c
Log:
PR: bin/9016
Fix bug with od/hd/hexdump. "*" lines are supposed to indicate one or
duplicates of the previous line, but a small file with less then 16
characters of zeros in it will be falsy identified as a repeat of
the (non-existant) previous line. i.e. the first line of output winds
up being a "*". Added a bit of code to handle the degenerate 'there is
no previous line' case for the first line.
Revision Changes Path
1.3 +8 -3 src/usr.bin/hexdump/display.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812130640.WAA15238>
