Bug 211936

Summary: bin/realpath - 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 Only Me    
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
call setlocale() none

Description Sevan Janiyan 2016-08-17 11:17:46 UTC
Created attachment 173775 [details]
call setlocale()

setenv LC_ALL de_DE.ISO8859-1

with patch
% /usr/obj/usr/src/bin/realpath/realpath notpresent
realpath: notpresent: Datei oder Verzeichnis nicht gefunden

without patch
% realpath notpresent
realpath: notpresent: No such file or directory
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2024-01-05 03:52:42 UTC
^Triage: commit bit was taken in for safekeeping.