diff options
| author | Po Lu | 2022-12-01 14:43:44 +0800 |
|---|---|---|
| committer | Po Lu | 2022-12-01 14:43:44 +0800 |
| commit | 30cd8045d7bf6be772976f43891f9216182b552f (patch) | |
| tree | 90aa5e91b14da14e8f4e8e8642eedca8b27a6eda /src/xselect.c | |
| parent | e961a31507e6fba86a5d45fec7fa616e80028882 (diff) | |
| download | emacs-30cd8045d7bf6be772976f43891f9216182b552f.tar.gz emacs-30cd8045d7bf6be772976f43891f9216182b552f.zip | |
Fix pdumper build
* src/xselect.c (mark_xselect): Don't mark if
outstanding_transfers.next is still NULL.
Diffstat (limited to 'src/xselect.c')
| -rw-r--r-- | src/xselect.c | 5 |
1 files changed, 5 insertions, 0 deletions
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) | |||
| 3415 | request stack or the list of outstanding transfers. */ | 3415 | request stack or the list of outstanding transfers. */ |
| 3416 | 3416 | ||
| 3417 | next = outstanding_transfers.next; | 3417 | next = outstanding_transfers.next; |
| 3418 | |||
| 3419 | if (!next) | ||
| 3420 | /* syms_of_xselect has not yet been called. */ | ||
| 3421 | return; | ||
| 3422 | |||
| 3418 | while (next != &outstanding_transfers) | 3423 | while (next != &outstanding_transfers) |
| 3419 | { | 3424 | { |
| 3420 | mark_object (next->data.string); | 3425 | mark_object (next->data.string); |