Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6ed391ada832baffd70c42fbb88ef0ee0c973383
Ticket: 402561ffffffffffffffffffffffffffffffffff
Fix for bug 123153
User & Date: dgp on 2000-12-21 23:47:39
Changes

  1. icomment:
    
    
    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.
    
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"