Skip to content
Tcl Source Code History Of Ticket 1976981fffffffff
Login

History Of Ticket 1976981fffffffff

Artifacts Associated With Ticket 1976981fffffffff

  1. Ticket change [8c6e7723a0] (rid 127745) by seebs on 2008-05-28 18:03:21:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      The use of -Dstrtod=fixstrtod is not reliable.  When glibc's headers are read, the inline definition of strtod in terms of __internal_strtod is modified by the macro.  So, while every call to strtod() is replaced with a call to fixstrtod(), that refers to an inline function, and the library's standard __internal_strtod() is called anyway.  If the configure script's test to determine that it needs to modify strtod is correct, it is having no effect in the default configuration of glibc.
      
      In general, C does not really "allow" redefinitions of standard library functions.  Obviously, there is a compelling reason to try to outsmart the library in this case.
      
      The correct way to do this is to, *AFTER* including the standard headers, execute code something like this:
      
      #ifdef USE_FIXSTRTOD
      extern double fixstrtod(const char *, char **);
      #undef strtod
      #define strtod fixstrtod
      #endif
      
      This is still probably undefined behavior, but I'm pretty confident that it will work.
      
    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: "seebs"
    10. subsystem initialized to: "53. Configuration and Build Tools"
    11. title initialized to: "-Dstrtod doesn't do what is expected."
    12. type initialized to: "Bug"
  2. Ticket change [7dc0edabd9] (rid 97291) by dgp on 2008-05-29 02:03:38:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2008-05-28T19:03:38"
    3. closer changed to: "dgp"
    4. foundin changed to: "obsolete: 8.5.2"
    5. icomment:
      Logged In: YES 
      user_id=80530
      Originator: NO
      
      
      The strtod() call no longer appears
      in any part of the Tcl source code,
      so whatever valid flaws are reported
      here no longer matter.
      
      
      
    6. login: "dgp"
    7. mimetype: "text/plain"
    8. resolution changed to: "Out of Date"
    9. status changed to: "Pending"
    10. username: "dgp"
  3. Ticket change [1d0299b615] (rid 90713) by sf-robot on 2008-06-12 09:20:31:

    1. closedate changed to: "2008-06-12T02:20:31"
    2. closer changed to: "sf-robot"
    3. icomment:
      Logged In: YES 
      user_id=1312539
      Originator: NO
      
      This Tracker item was closed automatically by the system. It was
      previously set to a Pending status, and the original submitter
      did not respond within 14 days (the time period specified by
      the administrator of this Tracker).
      
      
    4. login: "sf-robot"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "sf-robot"