gnumeric r16634 - in trunk: . src



Author: mortenw
Date: Wed Jun 18 23:37:53 2008
New Revision: 16634
URL: http://svn.gnome.org/viewvc/gnumeric?rev=16634&view=rev

Log:
2008-06-18  Morten Welinder  <terra gnome org>

	* src/mathfunc.c (MATHLIB_ERROR): Return a NaN instead of
	aborting.  Fixes #534475.



Modified:
   trunk/ChangeLog
   trunk/NEWS
   trunk/src/mathfunc.c

Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS	(original)
+++ trunk/NEWS	Wed Jun 18 23:37:53 2008
@@ -35,6 +35,7 @@
 	* Fix ZTEST issue.  [#405958]
 	* Handle foo.XLS as well as foo.xls.  [#510036]
 	* Fix OPT_RGW hang.  [#534132]
+	* Fix BESSELI and BESSELK aborts.  [#534475]
 
 SeÃn de BÃrca:
 	* Move to tango based icons. [#450444]

Modified: trunk/src/mathfunc.c
==============================================================================
--- trunk/src/mathfunc.c	(original)
+++ trunk/src/mathfunc.c	Wed Jun 18 23:37:53 2008
@@ -82,7 +82,7 @@
 
 #define ML_UNDERFLOW (GNM_EPSILON * GNM_EPSILON)
 #define ML_ERROR(cause) /* Nothing */
-#define MATHLIB_ERROR g_error
+#define MATHLIB_ERROR(_a,_b) return gnm_nan;
 #define MATHLIB_WARNING g_warning
 #define MATHLIB_WARNING2 g_warning
 #define MATHLIB_WARNING4 g_warning



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]