<i>TclpSetInitialEncodings works only once on Unix</i> status still Open with 4 other changes
by
.
D 2005-10-25T12:41:59
J icomment Logged\sIn:\sYES\s\nuser_id=1272045\n\nThis\sis\smy\sanswer\sto\sthe\sletter\sfrom\sAndreas\nKupries\s(looks\slike\she\sdoesn't\sreceived\sit).\n\n>\sAttached\sto\sthe\sbug\sis\sa\spatch\sclaiming\sto\sfix\sthe\n>\sproblem.\sI\shave\snow\screated\stwo\ssets\sof\stclkits,\sone\n>\swith\sand\sone\swithout\sthis\spatch.\sThe\skits\sare\sbuilt\n>\sfor\sLinux/Intel.\n\nHello,\sAndreas.\n\nI've\stried\syour\skits.\sThey\sdon't\sfix\sthe\sproblem.\n\nTranscript:\n%\sencoding\ssystem\siso8859-1\n\nSo,\sI\swant\sto\srepeat\smy\spatch\s(it\sis\sin\soriginal\sreport)\sto\nunix/tclUnixInit.c:\n-----------------PATCH---------------------\n---\stclUnixInit.c\s\s\s\s\s\s\sThu\sMay\s12\s20:18:51\s2005\n+++\stclUnixInit.c.new\s\s\sThu\sMay\s12\s20:14:03\s2005\n@@\s-485,7\s+485,8\s@@\nvoid\nTclpSetInitialEncodings()\n{\n-\s\s\s\sif\s(libraryPathEncodingFixed\s==\s0)\s{\n+\n+/*\s\s\s\sif\s(libraryPathEncodingFixed\s==\s0)\s{\s*/\n\s\s\s\s\s\s\sCONST\schar\s*encoding\s=\sNULL;\n\s\s\s\s\s\s\sint\si,\ssetSysEncCode\s=\sTCL_ERROR;\n\s\s\s\s\s\s\sTcl_Obj\s*pathPtr;\n@@\s-647,6\s+648,7\s@@\n\s\s\s\s\s\s\s\s*\sdependent\sbehavior.\n\s\s\s\s\s\s\s\s*/\n\n+\s\s\s\s\s\s\s\sif\s(libraryPathEncodingFixed\s==\s0)\s{\n\s\s\s\s\s\s\ssetlocale(LC_NUMERIC,\s"C");\n\n\s\s\s\s\s\s\s/*\n-----------------PATCH---------------------\n\nTclkit\sI've\sbuilt\swith\sit\sreally\sfixes\sthe\sproblem.\n\nTranscript:\n%\sencoding\ssystem\nkoi8-r\n\nWhy\sdon't\syou\saccept\sit?\sIf\syou\slook\sinto\sWindows\nimplementation\sof\sTclpSetInitialEncodings,\syou'll\ssee\nalmost\sthe\ssame\scode\sI'm\soffering.\sWhat's\swrong\swith\sit?\n\n
J login yaroslav1
J mimetype text/plain
J username yaroslav1
K 1201171fffffffffffffffffffffffffffffffff
U yaroslav1
Z 6984c3d1dfeecfaa97d407f7a83f2a98