- Add bcmath to the standard UNIX build

- Change a couple of malloc()'s and free()'s to emalloc()'s and efree()'s
This commit is contained in:
Zeev Suraski 2000-11-26 09:34:01 +00:00
parent 203d67ea6b
commit 8a03f3062f
9 changed files with 33 additions and 690 deletions

View file

@ -61,7 +61,7 @@ new_sub_num (length, scale, value)
temp = _bc_Free_list;
_bc_Free_list = temp->n_next;
} else {
temp = (bc_num) malloc (sizeof(bc_struct));
temp = (bc_num) emalloc (sizeof(bc_struct));
if (temp == NULL) bc_out_of_memory ();
}
temp->n_sign = PLUS;