From owner-freebsd-bugs@FreeBSD.ORG Sat Oct 31 23:00:14 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3E6E1065679 for ; Sat, 31 Oct 2009 23:00:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BBDF48FC14 for ; Sat, 31 Oct 2009 23:00:14 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n9VN0ERJ087128 for ; Sat, 31 Oct 2009 23:00:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n9VN0E24087127; Sat, 31 Oct 2009 23:00:14 GMT (envelope-from gnats) Date: Sat, 31 Oct 2009 23:00:14 GMT Message-Id: <200910312300.n9VN0E24087127@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Jilles Tjoelker Cc: Subject: Re: bin/140151: Fix potential setlocale(3) in hexdump / od X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jilles Tjoelker List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Oct 2009 23:00:15 -0000 The following reply was made to PR bin/140151; it has been noted by GNATS. From: Jilles Tjoelker To: bug-followup@FreeBSD.org, gcooper@FreeBSD.org Cc: Subject: Re: bin/140151: Fix potential setlocale(3) in hexdump / od Date: Sat, 31 Oct 2009 23:55:44 +0100 General policy across /bin and /usr/bin seems to ignore setlocale() failures (usually caused by invalid/unsupported language settings). I guess that's sensible, and in any case changing it for hexdump/od only seems wrong. There seems little wrong with the current way of determining hexdump vs od either, which is to treat anything ending in 'od' as od. -- Jilles Tjoelker