From owner-freebsd-bugs@FreeBSD.ORG Sat Feb 9 00:20:01 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0A3FB9B2 for ; Sat, 9 Feb 2013 00:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id CC5BCB33 for ; Sat, 9 Feb 2013 00:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r190K0VU011958 for ; Sat, 9 Feb 2013 00:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r190K0YL011953; Sat, 9 Feb 2013 00:20:00 GMT (envelope-from gnats) Resent-Date: Sat, 9 Feb 2013 00:20:00 GMT Resent-Message-Id: <201302090020.r190K0YL011953@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, William Ahern Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 077129A7 for ; Sat, 9 Feb 2013 00:18:41 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id D70CEB23 for ; Sat, 9 Feb 2013 00:18:40 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r190IeJP093091 for ; Sat, 9 Feb 2013 00:18:40 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r190Iewu093090; Sat, 9 Feb 2013 00:18:40 GMT (envelope-from nobody) Message-Id: <201302090018.r190Iewu093090@red.freebsd.org> Date: Sat, 9 Feb 2013 00:18:40 GMT From: William Ahern To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: misc/175975: Typo in hexdump/conv.c X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Feb 2013 00:20:01 -0000 >Number: 175975 >Category: misc >Synopsis: Typo in hexdump/conv.c >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Feb 09 00:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: William Ahern >Release: 9.0-RELEASE >Organization: >Environment: FreeBSD fbsd 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: usr.bin/hexdump/conv.c contains a typo at line 154. Instead of "dc1", there's "dcl". That is, it contains the letter "l" instead of the number "1". The man page correctly documents "dc1". This is fixed for OS X. I discovered this when testing my own implementation of hexdump at http://25thandclement.com/~william/projects/hexdump.c.html >How-To-Repeat: hexdump -e '16 "%3_u " "\n"' /dev/urandom | grep -e dcl -e dc1 | head >Fix: Fix the typo. >Release-Note: >Audit-Trail: >Unformatted: