Overview
| Artifact ID: | 7b3648fe7c6f90cd0f6a9e9ae27108e4143a22b2 |
|---|---|
| Ticket: | 218417ffffffffffffffffffffffffffffffffff
This small patch would make it easier to sync Jacl with Tcl |
| User & Date: | nobody on 2000-10-26 00:57:19 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 5570 RFE Version: 8.4a1 SubmitDate: '2000-05-17' LastModified: '2000-05-19' Severity: CRIT Status: Closed Submitter: techsupp ChangedBy: hobbs OS: Linux FixedDate: '2000-10-25' ClosedDate: '2000-05-19' Name: mo CVS: Wed May 17 DesiredBehavior: This small change would make it easier to keep versions of Jacl and the Tcl core in sync. Java does not allow boolean operations on integer values, so the following type of compare is needed. Patch: Index: generic/tclHistory.c =================================================================== RCS file: /cvsroot/tcl/generic/tclHistory.c,v retrieving revision 1.3 diff -u -r1.3 tclHistory.c --- tclHistory.c 1999/04/16 00:46:47 1.3 +++ tclHistory.c 2000/05/17 21:52:54 @@ -138,7 +138,7 @@ */ result = TCL_OK; - if (!(flags & TCL_NO_EVAL)) { + if ((flags & TCL_NO_EVAL) == 0) { result = Tcl_EvalObjEx(interp, cmdPtr, flags & TCL_EVAL_GLOBAL); } return result; PatchFiles: generic/tclHistory.c I don't see the point of this one fix, as this !(mode & BITFLAG) construct is used 48 times in the generic code alone, so why does this one fix help? This is C code, not Java after all... I'm also surprised to see that Java couldn't handle such a basic construct anyway. -- 05/19/2000 hobbs - foundin changed to: "obsolete: 8.4a1"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "69. Other"
- title changed to:
This small patch would make it easier to sync Jacl with Tcl
- type changed to: "RFE"