Date: Tue, 8 Dec 1998 13:50:30 -0500 (EST) From: curt@kcwc.com To: FreeBSD-gnats-submit@FreeBSD.ORG Cc: curt@kcwc.com Subject: bin/9016: od/hexdump bug with small zero filled files Message-ID: <199812081850.NAA01103@NewsReader.Com>
next in thread | raw e-mail | index | archive | help
>Number: 9016 >Category: bin >Synopsis: od/hexdump bug with small zero filled files >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Dec 8 11:00:00 PST 1998 >Last-Modified: >Originator: Curt Welch >Organization: KCW Consulting >Release: FreeBSD 2.2-970903-RELENG i386 >Environment: Bug is in 3.0-19981103-SNAP also >Description: When you do an od/hexdump on a small file with less then 16 bytes of data all of zero value, it produces bogus output. It prints a signle star showing multiple repeated lines of the same data but it never printed the first line of output like it should have. Old versions of Unix od never worked that way. >How-To-Repeat: dd if=/dev/zero of=x bs=1 count=10 od x as in: % dd if=/dev/zero of=x bs=1 count=10 10+0 records in 10+0 records out 10 bytes transferred in 0.000486 secs (20575 bytes/sec) % od x * >Fix: Haven't looked at the source... >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812081850.NAA01103>