Sophie

Sophie

distrib > Mandriva > 2009.0 > x86_64 > by-pkgid > 94d4e937854aa7a0b499ec6627e13d57 > files > 1

bc-1.06-23mdv2009.0.src.rpm

--- bc-1.06/lib/number.c.fixes	2000-10-03 20:34:25.000000000 +0200
+++ bc-1.06/lib/number.c	2002-06-27 03:33:25.000000000 +0200
@@ -34,6 +34,7 @@
 #include <number.h>
 #include <assert.h>
 #include <stdlib.h>
+#include <string.h>
 #include <ctype.h>/* Prototypes needed for external utility routines. */
 
 #define bc_rt_warn rt_warn
--- bc-1.06/bc/load.c.fixes	2000-09-13 20:22:38.000000000 +0200
+++ bc-1.06/bc/load.c	2002-06-27 11:55:49.000000000 +0200
@@ -156,7 +156,7 @@ load_code (code)
   long  label_no;
   long  vaf_name;	/* variable, array or function number. */
   long  func;
-  program_counter save_adr;
+  static program_counter save_adr;
 
   /* Initialize. */
   str = code;