Repository navigation
Commit 212ee78
committed
tr: skip locale initialisation on Windows
On Windows, setlocale with an empty string selects the user's ANSI
code page, so the C library classifies high bytes and five existing
tests fail. Windows keeps the previous ASCII only behaviour, as on
WASI.
Also update fuzz/Cargo.lock, which missed the libc dependency added
to uu_tr and failed the locked fetch checks.1 parent 14a2de8 commit 212ee78
2 files changed
Lines changed: 8 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
223 | | - | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
224 | 228 | | |
225 | 229 | | |
226 | 230 | | |
227 | 231 | | |
228 | 232 | | |
229 | 233 | | |
230 | 234 | | |
231 | | - | |
| 235 | + | |
232 | 236 | | |
233 | 237 | | |
234 | 238 | | |
| |||
0 commit comments