mirror of
https://github.com/topjohnwu/ndk-busybox.git
synced 2024-12-04 18:06:52 +00:00
998dbee6d9
it looks like the introduced support for character classes and equivalence classes is not correct. The attached patch tries to fix some symptoms and tries to make tr behave like gnu tr for the added test cases. The patch - removes if clauses with side effects - fixes handling of buffer pointer (strcat added characters to the buffer without increasing the buffer pointer) - re-arranges character classes to match ASCII order regards, Jean |
||
---|---|---|
.. | ||
tr-d-works | ||
tr-non-gnu | ||
tr-works |