Bug 211904 - bin/domainname - call setlocale so tool adheres to support localisation
Summary: bin/domainname - 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 Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-16 13:47 UTC by Sevan Janiyan
Modified: 2024-01-05 03:54 UTC (History)
1 user (show)

See Also:


Attachments
call setlocale() (513 bytes, patch)
2016-08-16 13:47 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-16 13:47:41 UTC
Created attachment 173739 [details]
call setlocale()

setenv LC_ALL de_DE.ISO8859-1


With patch
% /usr/obj/usr/src/bin/domainname/domainname foo
domainname: setdomainname: Operation nicht erlaubt


Without patch
% domainname foo
domainname: setdomainname: Operation not permitted
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2024-01-05 03:54:45 UTC
^Triage: commit bit was taken in for safekeeping.