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