summaryrefslogtreecommitdiff
path: root/ext/bcmath/libbcmath/src/recmul.c
diff options
context:
space:
mode:
authorSander Roobol <sander@php.net>2002-11-29 17:59:30 +0000
committerSander Roobol <sander@php.net>2002-11-29 17:59:30 +0000
commit348b429b5b422c8b7d21dd4773d5934b1ae76a2d (patch)
treeb3d0a5ed830eff6de89193daca04631ae54c5d88 /ext/bcmath/libbcmath/src/recmul.c
parente4be6b3ac2ede24f81daa0a135f9abb5e0d76d39 (diff)
downloadphp-git-348b429b5b422c8b7d21dd4773d5934b1ae76a2d.tar.gz
Remove all traces of _bc_Free_list - it's not used anymore
Diffstat (limited to 'ext/bcmath/libbcmath/src/recmul.c')
-rw-r--r--ext/bcmath/libbcmath/src/recmul.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/bcmath/libbcmath/src/recmul.c b/ext/bcmath/libbcmath/src/recmul.c
index f97614c535..c31d09dc72 100644
--- a/ext/bcmath/libbcmath/src/recmul.c
+++ b/ext/bcmath/libbcmath/src/recmul.c
@@ -57,13 +57,17 @@ new_sub_num (length, scale, value)
{
bc_num temp;
+#ifdef SANDER_0
if (_bc_Free_list != NULL) {
temp = _bc_Free_list;
_bc_Free_list = temp->n_next;
} else {
+#endif
temp = (bc_num) emalloc (sizeof(bc_struct));
+#ifdef SANDER_0
if (temp == NULL) bc_out_of_memory ();
}
+#endif
temp->n_sign = PLUS;
temp->n_len = length;
temp->n_scale = scale;