From owner-freebsd-bugs Tue Dec 8 11:00:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA28117 for freebsd-bugs-outgoing; Tue, 8 Dec 1998 11:00:03 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA28071 for ; Tue, 8 Dec 1998 11:00:00 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from Unknown UID 563@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id LAA05547; Tue, 8 Dec 1998 11:00:01 -0800 (PST) Received: from NewsReader.Com (h4.kcwc.com [206.139.252.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA27637 for ; Tue, 8 Dec 1998 10:50:43 -0800 (PST) (envelope-from curt@NewsReader.Com) Received: (from root@localhost) by NewsReader.Com (8.8.5/8.7.3) id NAA01103; Tue, 8 Dec 1998 13:50:30 -0500 (EST) Message-Id: <199812081850.NAA01103@NewsReader.Com> Date: Tue, 8 Dec 1998 13:50:30 -0500 (EST) From: curt@kcwc.com Reply-To: curt@kcwc.com To: FreeBSD-gnats-submit@FreeBSD.ORG Cc: curt@kcwc.com X-Send-Pr-Version: 3.2 Subject: bin/9016: od/hexdump bug with small zero filled files Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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