merge in new iksemel patches

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11645 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West
2009-02-04 23:59:19 +00:00
parent 40b19bf28b
commit 2005e1862f
22 changed files with 7991 additions and 462 deletions

View File

@@ -149,7 +149,8 @@ stack_expand (iksparser *prs, int len)
if (need < prs->stack_max) {
need = prs->stack_max * 2;
} else {
need = prs->stack_max + (need * 1.2);
/* need x 1.2 for integer only archs like ARM */
need = prs->stack_max + ( (need * 6) / 5);
}
tmp = iks_malloc (need);
if (!tmp) return 0;