mirror of
https://github.com/php/php-src.git
synced 2025-08-21 01:45:16 +02:00
- 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:
parent
203d67ea6b
commit
8a03f3062f
9 changed files with 33 additions and 690 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue