commit | a0ca4c402d1e19cbc9b317632deab0d7c2492987 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Oct 04 13:39:37 1996 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Oct 04 13:39:37 1996 +0000 |
tree | b090fb45440bf9b4d69b2d5402bb721abd8dfc2f | |
parent | fe779a1dc8065dc175cb4ff454ed6d3a1944adf0 [diff] |
Replace all uses of strncmp (in split, find, rfind) with memcmp, so embedded \0 in the delimiter is handled properly. Thanks to Sjoerd for suggesting this.