Commit f890224
committed
Fix locale handling in Solaris
Solaris setlocale(3C) returns composite locale prefixed by slash. For example
"/en_US.UTF-8/C/C/C/C/C". See man page. We must remove it or this
function will think that there is additional empty locale at the
beginning of the string and the number of detected locales will not
match expected LC_ALL_INDEX_.1 parent 7946d6a commit f890224
2 files changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1439 | 1439 | | |
1440 | 1440 | | |
1441 | 1441 | | |
| 1442 | + | |
1442 | 1443 | | |
1443 | 1444 | | |
1444 | 1445 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1313 | 1313 | | |
1314 | 1314 | | |
1315 | 1315 | | |
| 1316 | + | |
| 1317 | + | |
| 1318 | + | |
| 1319 | + | |
| 1320 | + | |
| 1321 | + | |
| 1322 | + | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
1316 | 1326 | | |
1317 | 1327 | | |
1318 | 1328 | | |
| |||
0 commit comments