misc/175975: Typo in hexdump/conv.c
>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:
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"
討論串 (同標題文章)