# HG changeset patch # User Paul Eggert # Date 1132079406 0 # Node ID 8cf44d5bb070600d987e1bffd32be3e90ca169a7 # Parent 4ca63a6382d1b3868dc671d127bdff029bd630d3 * xstrtod.c: Don't bother with #pragma STDC FENV_ACCESS ON, as coreutils no longer futzes with rounding modes. diff --git a/lib/ChangeLog b/lib/ChangeLog --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,8 @@ +2005-11-15 Paul Eggert + + * xstrtod.c: Don't bother with #pragma STDC FENV_ACCESS ON, as + coreutils no longer futzes with rounding modes. + 2005-11-14 Jim Meyering * mkstemp-safer.c: Include , required for possible diff --git a/lib/xstrtod.c b/lib/xstrtod.c --- a/lib/xstrtod.c +++ b/lib/xstrtod.c @@ -1,6 +1,7 @@ /* error-checking interface to strtod-like functions - Copyright (C) 1996, 1999, 2000, 2003, 2004 Free Software Foundation, Inc. + Copyright (C) 1996, 1999, 2000, 2003, 2004, 2005 Free Software + Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -28,11 +29,6 @@ #include #include -/* Tell the compiler that non-default rounding modes are used. */ -#if 199901 <= __STDC_VERSION__ - #pragma STDC FENV_ACCESS ON -#endif - /* An interface to strtod that encapsulates all the error checking one should usually perform. Like strtod, but upon successful conversion put the result in *RESULT and return true. Return