View | Details | Raw Unified | Return to bug 193963 | Differences between
and this patch

Collapse All | Expand All

(-)math/gnubc/files/patch-bc__bc.y (+10 lines)
Line 0 Link Here
1
--- bc/bc.y.orig	Sun Oct 24 10:07:01 2004
2
+++ bc/bc.y	Sun Oct 24 10:07:20 2004
3
@@ -424,7 +424,6 @@
4
 			      generate (genstr);
5
 			      $$ = 0;
6
 			    }
7
-			;
8
 			| expression AND 
9
 			    {
10
 			      warn("&& operator");
(-)math/gnubc/files/patch-bc__load.c (+11 lines)
Line 0 Link Here
1
--- bc/load.c~	2000-09-13 11:22:38.000000000 -0700
2
+++ bc/load.c	2005-08-02 11:06:00.000000000 -0700
3
@@ -156,7 +156,7 @@ load_code (code)
4
   long  label_no;
5
   long  vaf_name;	/* variable, array or function number. */
6
   long  func;
7
-  program_counter save_adr;
8
+  static program_counter save_adr; /* saved across calls to load_code */
9
 
10
   /* Initialize. */
11
   str = code;
(-)math/gnubc/files/patch-bc__main.c (+12 lines)
Line 0 Link Here
1
--- bc/main.c.orig	2006-12-01 14:30:52.000000000 -0800
2
+++ bc/main.c	2006-12-01 14:31:13.000000000 -0800
3
@@ -127,6 +127,9 @@
4
 	  warn_not_std = TRUE;
5
 	  break;
6
 
7
+	case 0:
8
+	  break;
9
+
10
 	default:
11
 	  usage(argv[0]);
12
 	  exit (1);

Return to bug 193963