diff options
author | Ivan Mikhnovich <ivan.mikhnovich@gmail.com> | 2021-05-23 19:24:42 +0300 |
---|---|---|
committer | Ivan Mikhnovich <ivan.mikhnovich@gmail.com> | 2021-05-23 19:24:42 +0300 |
commit | 0c268f5fc93fe3e96c543b771a5d6070d4c55985 (patch) | |
tree | 3423050eff8dda91c92aeeaf0c88ddba5b652e36 /%252525253fid%252525253dc306fea42674a3ee0387a98a05724c4507cd90f9%2525253fid%2525253dc306fea42674a3ee0387a98a05724c4507cd90f9%25253fid%25253d681b8998c25dadd2673c7fb7218a43df3921b48f%253fid%253d681b8998c25dadd2673c7fb7218a43df3921b48f%3fid%3dea5afdccbd23d61e70f3ef62aabd9b6726b2c20f?id=0c268f5fc93fe3e96c543b771a5d6070d4c55985 | |
parent | 78925115014bea2f4ead26f0dd7f833ff301ad11 (diff) |
Replace bughy implementation of function 'remove_all()'.
Counterexample for old implementation:
char str[] = "aaa";
remove_all(str, 'a');
printf("%s\n", str); // displays "a" if we're lucky,
//or crashes if we're not.
Diffstat (limited to '%252525253fid%252525253dc306fea42674a3ee0387a98a05724c4507cd90f9%2525253fid%2525253dc306fea42674a3ee0387a98a05724c4507cd90f9%25253fid%25253d681b8998c25dadd2673c7fb7218a43df3921b48f%253fid%253d681b8998c25dadd2673c7fb7218a43df3921b48f%3fid%3dea5afdccbd23d61e70f3ef62aabd9b6726b2c20f?id=0c268f5fc93fe3e96c543b771a5d6070d4c55985')
0 files changed, 0 insertions, 0 deletions