Bug 211901

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

Description Sevan Janiyan 2016-08-16 13:17:56 UTC
Created attachment 173736 [details]
call setlocale()

setenv LC_ALL de_DE.ISO8859-1

with patch
% /usr/obj/usr/src/bin/cp/cp notpresent1 notpreset2
cp: notpresent1: Datei oder Verzeichnis nicht gefunden

without patch
% cp notpresent1 notpreset2
cp: notpresent1: No such file or directory
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2024-01-05 03:55:15 UTC
^Triage: commit bit was taken in for safekeeping.