Skip to content
Tcl Source Code History Of Ticket d550f4837a078ff3
Login

History Of Ticket d550f4837a078ff3

Artifacts Associated With Ticket d550f4837a078ff3

  1. Ticket change [6802d87132] (rid 206954) by fweimer on 2022-11-18 08:55:19:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      A change like this one is needed to avoid the implicit function declaration.
      (This avoids relying on a feature that has been removed from C99.)
      
      diff --git a/unix/tcl.m4 b/unix/tcl.m4
      index ed12cda75bbc4ad9..d77184421bf8df16 100644
      --- a/unix/tcl.m4
      +++ b/unix/tcl.m4
      @@ -2352,7 +2352,7 @@ AC_DEFUN([SC_TIME_HANDLER], [
       	AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <time.h>]],
       	[[extern long timezone;
       	    timezone += 1;
      -	    exit (0);]])],
      +	    return 0;]])],
       	    [tcl_cv_timezone_long=yes], [tcl_cv_timezone_long=no])])
           if test $tcl_cv_timezone_long = yes ; then
       	AC_DEFINE(HAVE_TIMEZONE_VAR, 1, [Should we use the global timezone variable?])
      @@ -2364,7 +2364,7 @@ AC_DEFUN([SC_TIME_HANDLER], [
       	    AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <time.h>]],
       	    [[extern time_t timezone;
       		timezone += 1;
      -		exit (0);]])],
      +		return 0;]])],
       		[tcl_cv_timezone_time=yes], [tcl_cv_timezone_time=no])])
       	if test $tcl_cv_timezone_time = yes ; then
       	    AC_DEFINE(HAVE_TIMEZONE_VAR, 1, [Should we use the global timezone variable?])
      
    5. is_private initialized to: "0"
    6. login: "fweimer"
    7. priority initialized to: "5 Medium"
    8. private_contact initialized to: "7f85b79b26149a656dc4aa89cb806ddd68c61396"
    9. resolution initialized to: "None"
    10. severity initialized to: "Minor"
    11. status initialized to: "Open"
    12. submitter initialized to: "fweimer"
    13. subsystem initialized to: "53. Configuration and Build Tools"
    14. title initialized to: "Undeclared exit function in tcl.m4"
    15. type initialized to: "Bug"
  2. Ticket change [fe46f3cdc2] (rid 206955) by jan.nijtmans on 2022-11-18 09:23:26:

    1. assignee changed to: "jan.nijtmans"
    2. icomment:
      This is used in the functions SC_TIME_HANDLER, but SC_TIME_HANDLER is not used anywhere in Tcl or Tk. The same function is available in TEA (for extensions) , so I'm curious: which extension is still using SC_TIME_HANDLER?
      
      Since Tcl 8.6.13 is about to be released, and this isn't used in any battery-included extensions, let's defer this until after the release.
      
    3. login: "jan.nijtmans"
    4. mimetype: "text/plain"
  3. Ticket change [4dd03c637e] (rid 206957) by jan.nijtmans on 2022-11-18 10:57:00:

    1. closedate changed to: "2459901.9562558"
    2. closer changed to: "jan.nijtmans"
    3. icomment:
      Actually, it's already fixed, this problem was already reported.
      
      Dup of [15845d9fd8], will be in Tcl 8.6.13
      
    4. login: "jan.nijtmans"
    5. mimetype: "text/x-fossil-wiki"
    6. resolution changed to: "Duplicate"
    7. status changed to: "Closed"