Artifacts Associated With Ticket 1107673fffffffff
Ticket change [da1a5eb6cf] (rid 107719) by nobody on 2005-01-23 07:24:08:
- assignee initialized to: "andreas_kupries"
- cmimetype initialized to: "text/plain"
- comment initialized to:
tcl/generic/tclIO.c: ... static void DeleteChannelTable (clientData, interp): 580 for (hPtr = Tcl_FirstHashEntry(hTblPtr, &hSearch); 581 hPtr != (Tcl_HashEntry *) NULL; 582 hPtr = Tcl_FirstHashEntry(hTblPtr, &hSearch)) { The second use of `Tcl_FirstHashEntry' seems to be a mistake. ... int Tcl_GetChannelNamesEx (interp, pattern): 8752 for (hPtr = Tcl_FirstHashEntry(hTblPtr, &hSearch); 8753 hPtr != (Tcl_HashEntry *) NULL; 8754 hPtr = Tcl_NextHashEntry(&hSearch)) { - foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "25. Channel System"
- title initialized to: "tclIO.c (CVS): Tcl_NextHashEntry should be used"
- type initialized to: "Bug"
Ticket change [9b1c02670f] (rid 111066) by dkf on 2005-01-24 16:25:30:
- icomment:
Logged In: YES user_id=79902 Noting that it is safe to do a loop{delete;next} - it is an explicitly supported scenario. - login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [cfbcec3306] (rid 113041) by andreas_kupries on 2005-01-25 05:12:17:
- icomment:
Logged In: YES user_id=75003 The code as is is OK. You get the first hash entry, delete, and when we get the first entry again it will be a different entry. So it is not a bug per se. I was not aware that the loop(delete,next) scenario is supported. That could be a new thing. I dimly remember that I changed code somewhere to the idiom as shown here because the other failed. Donal, note that according to annotate you were the last one to touch this code, Nov 29 last year. There is however no entry in the ChangeLog about this. ... Hm. Janitorial fixes according to cvs log, rev 1.80. But the CVS diff 1.79/1.80 does not show any difference at this location. Ok, something is lying to me. Still, this is not a bug. At most a minor style thing.
- login: "andreas_kupries"
- mimetype: "text/plain"
- priority changed to: "1 Zero"
- username: "andreas_kupries"
- icomment: