Skip to content
Tcl Source Code History Of Ticket 217995ffffffffff
Login

History Of Ticket 217995ffffffffff

Artifacts Associated With Ticket 217995ffffffffff

  1. Ticket change [0fa78cdc02] (rid 94825) by nobody on 2000-10-26 00:51:47:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 646 Bug
      Version: 8.0p2
      SubmitDate: '1998-05-25'
      LastModified: '1998-11-19'
      Severity: LOW
      Status: Closed
      Submitter: hershey
      ChangedBy: rjohnson
      OS: Linux
      OSVersion: NA
      Machine: NA
      FixedDate: '2000-10-25'
      FixedInVersion: NA
      ClosedDate: '1998-11-19'
      
      
      I am trying to compile on Linux with
      
      #define USE_TCLALLOC 1
      
      turned on and TCL_MEM_DEBUG turned off. I get link errors for TclpAlloc,
      TclpFree, and TclpRealloc.
      
      In tcl8.0p2, tclUnixPort.h had the following definitions:
      
      /*
       * The following defines denote malloc and free as the system calls
       * used to allocate new memory.  These defines are only used in the
       * file tclCkalloc.c.
       */
      
      #define TclpAlloc(size)         malloc(size)
      #define TclpFree(ptr)           free(ptr)
      #define TclpRealloc(ptr, size)  realloc(ptr, size)
      
      Is there a reason these definitions were removed?
      
      
      Sydney Polk, [email protected]
      Source-Navigator Development Manager
      Cygnus Solutions
      
      They are not removed.  They are only defined in the Mac & Windows case.  The UNIX build was never designed for the USE_TCLALLOC to work for it.  (It probably would work - but it's never been tried.)  Ray
      
      BTW, I know Syd has already moved passed this and made the memory allocator work on UNIX.
      
      
      
    4. foundin initialized to: "obsolete: 8.0p2"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "61. (unused)"
    10. title initialized to: "installation trouble on linux"
    11. type initialized to: "Bug"
  2. Ticket change [543cb0be16] (rid 93913) by welch on 2000-10-26 08:12:10:

    1. closedate changed to: "2000-10-26T01:12:10"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [e7ac23db47] (rid 104507) by dgp on 2001-04-05 08:23:13:

    1. closedate changed to: "2001-04-05T01:23:13"
    2. closer changed to: "dgp"
    3. subsystem changed to: "53. Configuration and Build Tools"