Skip to content
Tcl Source Code History Of Ticket 935160ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 935160ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 935160ffffffffffffffffffffffffffffffffff

  1. Ticket change [55713a03cc] (rid 94136) by tauvan on 2004-04-14 19:52:09:

    1. assignee initialized to: "mdejong"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      machine: mac ppc G4 (1st PCI 400Mhz) OSX 10.1.5
      
      My (6) suggestion is:
        change:
          tclInt.decls, tclUnixPort.h, tclUnixThrd.c, tclIntPlatDecls.h
        to "CONST time_t *" from "time_t *"
      
      Solves:
        warning: passing arg 1 of `TclpGmtime' discards qualifiers 
      from pointer target type
        warning: passing arg 1 of `TclpLocaltime' discards qualifiers 
      from pointer target type
      
      Condition:
          "OSX warnings and errors (1)" not required
          "OSX warnings and errors (2)" performed
          quick fix performed
      
      Suggestion:
         All "TclpLocaltime(time_t *" to "TclpLocaltime(CONST time_t *"
         All "TclpGmtime(time_t *" to "TclpGmtime(CONST time_t *"
         struct tm * (*tclpLocaltime) _ANSI_ARGS_((CONST time_t * 
      clock));
         struct tm * (*tclpGmtime) _ANSI_ARGS_((CONST time_t * 
      clock));
         tools/genStubs.tcl should take care of tclIntPlatDecls.h
      
      Special Notes:
          OSX prototype for gmtime & localtime use "const time_t *"
          glibc uses "__const time_t *"
          Linux Programmer's Manual uses "const time_t *"
      
      Results from (6):
        trashed previous builds
        make -C ./tcl8.4.6/macosx develop
        ./build/tcl/tcltest ./tcl8.4.6/tests/all.tcl
        less warnings
        w & w/o (1) same
      
      Thanks.
      
      
    4. foundin initialized to: "obsolete: 8.4.6"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "tauvan"
    9. subsystem initialized to: "53. Configuration and Build Tools"
    10. title initialized to: "OSX warnings and errors (6)"
    11. type initialized to: "Bug"
  2. Add attachment "c84b_OSX6.patch" [3a4441d8e3] (rid 112536) by tauvan on 2004-05-03 11:55:14.

  3. Ticket change [84c7d47da1] (rid 117623) by tauvan on 2004-05-03 11:55:14:

    1. icomment:
      
      
      File Added - 85906: c84b_OSX6.patch
      
      
      
    2. login: "tauvan"
    3. mimetype: "text/plain"
    4. username: "tauvan"
  4. Ticket change [10be1c8951] (rid 95013) by tauvan on 2004-05-17 00:55:48:

    1. icomment:
      Logged In: YES 
      user_id=1011552
      
        This report can be closed as it
      seems to be incorporated as of 2004-05-14.
      see changes in change log
      2004-05-14  Kevin B. Kenny.
      It doesn't mention this bug, but it now rejects
      the attached patch and the keyword "CONST" seems
      to be applied.
        Thanks
      
      
    2. login: "tauvan"
    3. mimetype: "text/plain"
    4. username: "tauvan"
  5. Ticket change [ea0ea3eaf4] (rid 104909) by tauvan on 2004-05-18 09:18:23:

    1. icomment:
      Logged In: YES 
      user_id=1011552
      
        Addmendment:
      In response to 2004-05-17  Kevin B. Kenny changes
      Patch still invalid
      CONST should be removed in tclUnixPort.h
      references in tclUnixThrd.c to
      TclpLocaltime, TclpGmtime should be removed
      ...But, it looks like he passes TclpTime_t and immediatly
      converts to CONST time_t for all systems. Looks like extra work!
      Wouldn't it be better to pass CONST time_t?
      
      
    2. login: "tauvan"
    3. mimetype: "text/plain"
    4. username: "tauvan"
  6. Ticket change [38d3c98745] (rid 112280) by dkf on 2004-05-18 15:08:16:

    1. closedate changed to: "2004-05-18T08:08:16"
    2. closer changed to: "dkf"
    3. icomment:
      Logged In: YES 
      user_id=79902
      
      tauvan: 8.5 does just that, but 8.4 can't because of
      #include ordering issues on some platforms (IIRC Windows was
      one of those platforms) that were tricky enough to work
      around that we're not going to backport those particular
      changes.  Luckily, a cast from TclpTime_t to time_t is
      actually free in all reasonable implementations...
      
      Fixed in HEAD and unfixable in 8.4-branch => closing bug...
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dkf"