Skip to content
Tcl Source Code History Of Ticket 218763
Login

History Of Ticket 218763

Artifacts Associated With Ticket 218763

  1. Ticket change [23bdb5176a] (rid 130987) by nobody on 2000-10-26 01:05:05:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 2038 RFE
      Version: 8.1
      SubmitDate: '1999-05-10'
      LastModified: '1999-08-06'
      Severity: MED
      Status: Released
      Submitter: pat
      ChangedBy: hobbs
      OS: Linux-Red Hat
      OSVersion: 4.2
      Machine: Other
      FixedDate: '1999-08-06'
      FixedInVersion: 8.2b2
      ClosedDate: '2000-10-25'
      
      
      Name:
      Jan Nijtmans
      
      Comments:
      A further improvement would be to export
             TclTestChannelObjCmd
             TclTestChannelEventObjCmd
          in stead of
             TclTestChannelCmd
             TclTestChannelEventCmd
          (Objectified versions of the same functions)
      
      DesiredBehavior:
      Currently the test files (tclTest.c, tclObjTest.c ....) cannot
          be compiled with the -DUSE_TCL_STUBS flag. The cause for this
          is that 8 internal functions are not exported (or not exported
          correctly) in the internal stub table. The required functions
          to make this work are:
            TclSetLibraryPath
            TclGetLibraryPath
            TclRegAbout
            TclRegExpExecUniChar
            TclRegExpRangeUniChar
            TclTestChannelCmd
            TclTestChannelEventCmd
            TclpStat
          In the patch below, the first 7 of those functions are added to
          tclInt.decls. The last function (TclpStat) is already present, but
          due to a leftover "#undef" in tclUnixPort.h, this function is not
          usable as it is now. The patch corrects this too (this is probably
          a left-over from a workaround in 8.1b2, which is no longer necessary)
      
          Finally, because of the added "regexp" functions, the ordering of the
          header files needs to be modified in tclTest.c. "tclRegexp.h" needs
          "tcl.h" first, and "tclInt.h" needs macro's from "tclRegexp.h" first.
      
      Patch:
      *** generic/tclInt.decls.origSun May  9 16:15:30 1999
      --- generic/tclInt.declsSun May  9 17:05:09 1999
      ***************
      *** 529,534 ****
      --- 529,561 ----
        declare 141 generic {
            char *TclpGetCwd(Tcl_Interp *interp, Tcl_DString *cwdPtr)
        }
      + declare 142 generic {
      +     void TclSetLibraryPath(Tcl_Obj *pathPtr)
      + }
      + declare 143 generic {
      +     Tcl_Obj *TclGetLibraryPath(void)
      + }
      + declare 144 generic {
      +     int TclRegAbout(Tcl_Interp *interp, Tcl_RegExp re)
      + }
      + declare 145 generic {
      +     int TclRegExpExecUniChar(Tcl_Interp *interp, Tcl_RegExp re,  +     CONST Tcl_UniChar *uniString, int numChars, int nmatches,  +     int flags)
      + }
      + declare 146 generic {
      +     void TclRegExpRangeUniChar(Tcl_RegExp re, int index, int *startPtr,  +     int *endPtr)
      + }
      + declare 147 generic {
      +     int TclTestChannelCmd(ClientData clientData,
      +     Tcl_Interp *interp, int argc, char **argv)
      + }
      + declare 148 generic {
      +     int TclTestChannelEventCmd(ClientData clientData,  +     Tcl_Interp *interp, int argc, char **argv)
      + }
      + 
        ##############################################################################
      
        # Define the platform specific internal Tcl interface. These functions are
      *** generic/tclTest.c.origThu Apr 29 03:11:49 1999
      --- generic/tclTest.cSun May  9 17:09:51 1999
      ***************
      *** 18,26 ****
      
        #define TCL_TEST
      
        #include "tclInt.h"
        #include "tclPort.h"
      - #include "tclRegexp.h"
        #include <locale.h>
      
        /*
      --- 18,27 ----
      
        #define TCL_TEST
      
      + #include "tcl.h"
      + #include "tclRegexp.h"
        #include "tclInt.h"
        #include "tclPort.h"
        #include <locale.h>
      
        /*
      *** unix/tclUnixPort.h.origSun May  9 18:35:41 1999
      --- unix/tclUnixPort.hSun May  9 18:36:38 1999
      ***************
      *** 467,479 ****
      
        #define TclpExitexit
      
      - #ifdef TclpStat
      - #undef TclpStat
      - #endif
      - 
        EXTERN intTclpLstat _ANSI_ARGS_((CONST char *path, 
      -     struct stat *buf));
      - EXTERN intTclpStat _ANSI_ARGS_((CONST char *path, 
            struct stat *buf));
      
        /*
      --- 467,473 ----
      
      PatchFiles:
      tclInt.decls tclTest.c tclUnixPort.h
      
      
      
      These were added in 8.2b2. 
      -- 08/06/1999 hobbs
      
    4. foundin initialized to: "obsolete: 8.1"
    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: "69. Other"
    10. title initialized to: "Missing functions from internal Stub table"
    11. type initialized to: "RFE"
  2. Ticket change [2bd8cfb2aa] (rid 118815) by welch on 2000-10-26 08:28:14:

    1. closedate changed to: "2000-10-26T01:28:14"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [5e5c936a0f] (rid 115626) by dgp on 2001-04-18 07:05:23:

    1. foundin changed to: "None"
    2. status changed to: "Open"
    3. subsystem changed to: "None"
  4. Ticket change [eb3cbc3a1c] (rid 103509) by dgp on 2001-04-18 07:06:48:

    1. closedate changed to: "2001-04-18T00:06:48"
    2. closer changed to: "dgp"
    3. status changed to: "Closed"