Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ff3efc0b9a46189316845e09afa0c2f99c9edbc8
Ticket: 698442ffffffffffffffffffffffffffffffffff
build problem with generic/tclCompCmds.c
User & Date: davygrvy on 2003-03-06 02:11:27
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    bzero() doesn't exist.  Here's my lame patch.
    
    diff -c -r1.40 tclCompCmds.c
    *** tclCompCmds.c5 Mar 2003 22:31:23 -0000
    1.40
    --- tclCompCmds.c6 Mar 2003 02:00:40 -0000
    ***************
    *** 3060,3066 ****
    --- 3060,3073 ----
          contFixIndex = -1;
          fixupArray = (JumpFixup *) ckalloc(sizeof
    (JumpFixup) * argc);
          fixupTargetArray = (int *) ckalloc(sizeof(int) * argc);
    + #ifdef __WIN32__
    +     {
    + extern void __declspec(dllimport) __stdcall 
    RtlZeroMemory(void *, unsigned long);
    + RtlZeroMemory(fixupTargetArray, sizeof(int) * 
    argc);
    +     }
    + #else
          bzero(fixupTargetArray, sizeof(int) * argc);
    + #endif
          fixupCount = 0;
          foundDefault = 0;
          for (i=0 ; i<argc ; i+=2) {
    
    
  4. foundin changed to: "obsolete: 8.5a0"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "davygrvy"
  9. subsystem changed to: "47. Bytecode Compiler"
  10. title changed to: "build problem with generic/tclCompCmds.c"
  11. type changed to: "Bug"