Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | merge trunk |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | tip-445 |
Files: | files | file ages | folders |
SHA1: |
b1dcc7542c96253ba5f27861f5d523b9 |
User & Date: | dgp 2016-10-20 16:37:42 |
Context
2016-10-21
| ||
13:12 | merge trunk check-in: 463bbb7445 user: dgp tags: tip-445 | |
2016-10-20
| ||
16:37 | merge trunk check-in: b1dcc7542c user: dgp tags: tip-445 | |
2016-10-18
| ||
19:16 | Use memcmp where possible. check-in: 1799506222 user: dgp tags: trunk | |
2016-10-14
| ||
19:54 | merge trunk check-in: b4524d0b86 user: dgp tags: tip-445 | |
Changes
Changes to generic/tclCmdMZ.c.
︙ | ︙ | |||
1238 1239 1240 1241 1242 1243 1244 | end = haystackStr + haystackLen - needleLen + 1; for (p = haystackStr; p < end; p++) { /* * Scan forward to find the first character. */ | | | | 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 | end = haystackStr + haystackLen - needleLen + 1; for (p = haystackStr; p < end; p++) { /* * Scan forward to find the first character. */ if ((*p == *needleStr) && (memcmp(needleStr, p, sizeof(Tcl_UniChar) * (size_t)needleLen) == 0)) { match = p - haystackStr; break; } } } /* |
︙ | ︙ |