Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 30e7f8ebaebfebe2184a5cf1c067fc195f650df0
Ticket: 507083ffffffffffffffffffffffffffffffffff
TIP 59 Implementation
User & Date: dgp on 2002-02-05 07:57:22
Changes

  1. assignee changed to: "andreas_kupries"
  2. icomment:
    Logged In: YES 
    user_id=80530
    
    Missing documentation and tests, of course.
    
    The Makefile.in definitions of INSTALL_PREFIX,
    INSTALL_EXEC_PREFIX, RUNTIME_EXEC_PREFIX do
    not appear to be bulletproof.  Consider the effects
    of configure options --libdir= or --includedir= or
    a value of TCL_PACKAGE_PATH that consists of more
    than one directory.
    
    The TIP says the array of Tcl_Config values is
    terminated with an empty key, but it appears that
    a NULL character pointer is used instead.  Clarify
    that when docs are written.
    
    I note that all values are required to have the
    same encoding.  I think that's OK, but it is a
    limitation.
    
    "optimized" is stored as a boolean flag, but an
    integer describing various levels of optimization
    may match the possibilities better.
    
    If line wrapping at 72 columns is not part of the
    Tcl Engineering Manual, it should be.
    
    The Tcl_Config array is not copied by Tcl_RegisterConfig;
    instead a pointer to it is kept, so it needs to be
    documented that the caller of Tcl_RegisterConfig cannot
    allow that value to go away.  The Tcl_Config array ought
    to be static.
    
    When creating the "wrap" to be used as ClientData for
    the [pkgconfig] command, it makes more sense to me to
    allocate space for n (Tcl_Obj *)'s rather than n (char *)'s
    even though it technically doesn't make any difference.
    
    Tcl_Alloc and Tcl_Free should not be used.  Use ckalloc
    and ckfree instead so that they are included in any
    memory debugging.
    
    Probably should have a better panic message than
    "This can't happen".  At least include the name of
    the procedure.
    
    Otherwise the implementation (at least the Unix parts)
    appear to do what's specified in TIP 59.  As recognized
    in that TIP, though, that's just one step toward what
    we need.
    
    
  3. login: "dgp"
  4. mimetype: "text/plain"
  5. username: "dgp"