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

History Of Ticket 555635ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 555635ffffffffffffffffffffffffffffffffff

  1. Ticket change [fa6d8610ab] (rid 91874) by jenglish on 2002-05-13 21:59:18:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      The attached patch removes matherr() under Unix, the
      internal routine TclMathInProgress(), and the
      associated ThreadSpecificData.  The source file
      unix/tclMtherr.c should also be removed if this patch
      is applied.
      
      The _matherr() implementation in win/tclWinMtherr.c --
      which is only used in Borland C++, not MSVC -- has been
      retained, but it no longer checks TclMathInProgress(). 
      This routine is used to prevent the Borland C++ math
      library from raising a fatal exception when illegal
      values are encountered.  With this patch, it prevents
      exceptions from being thrown when any part of the
      program calls a math library function, not just Tcl
      internals.  Again, this is only applicable when Tcl is
      built with the Borland compiler.
      
      Further discussion may be found under SF Tcl Bug
      #474335 "logic of matherr is backwards", but in
      summary:
      
       * matherr() is nonportable and not available on all
      platforms;
       * On the platforms where it is available, it is
      typically only used if the main executable is linked
      with a special version of libm, which Tcl does not do;
       * The version in unix/tclMtherr.c is merely an
      incomplete reimplementation of the default behaviour on
      the Unix platforms where it is available;
       * A bug related to this code (#474335) has gone
      unnoticed for over three years, so it is unlikely in
      the extreme that its outright removal will cause any
      ill effects;
      
      
      Summarizing the summary, this is dead code and it ought
      to be buried.
      
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "jenglish"
    9. subsystem initialized to: "None"
    10. title initialized to: "Dead code: matherr, TclMathInProgress"
    11. type initialized to: "Patch"
  2. Add attachment "matherr-patch.txt" [671498b2d8] (rid 102841) by jenglish on 2002-05-14 05:00:49.

  3. Ticket change [a4dace2a07] (rid 110272) by jenglish on 2002-05-14 05:00:49:

    1. icomment:
      
      
      File Added - 23033: matherr-patch.txt
      
      Logged In: YES 
      user_id=68433
      
      Once again, I forgot to check the little button to upload an
      attachment... 
      
      
    2. login: "jenglish"
    3. mimetype: "text/plain"
    4. username: "jenglish"
  4. Add attachment "matherr.patch" [e21cc4f0f4] (rid 87569) by dgp on 2002-06-01 05:06:09.

  5. Ticket change [5c3eccdc0c] (rid 115266) by dgp on 2002-06-01 05:06:09:

    1. assignee changed to: "dgp"
    2. icomment:
      
      
      File Added - 24166: matherr.patch
      
      Logged In: YES 
      user_id=80530
      
      Here's an updated version of the patch that
      also accounts for the NEED_MATHERR in
      unix/configure*.
      
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. subsystem changed to: "52. Portability Support"
    6. username: "dgp"
  6. Ticket change [84bd7eea33] (rid 117611) by dgp on 2002-06-01 05:21:15:

    1. closedate changed to: "2002-05-31T22:21:15"
    2. closer changed to: "dgp"
    3. icomment:
      Logged In: YES 
      user_id=80530
      
      updated patch committed to 8.4a5.
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Accepted"
    7. status changed to: "Closed"
    8. username: "dgp"