.
D 2022-11-18T08:55:19.384
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment A\schange\slike\sthis\sone\sis\sneeded\sto\savoid\sthe\simplicit\sfunction\sdeclaration.\r\n(This\savoids\srelying\son\sa\sfeature\sthat\shas\sbeen\sremoved\sfrom\sC99.)\r\n\r\ndiff\s--git\sa/unix/tcl.m4\sb/unix/tcl.m4\r\nindex\sed12cda75bbc4ad9..d77184421bf8df16\s100644\r\n---\sa/unix/tcl.m4\r\n+++\sb/unix/tcl.m4\r\n@@\s-2352,7\s+2352,7\s@@\sAC_DEFUN([SC_TIME_HANDLER],\s[\r\n\s\tAC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include\s<time.h>]],\r\n\s\t[[extern\slong\stimezone;\r\n\s\t\s\s\s\stimezone\s+=\s1;\r\n-\t\s\s\s\sexit\s(0);]])],\r\n+\t\s\s\s\sreturn\s0;]])],\r\n\s\t\s\s\s\s[tcl_cv_timezone_long=yes],\s[tcl_cv_timezone_long=no])])\r\n\s\s\s\s\sif\stest\s$tcl_cv_timezone_long\s=\syes\s;\sthen\r\n\s\tAC_DEFINE(HAVE_TIMEZONE_VAR,\s1,\s[Should\swe\suse\sthe\sglobal\stimezone\svariable?])\r\n@@\s-2364,7\s+2364,7\s@@\sAC_DEFUN([SC_TIME_HANDLER],\s[\r\n\s\t\s\s\s\sAC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include\s<time.h>]],\r\n\s\t\s\s\s\s[[extern\stime_t\stimezone;\r\n\s\t\ttimezone\s+=\s1;\r\n-\t\texit\s(0);]])],\r\n+\t\treturn\s0;]])],\r\n\s\t\t[tcl_cv_timezone_time=yes],\s[tcl_cv_timezone_time=no])])\r\n\s\tif\stest\s$tcl_cv_timezone_time\s=\syes\s;\sthen\r\n\s\t\s\s\s\sAC_DEFINE(HAVE_TIMEZONE_VAR,\s1,\s[Should\swe\suse\sthe\sglobal\stimezone\svariable?])
J is_private 0
J login fweimer
J priority 5\sMedium
J private_contact 7f85b79b26149a656dc4aa89cb806ddd68c61396
J resolution None
J severity Minor
J status Open
J submitter fweimer
J subsystem 53.\sConfiguration\sand\sBuild\sTools
J title Undeclared\sexit\sfunction\sin\stcl.m4
J type Bug
K d550f4837a078ff3054d3b00a156d8a11fb628cf
U fweimer
Z 11eae97095dfdf71f7e6063dee385165