bin/140151: Fix potential setlocale(3) in hexdump / od

Jilles Tjoelker jilles at stack.nl
Sat Oct 31 23:00:15 UTC 2009


The following reply was made to PR bin/140151; it has been noted by GNATS.

From: Jilles Tjoelker <jilles at stack.nl>
To: bug-followup at FreeBSD.org, gcooper at 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


More information about the freebsd-bugs mailing list