bc/bc-1.06-s390.patch
cvsdist d215c37fe2 auto-import changelog data from bc-1.06-5.src.rpm
Sun Sep 09 2001 Phil Knirsch <phil@redhat.de> 1.06-5
- Fixed a variable initialization problem in load.c which broke badly on
    S390.
2004-09-09 03:27:38 +00:00

15 lines
497 B
Diff

--- bc-1.06/bc/load.c.s390 Wed Sep 13 20:22:38 2000
+++ bc-1.06/bc/load.c Wed Sep 5 16:10:18 2001
@@ -156,7 +156,10 @@
long label_no;
long vaf_name; /* variable, array or function number. */
long func;
- program_counter save_adr;
+ /* Make save_adr static. Otherwise the whole address save stuff doesn't make
+ any sense at all and break e.g. on S390.
+ 09/05/01 Phil Knirsch <pknirsch@redhat.de> */
+ static program_counter save_adr;
/* Initialize. */
str = code;