Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 9e90b7d8e89e9eb425c618a24be3bcf0208c71be
Ticket: 474335ffffffffffffffffffffffffffffffffff
logic of matherr is backwards
User & Date: jenglish on 2002-05-14 04:50:27
Changes

  1. icomment:
    Logged In: YES 
    user_id=68433
    
    Another data point:  On HP-UX 10.20, the function _matherr()
    is used when linking with the default math library (note
    leading underscore, NOT 'matherr()', which is what
    unix/tclMtherr.c defines).  Also, the man page says the
    following:
    
    "The matherr() and _matherr() functions are obsolete and
    will not be supported at the next release of HP-UX  [that
    would be HP-UX 11 -JE].  The matherr() function is not
    required by any version of XPG nor by ANSI C, and has not
    been part of any standard since SVID2.  In the HP-UX math
    library, the SVID2 matherr() function has been renamed to
    _matherr(), and no error messages are printed to the
    standard error output.  _matherr() is provided in libm.a in
    order to assist in supporting old programs.  Executables
    that use the old matherr() or _matherr() will continue to
    run indefinitely, even on future releases of HP-UX."
    
    "However, if you intend to recompile or relink any of your
    current programs that use matherr() or _matherr() on a
    future release of HP-UX, you should be aware that any
    function called matherr() or _matherr() will no longer be
    called in case of library errors."  
    
    
    
  2. login: "jenglish"
  3. mimetype: "text/plain"
  4. username: "jenglish"