Skip to content
Tcl Source Code Check-in [a7ee015dd6]
Login

Check-in [a7ee015dd6]

Overview
Comment:Do not deallocate Tcl_ArraySearchStart()-initiated array searches when Tcl_ArraySearchPeek() or Tcl_ArraySearchNext() is called, only when Tcl_ArraySearchDone() is called. This avoids a crash should user code unconditionally call Tcl_ArraySearchDone() at the end of an array enumeration loop. This change does not affect array searches initiated by the Tcl script command [array startsearch].
Timelines: family | ancestors | descendants | both | amg-array-enum-c-api
Files: files | file ages | folders
SHA1: a7ee015dd64db3dc7b48d9cf0dc1961093cd7bc1
User & Date: andy on 2016-12-25 00:23:21.301
Other Links: branch diff | manifest | tags
Context
2016-12-25
00:39
Add note to array documentation about the general uselessness of -exact matching. It exists because... check-in: aac2dc5db6 user: andy tags: amg-array-enum-c-api
00:23
Do not deallocate Tcl_ArraySearchStart()-initiated array searches when Tcl_ArraySearchPeek() or Tcl_... check-in: a7ee015dd6 user: andy tags: amg-array-enum-c-api
00:11
Update tests array-7.16 and array-7.17 and delete test array-7.18 now that bug [46a2410650] is fixed check-in: 63059c3e09 user: andy tags: amg-array-enum-c-api
Changes