summaryrefslogtreecommitdiff
path: root/overlay
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2015-06-24 11:26:33 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2015-06-24 17:03:04 +0100
commit453792c501b4553ed3c4135057249e300d3c0362 (patch)
treec4ba89f7078344bc97f9ff83bd6d39582d2ca815 /overlay
parent7eb5f079491e5c078cf44d5ddb52824bb2c6bfb0 (diff)
lib: Enable locale dependent output to a terminal
If we are in an interactive session, enable the locale. This allows for features like setting thousand separators for printing large values. By only enabling it for interactive terminals, we avoid changing outputs for the test scripts (leaving them as the "C" locale). Note this mainly affects the testcases, or binaries built using libigt. Other binaries need to be localised separately. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Michel Thierry <michel.thierry@intel.com>
Diffstat (limited to 'overlay')
0 files changed, 0 insertions, 0 deletions