Blame SOURCES/bc-1.06.95-matlib.patch

747aaa
diff -urNp bc-1.06.95-orig/bc/storage.c bc-1.06.95/bc/storage.c
747aaa
--- bc-1.06.95-orig/bc/storage.c	2006-09-05 04:39:31.000000000 +0200
747aaa
+++ bc-1.06.95/bc/storage.c	2010-12-22 10:26:43.805250912 +0100
747aaa
@@ -99,6 +99,7 @@ more_functions (VOID)
747aaa
     {
747aaa
       f = &functions[indx];
747aaa
       f->f_defined = FALSE;
747aaa
+      f->f_void = FALSE;
747aaa
       f->f_body = (char *) bc_malloc (BC_START_SIZE);
747aaa
       f->f_body_size = BC_START_SIZE;
747aaa
       f->f_code_size = 0;
747aaa
@@ -179,7 +180,7 @@ more_arrays ()
747aaa
 
747aaa
 
747aaa
   /* Initialize the new elements. */
747aaa
-  for (; indx < v_count; indx++)
747aaa
+  for (; indx < a_count; indx++)
747aaa
     arrays[indx] = NULL;
747aaa
 
747aaa
   /* Free the old elements. */