|
2001-04-05
| ||
| 07:08 | • Ticket [402561ffff] Fix for bug 123153 status still Closed with 3 other chan... artifact: cf726e3832 user: dgp | |
|
2001-01-19
| ||
| 20:28 | • Closed ticket [402561ffff]. artifact: 543a7ce0d8 user: andreas_kupries | |
|
2001-01-18
| ||
| 06:53 | • Ticket [402561ffff]: 4 changes artifact: fce921d752 user: dgp | |
|
2001-01-17
| ||
| 03:41 | • Ticket [402561ffff]: 4 changes artifact: 7d3877c551 user: andreas_kupries | |
| 03:40 | • Ticket [402561ffff]: 4 changes artifact: ee4cfa1946 user: andreas_kupries | |
|
2001-01-16
| ||
| 13:34 | • Ticket [402561ffff]: 4 changes artifact: 5d6cfef3f2 user: andreas_kupries | |
| 13:26 | • Ticket [402561ffff]: 4 changes artifact: 12bae73c78 user: andreas_kupries | |
| 13:26 | • Ticket [402561ffff]: 4 changes artifact: 7eb5000754 user: andreas_kupries | |
|
2000-12-21
| ||
| 23:47 | • Ticket [402561ffff]: 4 changes artifact: 6ed391ada8 user: dgp | |
| 16:21 | • Ticket [402561ffff]: 4 changes artifact: 937bc560fe user: andreas_kupries | |
| 03:24 | • Ticket [402561ffff]: 4 changes artifact: 9a463ea0fa user: dgp | |
|
2000-12-20
| ||
| 15:52 | • Ticket [402561ffff]: 4 changes artifact: 6411551909 user: andreas_kupries | |
|
2000-12-10
| ||
| 09:24 | • Ticket [402561ffff]: 5 changes artifact: 1da104d17f user: hobbs | |
|
2000-11-28
| ||
| 18:02 | • Add attachment None to ticket [402561ffff] artifact: 5d32ba6750 user: andreas_kupries | |
| 11:02 | • New ticket [402561ffff] Fix for bug 123153. artifact: c75533532b user: andreas_kupries | |
Fix for bug 123153
Closed / Accepted402561ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
hobbsplain2000-12-10 09:24:31
Is the aesthetic change of Tcl_InitHashTableEx to Tcl_InitExtendedHashTable really necessary? As the comment notes, the use of Tcl_*Ex is ubiquitous, even if many hate it due to its overuse by Windows. At least people understand it.
andreas_kupriesplain2000-12-20 15:52:17
Although I would like to see the *Ex functions exterminated I also have not that big an attachment to this part of the patch that makes me unable to drop it. I am willing to leave this hunk out (now), but would also log a request to cleanup the mess with the 'Ex'es for Tcl 9.
dgpplain2000-12-21 03:24:06
This patch is missing changes to doc/Hash.3 to document the new public function. Maybe that's because of the indecision on the name? My vote is to change the name to Tcl_InitExtendedHashTable(). I agree we should aim for getting rid of all the *Ex() stuff in the long run, so why keep one now when we aren't forced to do so by compatibility with a prior stable release? Add the docs and I'll approve integration.
andreas_kupriesplain2000-12-21 16:21:58
Patch Code - Modified - New Version The forgotten changes to doc/Hash.3 are now part of the (revised) patch.
dgpplain2000-12-21 23:47:39
Patch Code - Modified - New Version
The patch did not apply clean to the CVS HEAD,
partly due to end-of-line translations, and
partly because it looks like a diff from an
earlier state of the sources. I think using
`cvs diff -c` to generate patches works better.
After applying the patch and cleaning up, there were
still references to Tcl_InitHashTableEx() in doc/Hash.3,
generic/tclHash.c, generic/tclObj.c, and unix/mkLinks.
The reference in generic/tclObj.c causes a link failure
when trying to build the patched sources.
On line 145 of the patched generic/tclHash.c, was there
still any reason to keep the
#undef Tcl_InitHashTable
? I assumed there wasn't, and have removed it.
The revised patch corrects these problems and updates
the ChangeLog message to reflect these additions.
One other issue I did not revise is the documentation.
After patching, doc/Hash.3 still claims:
Tcl_InitHashTable calls the extended function
Tcl_InitExtendedHashTable with a NULL typePtr.
but that's no longer true since the macro has been
removed, right? Please correct that, or explain to
me why it is still correct.
andreas_kupriesplain2001-01-16 13:26:12
Patch Code - Modified - New Version
andreas_kupriesplain2001-01-16 13:26:43
Patch Code - Modified - New Version
andreas_kupriesplain2001-01-16 13:34:08
Patch Code - Modified - New Version
andreas_kupriesplain2001-01-17 03:40:03
Patch Code - Modified - New Version
andreas_kupriesplain2001-01-17 03:41:32
Patch Code - Modified - New Version
dgpplain2001-01-18 06:53:32
Patch Code - Modified - New Version Since the macro Tcl_InitHashTable has been restored (when TCL_PRESERVE_BINARY_COMPATIBILITY is not set) the #undef Tcl_InitHashTable (line 145 of generic/tclHash.c) must be restored as well. New patch uploaded making that change. With that change, I think this patch can be applied. It fixes the reported bug. Depending on how discussions on TCLCORE are resolved, we may want to make further changes. I'm not a big fan of this TCL_PRESERVE_BINARY_COMPATIBILITY macro. It just invites the existence of yet another incompatible variant of Tcl out there for extension writers to have to worry about. If the TCT establishes that we simply won't allow binary incompatibility except at major version increments, then tests for truth of TCL_PRESERVE_BINARY_COMPATIBILITY could all be replaced with tests that TCL_MAJOR_VERSION >= 9, or the incompatible code could just be removed completely from the 8.x development branch. There no need to make the availability of a fix for Bug 123153 in CVS wait for a resolution of that matter though. Nice work, Andreas, improving the flow of the man page.
andreas_kupriesplain2001-01-19 20:28:47
Committed.
dgp Ticket [402561ffff]: 3 changes
[History diff]2001-04-05 07:08:30
Log in (anonymous is fine) to add a comment.
Attachments:
- None [download] added by andreas_kupries on 2000-11-28 18:02:19. [details]