Bug 211904

Summary: bin/domainname - call setlocale so tool adheres to support localisation
Product: Base System Reporter: Sevan Janiyan <venture37>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Some People CC: bdrewery
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
call setlocale() none

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.