Skip to content
Tcl Source Code Artifact [6810b04255]
Login

Artifact [6810b04255]

Artifact 6810b04255bb37e3397f2f7247f5ca8628c3cd7814217aa7199e0581145c69d7:

Ticket change [6810b04255] - New ticket [8d8bb39962188ebc|8d8bb39962] <i>incorrect notifier initialization in tclXtNotify.c</i>. by anonymous on 2022-03-02 08:13:17.
D 2022-03-02T08:13:17.756
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment I\sneed\sto\sreplace\sthe\sTcl\snotifier,\sso\sI\shad\sa\slook\sat\sunix/tclXtNotify.c.\r\n\r\nAfter\s"make\sxttest"\sand\srunning\sxttest\son\sa\ssmall\stest\sscript,\sI\snoticed\sthe\sprogram\sdoesn't\send.\r\n\r\ngdb\stells\sme\sthe\sprogram\sis\sstuck\sin\sTcl_FinalizeNotifier.\r\n\r\nI\ssee\sin\sunix/tclUnixNotfy.c\sthat\sTcl_FinalizeNotifier\schecks\swhether\stclNotifierHooks.finalizeNotifierProc\sis\sset.\sIf\sso,\srun\sthat\sfunction.\sOtherwise,\srun\sprovided\scleanup\scode.\r\n\r\nNow\stclXtNotify.c\ssets\sall\s8\smembers\sof\sthe\sstruct\sTcl_NotifierProcs\swith\sTcl_SetNotifier\sin\sfunction\sInitNotifier(),\s4\swith\scustom\sreplacements,\sand\s4\swith\sdefault\sTcl\sfunctions,\sincluding\sTcl_FinalizeNotifier\sfor\sthe\sfinalizeNotifierProc\smember.\r\n\r\nOn\sexit,\stclNotifierHooks.finalizeNotifierProc\sis\scalled,\sso\sTcl_FinalizeNotifier\sis\scalled,\sand\senters\san\sinfinite\sloop.\r\n\r\nThe\sdocumentation\sat\shttp://tmml.sourceforge.net/doc/tcl/Notifier.html\sseems\sto\simply\sthat\sall\smembers\sof\sthe\sstruct\sTcl_NotifierProcs\sneed\sto\sbe\sreplaced\swith\sTcl_SetNotifier.\sIs\sthis\sa\swrong\sassumption?
J foundin 8.6.12
J is_private 0
J login anonymous
J priority 5\sMedium
J resolution None
J severity Severe
J status Open
J submitter anonymous
J subsystem 05.\sXT\sNotifier
J title incorrect\snotifier\sinitialization\sin\stclXtNotify.c
J type Bug
K 8d8bb39962188ebc27f9276a43a6f6bc5269311e
U anonymous
Z e082d72d0ae13fb417194e0d1a3b0fc8