]> granicus.if.org Git - python/commit
Replace all uses of strncmp (in split, find, rfind) with memcmp, so
authorGuido van Rossum <guido@python.org>
Fri, 4 Oct 1996 13:39:37 +0000 (13:39 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 4 Oct 1996 13:39:37 +0000 (13:39 +0000)
commita0ca4c402d1e19cbc9b317632deab0d7c2492987
treeb090fb45440bf9b4d69b2d5402bb721abd8dfc2f
parentfe779a1dc8065dc175cb4ff454ed6d3a1944adf0
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.
Modules/stropmodule.c