Bug 211954 - sbin/badsect - call setlocale so tool adheres to support localisation
Summary: sbin/badsect - call setlocale so tool adheres to support localisation
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-17 21:15 UTC by Sevan Janiyan
Modified: 2024-01-05 03:51 UTC (History)
0 users

See Also:


Attachments
call setlocale() (523 bytes, patch)
2016-08-17 21:15 UTC, Sevan Janiyan
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2024-01-05 03:51:57 UTC
^Triage: commit bit was taken in for safekeeping.