.
D 2000-10-26T01:05:05
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s2038\sRFE\nVersion:\s8.1\nSubmitDate:\s'1999-05-10'\nLastModified:\s'1999-08-06'\nSeverity:\sMED\nStatus:\sReleased\nSubmitter:\spat\nChangedBy:\shobbs\nOS:\sLinux-Red\sHat\nOSVersion:\s4.2\nMachine:\sOther\nFixedDate:\s'1999-08-06'\nFixedInVersion:\s8.2b2\nClosedDate:\s'2000-10-25'\n\n\nName:\nJan\sNijtmans\n\nComments:\nA\sfurther\simprovement\swould\sbe\sto\sexport\n\s\s\s\s\s\s\sTclTestChannelObjCmd\n\s\s\s\s\s\s\sTclTestChannelEventObjCmd\n\s\s\s\sin\sstead\sof\n\s\s\s\s\s\s\sTclTestChannelCmd\n\s\s\s\s\s\s\sTclTestChannelEventCmd\n\s\s\s\s(Objectified\sversions\sof\sthe\ssame\sfunctions)\n\nDesiredBehavior:\nCurrently\sthe\stest\sfiles\s(tclTest.c,\stclObjTest.c\s....)\scannot\n\s\s\s\sbe\scompiled\swith\sthe\s-DUSE_TCL_STUBS\sflag.\sThe\scause\sfor\sthis\n\s\s\s\sis\sthat\s8\sinternal\sfunctions\sare\snot\sexported\s(or\snot\sexported\n\s\s\s\scorrectly)\sin\sthe\sinternal\sstub\stable.\sThe\srequired\sfunctions\n\s\s\s\sto\smake\sthis\swork\sare:\n\s\s\s\s\s\sTclSetLibraryPath\n\s\s\s\s\s\sTclGetLibraryPath\n\s\s\s\s\s\sTclRegAbout\n\s\s\s\s\s\sTclRegExpExecUniChar\n\s\s\s\s\s\sTclRegExpRangeUniChar\n\s\s\s\s\s\sTclTestChannelCmd\n\s\s\s\s\s\sTclTestChannelEventCmd\n\s\s\s\s\s\sTclpStat\n\s\s\s\sIn\sthe\spatch\sbelow,\sthe\sfirst\s7\sof\sthose\sfunctions\sare\sadded\sto\n\s\s\s\stclInt.decls.\sThe\slast\sfunction\s(TclpStat)\sis\salready\spresent,\sbut\n\s\s\s\sdue\sto\sa\sleftover\s"#undef"\sin\stclUnixPort.h,\sthis\sfunction\sis\snot\n\s\s\s\susable\sas\sit\sis\snow.\sThe\spatch\scorrects\sthis\stoo\s(this\sis\sprobably\n\s\s\s\sa\sleft-over\sfrom\sa\sworkaround\sin\s8.1b2,\swhich\sis\sno\slonger\snecessary)\n\n\s\s\s\sFinally,\sbecause\sof\sthe\sadded\s"regexp"\sfunctions,\sthe\sordering\sof\sthe\n\s\s\s\sheader\sfiles\sneeds\sto\sbe\smodified\sin\stclTest.c.\s"tclRegexp.h"\sneeds\n\s\s\s\s"tcl.h"\sfirst,\sand\s"tclInt.h"\sneeds\smacro's\sfrom\s"tclRegexp.h"\sfirst.\n\nPatch:\n***\sgeneric/tclInt.decls.origSun\sMay\s\s9\s16:15:30\s1999\n---\sgeneric/tclInt.declsSun\sMay\s\s9\s17:05:09\s1999\n***************\n***\s529,534\s****\n---\s529,561\s----\n\s\sdeclare\s141\sgeneric\s{\n\s\s\s\s\s\schar\s*TclpGetCwd(Tcl_Interp\s*interp,\sTcl_DString\s*cwdPtr)\n\s\s}\n+\sdeclare\s142\sgeneric\s{\n+\s\s\s\s\svoid\sTclSetLibraryPath(Tcl_Obj\s*pathPtr)\n+\s}\n+\sdeclare\s143\sgeneric\s{\n+\s\s\s\s\sTcl_Obj\s*TclGetLibraryPath(void)\n+\s}\n+\sdeclare\s144\sgeneric\s{\n+\s\s\s\s\sint\sTclRegAbout(Tcl_Interp\s*interp,\sTcl_RegExp\sre)\n+\s}\n+\sdeclare\s145\sgeneric\s{\n+\s\s\s\s\sint\sTclRegExpExecUniChar(Tcl_Interp\s*interp,\sTcl_RegExp\sre,\s\s+\s\s\s\s\sCONST\sTcl_UniChar\s*uniString,\sint\snumChars,\sint\snmatches,\s\s+\s\s\s\s\sint\sflags)\n+\s}\n+\sdeclare\s146\sgeneric\s{\n+\s\s\s\s\svoid\sTclRegExpRangeUniChar(Tcl_RegExp\sre,\sint\sindex,\sint\s*startPtr,\s\s+\s\s\s\s\sint\s*endPtr)\n+\s}\n+\sdeclare\s147\sgeneric\s{\n+\s\s\s\s\sint\sTclTestChannelCmd(ClientData\sclientData,\n+\s\s\s\s\sTcl_Interp\s*interp,\sint\sargc,\schar\s**argv)\n+\s}\n+\sdeclare\s148\sgeneric\s{\n+\s\s\s\s\sint\sTclTestChannelEventCmd(ClientData\sclientData,\s\s+\s\s\s\s\sTcl_Interp\s*interp,\sint\sargc,\schar\s**argv)\n+\s}\n+\s\n\s\s##############################################################################\n\n\s\s#\sDefine\sthe\splatform\sspecific\sinternal\sTcl\sinterface.\sThese\sfunctions\sare\n***\sgeneric/tclTest.c.origThu\sApr\s29\s03:11:49\s1999\n---\sgeneric/tclTest.cSun\sMay\s\s9\s17:09:51\s1999\n***************\n***\s18,26\s****\n\n\s\s#define\sTCL_TEST\n\n\s\s#include\s"tclInt.h"\n\s\s#include\s"tclPort.h"\n-\s#include\s"tclRegexp.h"\n\s\s#include\s<locale.h>\n\n\s\s/*\n---\s18,27\s----\n\n\s\s#define\sTCL_TEST\n\n+\s#include\s"tcl.h"\n+\s#include\s"tclRegexp.h"\n\s\s#include\s"tclInt.h"\n\s\s#include\s"tclPort.h"\n\s\s#include\s<locale.h>\n\n\s\s/*\n***\sunix/tclUnixPort.h.origSun\sMay\s\s9\s18:35:41\s1999\n---\sunix/tclUnixPort.hSun\sMay\s\s9\s18:36:38\s1999\n***************\n***\s467,479\s****\n\n\s\s#define\sTclpExitexit\n\n-\s#ifdef\sTclpStat\n-\s#undef\sTclpStat\n-\s#endif\n-\s\n\s\sEXTERN\sintTclpLstat\s_ANSI_ARGS_((CONST\schar\s*path,\s\n-\s\s\s\s\sstruct\sstat\s*buf));\n-\sEXTERN\sintTclpStat\s_ANSI_ARGS_((CONST\schar\s*path,\s\n\s\s\s\s\s\sstruct\sstat\s*buf));\n\n\s\s/*\n---\s467,473\s----\n\nPatchFiles:\ntclInt.decls\stclTest.c\stclUnixPort.h\n\n\n\nThese\swere\sadded\sin\s8.2b2.\s\n--\s08/06/1999\shobbs
J foundin obsolete:\s8.1
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title Missing\sfunctions\sfrom\sinternal\sStub\stable
J type RFE
K 218763ffffffffffffffffffffffffffffffffff
U nobody
Z cfaba4e8eb11007a184474a6a2c5f9fc