Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b0d72e38d71934ef9784700c0d6855140ebea674
Ticket: 224384ffffffffffffffffffffffffffffffffff
Tcl won't compile with 'TCL_MEM_DEBUG' enabled
User & Date: nobody on 2000-12-06 19:01:43
Changes

  1. icomment:
    Fixing the typo above, and adding the following two functions to the first half (the '#if' not '#else' half) of tclCkalloc.c will allow Tcl to work again.
    
    char *
    Tcl_AttemptDbCkrealloc(ptr, size, file, line)
        char *ptr;
        unsigned int size;
        char *file;
        int line;
    {
        char *result;
    
        result = (char *) Tcl_DbCkrealloc(ptr, size, file, line);
        return result;
    }
    char *
    Tcl_AttemptDbCkalloc(size, file, line)
        unsigned int size;
        char        *file;
        int          line;
    {
        char *result;
    
        result = (char *) Tcl_DbCkalloc(size, file, line);
        return result;
    }
    
    
    
  2. login: "nobody"
  3. mimetype: "text/plain"
  4. username: "nobody"