Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

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

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. 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
    
  4. foundin changed to: "obsolete: 8.4a1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to:
    This small patch would make it easier to sync Jacl with Tcl
    
  11. type changed to: "RFE"