Skip to content
Tcl Source Code Artifact [b1869cc35b]
Login

Artifact [b1869cc35b]

Artifact b1869cc35b0f7f381a112651465bcbf486f62aed:

Ticket change [b1869cc35b] - Closed ticket [219230ffffffffff|219230ffff]: <i>tcl_platform(debug) is not defined under UNIX</i> plus 9 other changes by jan.nijtmans on 2013-07-02 12:59:53.
D 2013-07-02T12:59:53.962
J assignee jhobbs
J closedate 2456476.04159678
J closer jan.nijtmans
J comment OriginalBugID:\s4263\sRFE\r\nVersion:\s8.3\r\nSubmitDate:\s'2000-02-28'\r\nLastModified:\s'2000-03-01'\r\nSeverity:\sCRIT\r\nStatus:\sAssigned\r\nSubmitter:\stechsupp\r\nChangedBy:\shobbs\r\nOS:\sLinux-Red\sHat\r\nFixedDate:\s'2000-10-25'\r\nClosedDate:\s'2000-10-25'\r\n\r\n\r\nName:\r\n\r\nmo\r\n\r\n\r\nComments:\r\n\r\nThis\spatch\smakes\sthe\sUNIX\sbuild\sdefine\stcl_platform(debug)\sjust\slike\r\n\r\n\s\s\s\sthe\swindows\sverison.\sI\sam\snot\ssure\sif\sthis\sis\sthe\s"right"\sway\sto\sdo\sit,\r\n\r\n\s\s\s\sbut\sit\sworks.\r\n\r\n\r\nReproducibleScript:\r\n\r\nWhen\sTcl\sis\scompiled\swith\sthe\s--enable-symbols\sflag,\sthe\stcl_platform(debug)\r\n\r\nis\snot\sset.\sThis\ssame\svar\sis\sset\sunder\sWindows\swhen\scompiling\swith\sdebug\r\n\r\non.\sAny\sscript\sthat\slooks\sfor\stcl_platform(debug)\swill\sbreak\swhen\srun\r\n\r\nunder\sunix.\r\n\r\n\r\nPatch:\r\n\r\nIndex:\sunix/tcl.m4\r\n\r\n===================================================================\r\n\r\nRCS\sfile:\s/cvsroot/tcl/unix/tcl.m4,v\r\n\r\nretrieving\srevision\s1.20\r\n\r\ndiff\s-u\s-r1.20\stcl.m4\r\n\r\n---\stcl.m42000/02/10\s08:55:321.20\r\n\r\n+++\stcl.m42000/02/28\s21:24:51\r\n\r\n@@\s-575,7\s+575,7\s@@\r\n\r\n\s\s\s\s\sTCL_TRIM_DOTS='`echo\s${VERSION}\s|\str\s-d\s.`'\r\n\r\n\s\s\s\s\sECHO_VERSION='`echo\s${VERSION}`'\r\n\r\n\s\s\s\s\sTCL_LIB_VERSIONS_OK=ok\r\n\r\n-\s\s\s\sCFLAGS_DEBUG=-g\r\n\r\n+\s\s\s\sCFLAGS_DEBUG="-g\s-D_DEBUG"\r\n\r\n\s\s\s\s\sCFLAGS_OPTIMIZE=-O\r\n\r\n\s\s\s\s\sif\stest\s"$using_gcc"\s=\s"yes"\s;\sthen\r\n\r\n\sCFLAGS_WARNING="-Wall\s-Wconversion\s-Wno-implicit-int"\r\n\r\nIndex:\sunix/tclUnixInit.c\r\n\r\n===================================================================\r\n\r\nRCS\sfile:\s/cvsroot/tcl/unix/tclUnixInit.c,v\r\n\r\nretrieving\srevision\s1.18\r\n\r\ndiff\s-u\s-r1.18\stclUnixInit.c\r\n\r\n---\stclUnixInit.c1999/10/13\s00:32:491.18\r\n\r\n+++\stclUnixInit.c2000/02/28\s21:24:51\r\n\r\n@@\s-580,6\s+580,18\s@@\r\n\r\n\sTcl_SetVar2(interp,\s"tcl_platform",\s"osVersion",\s"",\sTCL_GLOBAL_ONLY);\r\n\r\n\sTcl_SetVar2(interp,\s"tcl_platform",\s"machine",\s"",\sTCL_GLOBAL_ONLY);\r\n\r\n\s\s\s\s\s}\r\n\r\n+\s\s\s\s\r\n\r\n+#ifdef\s_DEBUG\r\n\r\n+\s\s\s\s/*\r\n\r\n+\s\s\s\s\s*\sThe\sexistence\sof\sthe\s"debug"\selement\sof\sthe\stcl_platform\sarray\sindicates\r\n\r\n+\s\s\s\s\s*\sthat\sthis\sparticular\sTcl\sshell\shas\sbeen\scompiled\swith\sdebug\sinformation.\r\n\r\n+\s\s\s\s\s*\sUsing\s"info\sexists\stcl_platform(debug)"\sa\sTcl\sscript\scan\sdirect\sthe\s\r\n\r\n+\s\s\s\s\s*\sinterpreter\sto\sload\sdebug\sversions\sof\sshared\slibs\swith\sthe\sload\scommand.\r\n\r\n+\s\s\s\s\s*/\r\n\r\n+\r\n\r\n+\s\s\s\sTcl_SetVar2(interp,\s"tcl_platform",\s"debug",\s"1",\r\n\r\n+\s\s\s\sTCL_GLOBAL_ONLY);\r\n\r\n+#endif\r\n\r\n\r\n\s\s\s\s\s/*\r\n\r\n\s\s\s\s\s\s*\sCopy\sUSER\sor\sLOGNAME\senvironment\svariable\sinto\stcl_platform(user)\r\n\r\n\r\nPatchFiles:\r\n\r\nunix/tclUnixInit.c\r\n\r\n\s\s\s\sunix/tcl.m4\r\n\r\n\r\n\r\n\r\nIt's\snoted\sunder\stclvars\sin\sthe\sdocs\sthat\stcl_platform(debug)\r\nis\sonly\sdefined\son\sWindows,\sso\sI've\schanged\sthis\sto\sRFE.\s\r\n--\s03/01/2000\shobbs\s\r\n--\s03/01/2000\shobbs
J icomment TIP\s#59\snow\shas\sanother\sway\sto\sembed\sthis\skind\sof\sinformation
J login jan.nijtmans
J mimetype text/plain
J resolution Out\sof\sDate
J severity Minor
J status Closed
K 219230ffffffffffffffffffffffffffffffffff
U jan.nijtmans
Z b17a3ef6612ce0925367c071f8383b94