mirror of
https://github.com/sheumann/hush.git
synced 2024-08-17 00:29:03 +00:00
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 |