[asterisk-commits] qwell: trunk r236713 - in /trunk/main: ast_expr2.c ast_expr2.y
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Dec 28 16:09:43 CST 2009
Author: qwell
Date: Mon Dec 28 16:09:40 2009
New Revision: 236713
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=236713
Log:
Allow "REMAINDER" to function properly in expressions.
(closes issue #16427)
Reported by: wdoekes
Patches:
ast16-reminder-remainder.patch uploaded by wdoekes (license 717)
Tested by: wdoekes
Modified:
trunk/main/ast_expr2.c
trunk/main/ast_expr2.y
Modified: trunk/main/ast_expr2.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/ast_expr2.c?view=diff&rev=236713&r1=236712&r2=236713
==============================================================================
--- trunk/main/ast_expr2.c (original)
+++ trunk/main/ast_expr2.c Mon Dec 28 16:09:40 2009
@@ -237,10 +237,10 @@
#define FUNC_LOG (long double)log
#endif
-#ifdef HAVE_REMINDERL
-#define FUNC_REMINDER reminderl
-#elif defined(HAVE_REMINDER)
-#define FUNC_REMINDER (long double)reminder
+#ifdef HAVE_REMAINDERL
+#define FUNC_REMAINDER remainderl
+#elif defined(HAVE_REMAINDER)
+#define FUNC_REMAINDER (long double)remainder
#endif
#ifdef HAVE_FMODL
Modified: trunk/main/ast_expr2.y
URL: http://svnview.digium.com/svn/asterisk/trunk/main/ast_expr2.y?view=diff&rev=236713&r1=236712&r2=236713
==============================================================================
--- trunk/main/ast_expr2.y (original)
+++ trunk/main/ast_expr2.y Mon Dec 28 16:09:40 2009
@@ -106,10 +106,10 @@
#define FUNC_LOG (long double)log
#endif
-#ifdef HAVE_REMINDERL
-#define FUNC_REMINDER reminderl
-#elif defined(HAVE_REMINDER)
-#define FUNC_REMINDER (long double)reminder
+#ifdef HAVE_REMAINDERL
+#define FUNC_REMAINDER remainderl
+#elif defined(HAVE_REMAINDER)
+#define FUNC_REMAINDER (long double)remainder
#endif
#ifdef HAVE_FMODL
More information about the asterisk-commits
mailing list