Tcl Source Code

Check-in [20c19f9d55]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Remove unnecessary use of fpsetround. See https://bugs.freebsd.org/212512
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 20c19f9d5593455a48f09a64082ffc24bed3134f
User & Date: gahr 2016-09-09 07:28:45
Original Comment: Remove unnecessary use of fpsetround
Context
2016-09-09
12:36
Revert b98ee56376. The "bug" fixed was documented behavior. check-in: e087838b90 user: dgp tags: trunk
07:31
merge trunk check-in: f97eb4cfee user: gahr tags: novem
07:28
Remove unnecessary use of fpsetround. See https://bugs.freebsd.org/212512 check-in: 20c19f9d55 user: gahr tags: trunk
2016-09-08
02:38
[7f02ff1efa] Fix scope for var unset traces when procs return. *** POTENTIAL INCOMPATIBILITY *** check-in: b98ee56376 user: dgp tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to unix/tclUnixInit.c.

387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
     */

#ifdef SIGPIPE
    (void) signal(SIGPIPE, SIG_IGN);
#endif /* SIGPIPE */

#if defined(__FreeBSD__) && defined(__GNUC__)
    /*
     * Adjust the rounding mode to be more conventional. Note that FreeBSD
     * only provides the __fpsetreg() used by the following two for the GNU
     * Compiler. When using, say, Intel's icc they break. (Partially based on
     * patch in BSD ports system from [email protected])
     */

    fpsetround(FP_RN);
    (void) fpsetmask(0L);
#endif

#if defined(__bsdi__) && (_BSDI_VERSION > 199501)
    /*
     * Find local symbols. Don't report an error if we fail.
     */







<
<
<
<
<
<
<
<







387
388
389
390
391
392
393








394
395
396
397
398
399
400
     */

#ifdef SIGPIPE
    (void) signal(SIGPIPE, SIG_IGN);
#endif /* SIGPIPE */

#if defined(__FreeBSD__) && defined(__GNUC__)








    (void) fpsetmask(0L);
#endif

#if defined(__bsdi__) && (_BSDI_VERSION > 199501)
    /*
     * Find local symbols. Don't report an error if we fail.
     */