Overview
| Artifact ID: | ff3efc0b9a46189316845e09afa0c2f99c9edbc8 |
|---|---|
| Ticket: | 698442ffffffffffffffffffffffffffffffffff
build problem with generic/tclCompCmds.c |
| User & Date: | davygrvy on 2003-03-06 02:11:27 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- 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) { - foundin changed to: "obsolete: 8.5a0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "davygrvy"
- subsystem changed to: "47. Bytecode Compiler"
- title changed to: "build problem with generic/tclCompCmds.c"
- type changed to: "Bug"