Skip to content
Tcl Source Code History Of Ticket 1942197
Login

History Of Ticket 1942197

Artifacts Associated With Ticket 1942197

  1. Ticket change [4a2ef8a37c] (rid 126496) by karllim on 2008-04-14 15:38:02:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      The Open Group defines gettimeofday() with the following prototype :
       int gettimeofday(struct timeval *restrict tp, void *restrict tzp);
      
      However, TCL uses a struct timezone as the second argument, where it is described that anything else than a NULL tzp argument is undefined.
      
      Solution : pass NULL.
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "karllim"
    10. subsystem initialized to: "69. Other"
    11. title initialized to:
      incorrect use of gettimeofday() in unix/tclUnixTime.c
      
    12. type initialized to: "Bug"
  2. Ticket change [acc58e2f17] (rid 101349) by karllim on 2008-04-14 22:38:03:

    1. icomment:
      
      
      File Added - 274484: tcl_timezone_20080414.diff
      
      
      
    2. login: "karllim"
    3. mimetype: "text/plain"
    4. username: "karllim"
  3. Add attachment "tcl_timezone_20080414.diff" [35f87fd332] (rid 107037) by karllim on 2008-04-14 22:38:03.

  4. Ticket change [c22ea85520] (rid 111449) by karllim on 2008-04-14 23:17:05:

    1. foundin changed to: "obsolete: 8.4.18"
  5. Ticket change [efae1da87d] (rid 109039) by karllim on 2008-04-14 23:17:33:

    1. foundin changed to: "obsolete: 8.5.2"
  6. Ticket change [8574ed890a] (rid 131317) by kennykb on 2008-04-15 00:17:29:

    1. assignee changed to: "kennykb"
    2. icomment:
      Logged In: YES 
      user_id=99768
      Originator: NO
      
      Agreed that second arg to gettimeofday should be NULL on modern Unixes.  There's an open question regarding whether we support any environments where a non-NULL second arg is still required.  (It seems unlikely, since Posix says that the second arg SHOULD be NULL.)
      
      Change is trivial, and I'll make it when I've done a bit more research.
      
      
    3. login: "kennykb"
    4. mimetype: "text/plain"
    5. username: "kennykb"
  7. Ticket change [25a6694309] (rid 88205) by kennykb on 2008-04-15 00:26:57:

    1. icomment:
      Logged In: YES 
      user_id=99768
      Originator: NO
      
      Passing a NULL 'tzp' argument to gettimeofday is verified as harmless (indeed, preferred) on Solaris, HP-UX, glibc, the various BSD's (and hence MacOSX), and AIX.  Doesn't seem to be any reason not to commit.
      
      
    2. login: "kennykb"
    3. mimetype: "text/plain"
    4. username: "kennykb"
  8. Ticket change [2ada25e951] (rid 118642) by kennykb on 2008-04-15 00:54:27:

    1. closedate changed to: "2008-04-14T17:54:27"
    2. closer changed to: "kennykb"
    3. resolution changed to: "Fixed"
    4. status changed to: "Closed"
  9. Ticket change [55e773d7c4] (rid 94234) by dgp on 2012-06-01 23:02:47:

    1. icomment:
      See Bug 3530533 for problems this change
      causes on an IRIX64 6.5 system.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"