]> git.pld-linux.org Git - packages/bc.git/commitdiff
- fix lib loading (e.g. on x86_64 bc -l give sigsegv)
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 5 Jul 2005 14:53:03 +0000 (14:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bc-save_adr.patch -> 1.1

bc-save_adr.patch [new file with mode: 0644]

diff --git a/bc-save_adr.patch b/bc-save_adr.patch
new file mode 100644 (file)
index 0000000..2ead293
--- /dev/null
@@ -0,0 +1,14 @@
+--- 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;
This page took 0.290259 seconds and 4 git commands to generate.