Skip to content
Tcl Source Code View Ticket
Login

View Ticket

9 missing functions in Tcl Stub table

Closed / Fixed218860ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:06:49
OriginalBugID: 2445 Bug
Version: 8.2b1
SubmitDate: '1999-07-26'
LastModified: '1999-08-01'
Severity: MED
Status: Released
Submitter: techsupp
ChangedBy: hobbs
OS: Linux
OSVersion: Redhat 4.2
Machine: Other
FixedDate: '1999-08-01'
FixedInVersion: 8.2b2
ClosedDate: '2000-10-25'


Name:

Jan Nijtmans


Comments:

The function TclWinGetPlatform() should in fact be available for all

    platforms, because it is required to build stub-enabled tests on AIX.

    On other platforms (read: other platforms with proper backlinking

    support) this isn't necessary.


ReproducibleScript:

The following 9 functions exists, but are not defined in the Tcl Stub

    table. The result of this is that the Tcl tests currently cannot be

    compiled as Stub-enabled extensions, something that is promised to be a

    new Tcl8.2 feature.


Patch:

*** generic/tclInt.decls.origThu Jul  1 00:34:44 1999

--- generic/tclInt.declsSun Jul 25 16:31:21 1999

***************

*** 560,565 ****

--- 560,591 ----

      void TclHandleRelease(TclHandle handle)

  }


+ declare 150 generic {

+     int TclRegAbout(Tcl_Interp *interp, Tcl_RegExp re)

+ }

+ 

+ declare 151 generic {

+     int TclpMatchFilesTypes(Tcl_Interp *interp, char *separators, \

+     Tcl_DString *dirPtr, char *pattern, char *tail, GlobTypeData *types)

+ }

+ declare 152 generic {

+     void TclSetLibraryPath(Tcl_Obj *pathPtr)

+ }

+ declare 153 generic {

+     Tcl_Obj *TclGetLibraryPath(void)

+ }

+ declare 154 generic {

+     void TclRegExpRangeUniChar(Tcl_RegExp re, int index, int *startPtr, \

+     int *endPtr)

+ }

+ declare 155 generic {

+     int TclTestChannelCmd(ClientData clientData,

+     Tcl_Interp *interp, int argc, char **argv)

+ }

+ declare 156 generic {

+     int TclTestChannelEventCmd(ClientData clientData, \

+     Tcl_Interp *interp, int argc, char **argv)

+ }

  ##############################################################################


  # Define the platform specific internal Tcl interface. These functions are

***************

*** 761,766 ****

--- 787,798 ----

  }

  declare 24 win {

      char * TclWinNoBackslash(char *path)

+ }

+ declare 25 win {

+     TclPlatformType *TclWinGetPlatform(void)

+ }

+ declare 26 win {

+     void TclWinSetInterfaces(int wide)

  }


  #########################


PatchFiles:

tclInt.decls




TclpMatchFilesTypes was not included, as this is not a Tcl core
function (nor is GlobTypeData a known struct).  Some renumbering
was made 
-- 08/01/1999 hobbs
welch Closed ticket [218860ffff]. [History diff]2000-10-26 08:30:14
dgp Open ticket [218860ffff]. [History diff]2001-04-18 21:46:12
dgp Closed ticket [218860ffff]. [History diff]2001-04-18 21:47:14
Log in (anonymous is fine) to add a comment.