ports/lang/ruby18/files/patch-util.c
Stanislav Sedov 889c289308 - Add a bunch of fixes and patchs from the upstream. These fixes a lot of
serious bugs, some of which can pose security-related problems.
- Bump up PORTREVISION.

Requested by:	many
2007-07-10 15:04:49 +00:00

14 lines
327 B
C

--- util.c.orig Sun Mar 4 17:20:24 2007
+++ util.c Tue May 22 22:25:13 2007
@@ -683,8 +683,8 @@
*
*/
-#define MDMINEXPT DBL_MIN_EXP
-#define MDMAXEXPT DBL_MAX_EXP
+#define MDMINEXPT DBL_MIN_10_EXP
+#define MDMAXEXPT DBL_MAX_10_EXP
static const
double powersOf10[] = { /* Table giving binary powers of 10. Entry */