Skip to content
Tcl Source Code Artifact [66bc11f27d]
Login

Artifact [66bc11f27d]

Artifact 66bc11f27d0131a3e6b373d3dca9f9aeb0a22a27:

Ticket change [66bc11f27d] - New ticket [217959ffffffffff|217959ffff] <i>More fixes for gcc-2.95.2-mingw</i>. by nobody on 2000-10-26 00:46:38.
D 2000-10-26T00:46:38
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s4211\sRFE\nVersion:\s8.3\nSubmitDate:\s'2000-02-22'\nLastModified:\s'2000-03-31'\nSeverity:\sMED\nStatus:\sClosed\nSubmitter:\stechsupp\nChangedBy:\shobbs\nRelatedBugIDs:\s4234\nOS:\sAll\sWindows\nFixedDate:\s'2000-10-25'\nClosedDate:\s'2000-03-31'\n\n\nName:\nJan\sNijtmans\n\nReproducibleScript:\nWhen\scompiling\sTcl8.3.0\swith\sgcc-2.95.2-mingw\sserveral\sproblems\sshow\sup.\sFor\ssome\sof\swhich\sgcc\sis\sto\sblame,\sfor\nothers\sTcl\sis\sto\sblame.\sThe\stwo\smost\snotable\sthings\sare:\n-\senviron,\shypot\sand\sexception\srequire\san\sunderscore\sboth\sfor\sVC++\sand\smingw.\n-\swhen\scompiling\swithout\smsvcrt.dll,\sthe\sfunctions\s_beginsthreadex()\sand\s_endthreades()\sare\smissing\nThis\spatch\sfixes\sboth\sof\sthose\sproblems.\sThe\suse\sof\sCreateThread()\sand\sExitThread()\sintroduce\nmemory\sleaks,\sbut\sthat's\sbetter\sthan\snot\scompile\sat\sall.\n\nPatch:\n***\swin/tclWinPort.h.origFri\sOct\s29\s05:05:13\s1999\n---\swin/tclWinPort.hSun\sFeb\s20\s10:13:22\s2000\n***************\n***\s335,346\s****\n\s\s\s*\sEDEADLK\sas\sthe\ssame\svalue,\swhich\sconfuses\sTcl_ErrnoId().\n\s\s\s*/\n\n!\s#ifdef\s_MSC_VER\n\s\s#\s\s\s\sdefine\senviron\s_environ\n\s\s#\s\s\s\sdefine\shypot\s_hypot\n\s\s#\s\s\s\sdefine\sexception\s_exception\n\s\s#\s\s\s\sundef\sEDEADLOCK\n!\s#endif\s/*\s_MSC_VER\s*/\n\n\s\s/*\n\s\s\s*---------------------------------------------------------------------------\n---\s335,351\s----\n\s\s\s*\sEDEADLK\sas\sthe\ssame\svalue,\swhich\sconfuses\sTcl_ErrnoId().\n\s\s\s*/\n\n!\s#if\sdefined\s(_MSC_VER)\s||\sdefined\s(__MINGW32__)\n\s\s#\s\s\s\sdefine\senviron\s_environ\n\s\s#\s\s\s\sdefine\shypot\s_hypot\n\s\s#\s\s\s\sdefine\sexception\s_exception\n\s\s#\s\s\s\sundef\sEDEADLOCK\n!\s#endif\s/*\s_MSC_VER\s||\s__MINGW32__\s*/\n!\s\n!\s#if\sdefined\s(__MINGW32__)\s&&\s!defined\s(__MSVCRT__)\n!\s#define\s_beginthreadex(a,b,c,d,e,f)\sCreateThread(a,b,c,(DWORD\s*)d,e,(DWORD\s*)f)\n!\s#define\s_endthreadex(a)\sExitThread(a)\n!\s#endif\n\n\s\s/*\n\s\s\s*---------------------------------------------------------------------------\n\nPatchFiles:\ntclWinPort.h\n\n\n\n
J foundin obsolete:\s8.3
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 75.\sTutorial
J title More\sfixes\sfor\sgcc-2.95.2-mingw
J type Bug
K 217959ffffffffffffffffffffffffffffffffff
U nobody
Z 92dac17fe99f366dcefa098fecb8bf00