<short summary of the patch>
authorCamm Maguire <camm@debian.org>
Sun, 23 Aug 2020 17:53:14 +0000 (18:53 +0100)
committerCamm Maguire <camm@debian.org>
Sun, 23 Aug 2020 17:53:14 +0000 (18:53 +0100)
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-50) unstable; urgency=medium

  * list_order.6

Gbp-Pq: Name list_order.7

h/m68k-linux.h
o/sgbc.c

index 5d115ccf8f4c56f2ef2b569b9d269bca69a08223..b06e7add60e7b1426d2d34cfe7bfdafe9be6c7b4 100755 (executable)
@@ -63,7 +63,7 @@
 
 
 #define        M68K
-#define SGC
+/* #define SGC *//*FIXME:  Unknown m68k cpu in modern emulators*/
 
 #include <asm/cachectl.h>
 int cacheflush(void *,int,int,int);
index 307f4f95e2d2df28c4828c546faca387a5477273..291fe67300e1c4c946c2ed14adca0c07e2fec9ff 100755 (executable)
--- a/o/sgbc.c
+++ b/o/sgbc.c
@@ -871,7 +871,7 @@ sgc_quit(void) {
          f=n;
          n=OBJ_LINK(n);
        }
-      SET_LINK(f,OBJNULL);
+      SET_LINK(f,n!=OBJNULL ? n : o);
       tm->tm_tail=f;
       tm->tm_nfree += tm->tm_alt_nfree;
       tm->tm_alt_nfree = 0;