Skip to content
Tcl Source Code History Of Ticket 656765ffffffffff
Login

History Of Ticket 656765ffffffffff

Artifacts Associated With Ticket 656765ffffffffff

  1. Ticket change [8d0eaacf35] (rid 127857) by pascalscheffers on 2002-12-20 12:27:46:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      in generic/tclClock.c:formatClock
      
      there are two assignments to timezone (from time.h),
      but because cygwin defines timezone:
      
      #define timezone ((long int) _timezone)
      
      gcc does not accept it as an correct lvalue for:
      
      tclClock.c: 310
          timezone = 0;
      
      (this is in a '#ifdef kludge for timezone not in struct
      TM_ZONE required' block)
      
      my patch fixes it so it compiles again by directly
      using _timezone #if defined(__CYGWIN__).
      
      
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "pascalscheffers"
    9. subsystem initialized to: "16. Commands A-H"
    10. title initialized to: "formatClock/cygwin compile fix"
    11. type initialized to: "Patch"
  2. Ticket change [aaba75ba9f] (rid 100975) by pascalscheffers on 2002-12-20 19:37:25:

    1. icomment:
      
      
      File Added - 38005: clock-cygwin-8.4.1.patch
      
      
      
    2. login: "pascalscheffers"
    3. mimetype: "text/plain"
    4. username: "pascalscheffers"
  3. Add attachment "clock-cygwin-8.4.1.patch" [6d81bd10cb] (rid 128711) by pascalscheffers on 2002-12-20 19:37:25.

  4. Ticket change [83e4ae4802] (rid 117452) by dkf on 2002-12-20 19:48:58:

    1. assignee changed to: "kennykb"
    2. subsystem changed to: "06. Time Measurement"
  5. Ticket change [4b067c72e7] (rid 126626) by chomo on 2004-02-02 02:49:17:

    1. icomment:
      Logged In: YES 
      user_id=943591
      
      not do harm
      
      
    2. login: "chomo"
    3. mimetype: "text/plain"
    4. username: "chomo"
  6. Ticket change [f79cdc4cf4] (rid 91405) by winstan on 2004-02-13 02:30:00:

    1. icomment:
      Logged In: YES 
      user_id=972673
      
      This patch breaks what the #ifdef kludge is trying to do:
      Save timezone and restore it later.
      
      If the first #if !defined(__CYGWIN__) is moved up one line
      to include
         savedTimeZone = timezone;
      then it'll still work.
      
      I'll try to attach a patch for 8.4.5
      
      
    2. login: "winstan"
    3. mimetype: "text/plain"
    4. username: "winstan"
  7. Ticket change [b7c49c24b2] (rid 128853) by winstan on 2004-02-13 02:37:32:

    1. icomment:
      Logged In: YES 
      user_id=972673
      
      --- tcl8.4.5/generic/tclClock.c2003-02-01
      +++ tcl8.4.5-fix/generic/tclClock.c2004-02-12
      @@ -311,8 +311,13 @@
                   savedTZEnv = NULL;
       }
           Tcl_SetVar2(interp, "env", "TZ", "GMT", TCL_GLOBAL_ONLY);
      +#if !defined(__CYGWIN__)
               savedTimeZone = timezone;
               timezone = 0;
      +#else
      +        savedTimeZone = _timezone;
      +        _timezone = 0;
      +#endif
               tzset();
           }
       #endif
      @@ -357,7 +362,11 @@
               } else {
                  Tcl_UnsetVar2(interp, "env", "TZ", TCL_GLOBAL_ONLY);
               }
      +#if !defined(__CYGWIN__)
               timezone = savedTimeZone;
      +#else
      +        _timezone = savedTimeZone;
      +#endif
               tzset();
           }
           Tcl_MutexUnlock( &clockMutex );
      
      
    2. login: "winstan"
    3. mimetype: "text/plain"
    4. username: "winstan"
  8. Ticket change [0326c32209] (rid 119772) by kennykb on 2004-08-19 22:42:00:

    1. resolution changed to: "Fixed"
    2. status changed to: "Closed"
  9. Ticket change [4590cc8c97] (rid 99372) by kennykb on 2004-08-19 22:42:01:

    1. closedate changed to: "2004-08-19T15:42:01"
    2. closer changed to: "kennykb"
    3. icomment:
      Logged In: YES 
      user_id=99768
      
      The relevant code in tclClock.c isn't even there in 8.5,
      so any changes needed to make it compile appear to be
      moot.
      
      
    4. login: "kennykb"
    5. mimetype: "text/plain"
    6. username: "kennykb"