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%2525252525253d9928739768026b3a2a28a7460e100a569073fff5%25252525253fid%25252525253d2c031a511372f04d4798aa746abf2d24c1f584f8%252525253fid%252525253d6ae770c5cd10e64ad42683fdccefe58823dd8f0c%2525253fid%2525253d5a6fa8d550c11552480f10e660073ca294d446b1%25253fid%25253d5a6fa8d550c11552480f10e660073ca294d446b1%253fid%253d66f31c307adbdcc2505239260ecda24a49eea7af%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 '%2525252525253fid%2525252525253d9928739768026b3a2a28a7460e100a569073fff5%25252525253fid%25252525253d2c031a511372f04d4798aa746abf2d24c1f584f8%252525253fid%252525253d6ae770c5cd10e64ad42683fdccefe58823dd8f0c%2525253fid%2525253d5a6fa8d550c11552480f10e660073ca294d446b1%25253fid%25253d5a6fa8d550c11552480f10e660073ca294d446b1%253fid%253d66f31c307adbdcc2505239260ecda24a49eea7af%3fid%3dea5afdccbd23d61e70f3ef62aabd9b6726b2c20f?id=0c268f5fc93fe3e96c543b771a5d6070d4c55985')
0 files changed, 0 insertions, 0 deletions