Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8d0eaacf350ff3b6bb2a4ed1fd33221d7e21184c
Ticket: 656765ffffffffffffffffffffffffffffffffff
formatClock/cygwin compile fix
User & Date: pascalscheffers on 2002-12-20 12:27:46
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed 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 changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "pascalscheffers"
  9. subsystem changed to: "16. Commands A-H"
  10. title changed to: "formatClock/cygwin compile fix"
  11. type changed to: "Patch"