forked from pool/bc
c96e57babe
- update to upstream alpha 1.06.95 (2006-09-05), in use in other major distros for quite a long time (Debian, Fedora, Ubuntu, ...) - add patches from Fedora - automake dependency removed OBS-URL: https://build.opensuse.org/request/show/123070 OBS-URL: https://build.opensuse.org/package/show/Base:System/bc?expand=0&rev=6
21 lines
654 B
Diff
21 lines
654 B
Diff
diff -urNp bc-1.06.95-orig/bc/storage.c bc-1.06.95/bc/storage.c
|
|
--- bc-1.06.95-orig/bc/storage.c 2006-09-05 04:39:31.000000000 +0200
|
|
+++ bc-1.06.95/bc/storage.c 2010-12-22 10:26:43.805250912 +0100
|
|
@@ -99,6 +99,7 @@ more_functions (VOID)
|
|
{
|
|
f = &functions[indx];
|
|
f->f_defined = FALSE;
|
|
+ f->f_void = FALSE;
|
|
f->f_body = (char *) bc_malloc (BC_START_SIZE);
|
|
f->f_body_size = BC_START_SIZE;
|
|
f->f_code_size = 0;
|
|
@@ -179,7 +180,7 @@ more_arrays ()
|
|
|
|
|
|
/* Initialize the new elements. */
|
|
- for (; indx < v_count; indx++)
|
|
+ for (; indx < a_count; indx++)
|
|
arrays[indx] = NULL;
|
|
|
|
/* Free the old elements. */
|