Skip to content
Tcl Source Code History Of Ticket 3009403
Login

History Of Ticket 3009403

Artifacts Associated With Ticket 3009403

  1. Ticket change [f192a955b3] (rid 109384) by nijtmans on 2010-05-31 09:49:31:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      The signatures of those functions use "char *" resp.
      "const char *" in their signatures. However, keys in
      hash tables, can be anything, so using "char" here
      means that type casts are needed in many current
      code using hash tables.
      
      At first sight, this might seem a binary incompatible
      change to change this , because on some platforms
      "char *" does not have the same size as "void *".
      However, those 3 functions are in reality macros
      defined in tcl.h, which eventuall call functions
      whose signature is not changed. So: this
      change is 100% source and binary compatible!
      
      Here is the suggested patch.
      
      Because Tcl_(Create|Find)HashEntry is in the
      stub table, (but cannot actually be used, see
      Bug #3007895), this patch is better used
      in combination with #3007895. Otherwise
      people might wonder why the signatures
      of those stub table entries don't match the
      doc and the macros.
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "3 Low"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "nijtmans"
    10. subsystem initialized to: "52. Portability Support"
    11. title initialized to:
      Signature of Tcl_GetHashKey, Tcl_(Create|Find)HashEntry
      
    12. type initialized to: "Patch"
  2. Ticket change [1f162ecd63] (rid 91083) by nijtmans on 2010-05-31 16:49:31:

    1. icomment:
      
      
      File Added - 375686: hash.patch
      
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. username: "nijtmans"
  3. Add attachment "hash.patch" [5ed3621d6e] (rid 115697) by nijtmans on 2010-05-31 16:49:31.

  4. Ticket change [df97a6555a] (rid 115038) by nijtmans on 2010-08-15 03:59:43:

    1. icomment:
      signature change checked in HEAD
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. resolution changed to: "Fixed"
    5. username: "nijtmans"
  5. Ticket change [903eb0a656] (rid 120420) by dgp on 2010-08-15 08:41:31:

    1. assignee changed to: "dgp"
    2. priority changed to: "9 Immediate"
  6. Ticket change [56c46a0fe7] (rid 94381) by nijtmans on 2010-08-16 08:44:48:

    1. icomment:
      Don, does this mean you are evaluating this? Great!
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. username: "nijtmans"
  7. Ticket change [d845a9f599] (rid 107408) by dgp on 2010-08-17 01:13:44:

    1. assignee changed to: "nijtmans"
    2. closedate changed to: "2010-08-16T18:13:44"
    3. closer changed to: "dgp"
    4. icomment:
      
      
      allow_comments - 1
      
      Don't see any problem with this.
      
      Agree that as long as this is done, it's
      better to get 3007895 done too.
      
      
      
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. status changed to: "Closed"
    8. username: "dgp"
  8. Ticket change [fa66934a7a] (rid 141102) by dgp on 2015-01-26 16:39:15:

    1. assignee changed to: "aku"
    2. closedate changed to: "2457049.19393358"
    3. comment changed to:
      The signatures of those functions use "char *" resp.
      "const char *" in their signatures. However, keys in
      hash tables, can be anything, so using "char" here
      means that type casts are needed in many current
      code using hash tables.
      
      At first sight, this might seem a binary incompatible
      change to change this , because on some platforms
      "char *" does not have the same size as "void *".
      However, those 3 functions are in reality macros
      defined in tcl.h, which eventuall call functions
      whose signature is not changed. So: this
      change is 100% source and binary compatible!
      
      Here is the suggested patch.
      
      Because Tcl_(Create|Find)HashEntry is in the
      stub table, (but cannot actually be used, see
      Bug #3007895), this patch is better used
      in combination with #3007895. Otherwise
      people might wonder why the signatures
      of those stub table entries don't match the
      doc and the macros.
      
    4. icomment:
      
      Just for the record, this caused some source incompat
      trouble with Itk 4 sources.  Not difficult to resolve.
      
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. severity changed to: "Minor"