-
Committer:
Daniel van Vugt
-
Author(s):
Michael Terry
-
Date:
2014-12-05 02:55:17 UTC
-
mfrom:
(2120.1.1 trunk)
-
Revision ID:
daniel.van.vugt@canonical.com-20141205025517-wnh5edm6rv2fuo43
Fix parsing environment arguments in the Turkish locale by calling
tolower() with the standard C locale. (LP: #1398984)
In the Turkish locale, tolower('I') gives you back 'I'. This is often
unexpected and a common 'gotcha' when comparing the results to a
hardcoded string. One easy fix is to use the C locale for case
conversions when you are only really interested in the normal ASCII set.