Bug 211902 - bin/dd - pass LC_ALL instead of LC_CTYPE to setlocale(3) to account for localised error messages
Summary: bin/dd - pass LC_ALL instead of LC_CTYPE to setlocale(3) to account for local...
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: Sevan Janiyan
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2016-08-16 13:34 UTC by Sevan Janiyan
Modified: 2016-09-29 01:37 UTC (History)
1 user (show)

See Also:


Attachments
call setlocale() (301 bytes, patch)
2016-08-16 13:34 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:34:51 UTC
Created attachment 173737 [details]
call setlocale()

In order to support localised messages returned by dd for things such as error messages, call LC_ALL.
This is to avoid individually listing LC_ variables to inherit by the tool & avoid further adjustment in the future.