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 /%2525252525253fid%2525252525253dc306fea42674a3ee0387a98a05724c4507cd90f9%25252525253fid%25252525253dc306fea42674a3ee0387a98a05724c4507cd90f9%252525253fid%252525253d681b8998c25dadd2673c7fb7218a43df3921b48f%2525253fid%2525253d681b8998c25dadd2673c7fb7218a43df3921b48f%25253fid%25253dea5afdccbd23d61e70f3ef62aabd9b6726b2c20f%253fid%253d0c268f5fc93fe3e96c543b771a5d6070d4c55985%3fid%3d0c268f5fc93fe3e96c543b771a5d6070d4c55985&id2%3d78925115014bea2f4ead26f0dd7f833ff301ad11?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 '%2525252525253fid%2525252525253dc306fea42674a3ee0387a98a05724c4507cd90f9%25252525253fid%25252525253dc306fea42674a3ee0387a98a05724c4507cd90f9%252525253fid%252525253d681b8998c25dadd2673c7fb7218a43df3921b48f%2525253fid%2525253d681b8998c25dadd2673c7fb7218a43df3921b48f%25253fid%25253dea5afdccbd23d61e70f3ef62aabd9b6726b2c20f%253fid%253d0c268f5fc93fe3e96c543b771a5d6070d4c55985%3fid%3d0c268f5fc93fe3e96c543b771a5d6070d4c55985&id2%3d78925115014bea2f4ead26f0dd7f833ff301ad11?id=0c268f5fc93fe3e96c543b771a5d6070d4c55985')
0 files changed, 0 insertions, 0 deletions