.
D 2000-10-26T05:03:53
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s4263\sRFE\nVersion:\s8.3\nSubmitDate:\s'2000-02-28'\nLastModified:\s'2000-03-01'\nSeverity:\sCRIT\nStatus:\sAssigned\nSubmitter:\stechsupp\nChangedBy:\shobbs\nOS:\sLinux-Red\sHat\nFixedDate:\s'2000-10-25'\nClosedDate:\s'2000-10-25'\n\n\nName:\n\nmo\n\n\nComments:\n\nThis\spatch\smakes\sthe\sUNIX\sbuild\sdefine\stcl_platform(debug)\sjust\slike\n\n\s\s\s\sthe\swindows\sverison.\sI\sam\snot\ssure\sif\sthis\sis\sthe\s"right"\sway\sto\sdo\sit,\n\n\s\s\s\sbut\sit\sworks.\n\n\nReproducibleScript:\n\nWhen\sTcl\sis\scompiled\swith\sthe\s--enable-symbols\sflag,\sthe\stcl_platform(debug)\n\nis\snot\sset.\sThis\ssame\svar\sis\sset\sunder\sWindows\swhen\scompiling\swith\sdebug\n\non.\sAny\sscript\sthat\slooks\sfor\stcl_platform(debug)\swill\sbreak\swhen\srun\n\nunder\sunix.\n\n\nPatch:\n\nIndex:\sunix/tcl.m4\n\n===================================================================\n\nRCS\sfile:\s/cvsroot/tcl/unix/tcl.m4,v\n\nretrieving\srevision\s1.20\n\ndiff\s-u\s-r1.20\stcl.m4\n\n---\stcl.m42000/02/10\s08:55:321.20\n\n+++\stcl.m42000/02/28\s21:24:51\n\n@@\s-575,7\s+575,7\s@@\n\n\s\s\s\s\sTCL_TRIM_DOTS='`echo\s${VERSION}\s|\str\s-d\s.`'\n\n\s\s\s\s\sECHO_VERSION='`echo\s${VERSION}`'\n\n\s\s\s\s\sTCL_LIB_VERSIONS_OK=ok\n\n-\s\s\s\sCFLAGS_DEBUG=-g\n\n+\s\s\s\sCFLAGS_DEBUG="-g\s-D_DEBUG"\n\n\s\s\s\s\sCFLAGS_OPTIMIZE=-O\n\n\s\s\s\s\sif\stest\s"$using_gcc"\s=\s"yes"\s;\sthen\n\n\sCFLAGS_WARNING="-Wall\s-Wconversion\s-Wno-implicit-int"\n\nIndex:\sunix/tclUnixInit.c\n\n===================================================================\n\nRCS\sfile:\s/cvsroot/tcl/unix/tclUnixInit.c,v\n\nretrieving\srevision\s1.18\n\ndiff\s-u\s-r1.18\stclUnixInit.c\n\n---\stclUnixInit.c1999/10/13\s00:32:491.18\n\n+++\stclUnixInit.c2000/02/28\s21:24:51\n\n@@\s-580,6\s+580,18\s@@\n\n\sTcl_SetVar2(interp,\s"tcl_platform",\s"osVersion",\s"",\sTCL_GLOBAL_ONLY);\n\n\sTcl_SetVar2(interp,\s"tcl_platform",\s"machine",\s"",\sTCL_GLOBAL_ONLY);\n\n\s\s\s\s\s}\n\n+\s\s\s\s\n\n+#ifdef\s_DEBUG\n\n+\s\s\s\s/*\n\n+\s\s\s\s\s*\sThe\sexistence\sof\sthe\s"debug"\selement\sof\sthe\stcl_platform\sarray\sindicates\n\n+\s\s\s\s\s*\sthat\sthis\sparticular\sTcl\sshell\shas\sbeen\scompiled\swith\sdebug\sinformation.\n\n+\s\s\s\s\s*\sUsing\s"info\sexists\stcl_platform(debug)"\sa\sTcl\sscript\scan\sdirect\sthe\s\n\n+\s\s\s\s\s*\sinterpreter\sto\sload\sdebug\sversions\sof\sshared\slibs\swith\sthe\sload\scommand.\n\n+\s\s\s\s\s*/\n\n+\n\n+\s\s\s\sTcl_SetVar2(interp,\s"tcl_platform",\s"debug",\s"1",\n\n+\s\s\s\sTCL_GLOBAL_ONLY);\n\n+#endif\n\n\n\s\s\s\s\s/*\n\n\s\s\s\s\s\s*\sCopy\sUSER\sor\sLOGNAME\senvironment\svariable\sinto\stcl_platform(user)\n\n\nPatchFiles:\n\nunix/tclUnixInit.c\n\n\s\s\s\sunix/tcl.m4\n\n\n\n\nIt's\snoted\sunder\stclvars\sin\sthe\sdocs\sthat\stcl_platform(debug)\nis\sonly\sdefined\son\sWindows,\sso\sI've\schanged\sthis\sto\sRFE.\s\n--\s03/01/2000\shobbs\s\n--\s03/01/2000\shobbs
J foundin obsolete:\s8.3
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 07.\sVariables
J title tcl_platform(debug)\sis\snot\sdefined\sunder\sUNIX
J type RFE
K 219230ffffffffffffffffffffffffffffffffff
U nobody
Z 213827c9463035fd0933340df128ab23