<short summary of the patch>
authorCamm Maguire <camm@debian.org>
Sun, 13 Nov 2022 12:55:14 +0000 (12:55 +0000)
committerCamm Maguire <camm@debian.org>
Sun, 13 Nov 2022 12:55:14 +0000 (12:55 +0000)
TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.

gcl (2.6.12-79) unstable; urgency=medium

  * Version_2_6_13pre70

Gbp-Pq: Name Version_2_6_13pre71

o/gbc.c
o/main.c

diff --git a/o/gbc.c b/o/gbc.c
index 30b0dc8ffab5926b1b39c02564d10f70efd610f9..09c578db4cc2b2dc37fd28174c18efcac97f502d 100755 (executable)
--- a/o/gbc.c
+++ b/o/gbc.c
@@ -879,9 +879,9 @@ void hppa_save_regs(struct regs);
 
        asm(".code");
        asm(".export hppa_save_regs, entry");
+       asm(".label     hppa_save_regs");
        asm(".proc");
        asm(".callinfo");
-       asm(".label     hppa_save_regs");
        asm(".entry");
 
        asm("stw        %r3,0(%arg0)");
index e9dda78759e731ba6d76d517defed0a92ec4db63..dfdfa1b427754a78b922ef883fb7971d6ca34a2f 100755 (executable)
--- a/o/main.c
+++ b/o/main.c
@@ -242,7 +242,7 @@ get_gc_environ(void) {
   }
 
   gc_page_min=0.5;
-  if ((e=getenv("GCL_GC_PAGE_MIN"))) {
+  if ((e=getenv("GCL_GC_PAGE_MIN"))||(e=getenv("GCL_GC_PAGE_THRESH"))) {/*legacy support*/
     massert(sscanf(e,"%lf",&gc_page_min)==1);
     massert(gc_page_min>=0.0);
   }
@@ -253,7 +253,8 @@ get_gc_environ(void) {
     massert(gc_page_max>=0.0);
   }
 
-  multiprocess_memory_pool=(e=getenv("GCL_MULTIPROCESS_MEMORY_POOL")) && *e;
+  multiprocess_memory_pool=
+    (e=getenv("GCL_MULTIPROCESS_MEMORY_POOL")) && (*e=='t' || *e=='T');
 
   wait_on_abort=0;
   if ((e=getenv("GCL_WAIT_ON_ABORT")))