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 /%2525253fid%2525253d5a6fa8d550c11552480f10e660073ca294d446b1%25253fid%25253d66f31c307adbdcc2505239260ecda24a49eea7af%253fid%253dea5afdccbd23d61e70f3ef62aabd9b6726b2c20f%3fid%3d0c268f5fc93fe3e96c543b771a5d6070d4c55985?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 '%2525253fid%2525253d5a6fa8d550c11552480f10e660073ca294d446b1%25253fid%25253d66f31c307adbdcc2505239260ecda24a49eea7af%253fid%253dea5afdccbd23d61e70f3ef62aabd9b6726b2c20f%3fid%3d0c268f5fc93fe3e96c543b771a5d6070d4c55985?id=0c268f5fc93fe3e96c543b771a5d6070d4c55985')
0 files changed, 0 insertions, 0 deletions