From: Po Lu Date: Thu, 1 Dec 2022 06:43:44 +0000 (+0800) Subject: Fix pdumper build X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=30cd8045d7bf6be772976f43891f9216182b552f;p=emacs.git Fix pdumper build * src/xselect.c (mark_xselect): Don't mark if outstanding_transfers.next is still NULL. --- diff --git a/src/xselect.c b/src/xselect.c index c635f840654..c23cda1f66e 100644 --- a/src/xselect.c +++ b/src/xselect.c @@ -3415,6 +3415,11 @@ mark_xselect (void) request stack or the list of outstanding transfers. */ next = outstanding_transfers.next; + + if (!next) + /* syms_of_xselect has not yet been called. */ + return; + while (next != &outstanding_transfers) { mark_object (next->data.string);