Bug 211954

Summary: sbin/badsect - call setlocale so tool adheres to support localisation
Product: Base System Reporter: Sevan Janiyan <venture37>
Component: binAssignee: Sevan Janiyan <sevan>
Status: New ---    
Severity: Affects Only Me Keywords: patch
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
call setlocale() none

Description Sevan Janiyan 2016-08-17 21:15:43 UTC
Created attachment 173805 [details]
call setlocale()

setenv LC_ALL de_DE.ISO8859-1


with patch
% /usr/obj/usr/src/sbin/badsect/badsect .foo bar
badsect: .foo: Datei oder Verzeichnis nicht gefunden

without patch
% badsect .foo bar
badsect: .foo: No such file or directory