From db771c4918ddab477fb088f7eb075c76ca97082e Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sun, 9 Jun 2024 20:58:08 +0200 Subject: [PATCH] Unbreak build with Clang 15 on macOS 14.5 * src/process.c (read_process_output): Use EQ for comparison. (syms_of_process): Properly set a DEFVAR_BOOL to 'true' instead of 'Qt'. (cherry picked from commit a1a4c6dccbe7aeeac97635df54797ebf6c0ce789) --- src/process.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/process.c b/src/process.c index 524ee1dfa5a..9670be64279 100644 --- a/src/process.c +++ b/src/process.c @@ -6263,7 +6263,7 @@ read_process_output (Lisp_Object proc, int channel) friends don't expect current-buffer to be changed from under them. */ record_unwind_current_buffer (); - if (read_process_output_fast && p->filter == Qinternal_default_process_filter) + if (read_process_output_fast && EQ (p->filter, Qinternal_default_process_filter)) read_and_insert_process_output (p, chars, nbytes, coding); else read_and_dispose_of_process_output (p, chars, nbytes, coding); @@ -8884,7 +8884,7 @@ On GNU/Linux systems, the value should not exceed We skip calling `internal-default-process-filter' and don't allocate the Lisp string that would be used as its argument. Only affects the case of asynchronous process with the default filter. */); - read_process_output_fast = Qt; + read_process_output_fast = true; DEFVAR_INT ("process-error-pause-time", process_error_pause_time, doc: /* The number of seconds to pause after handling process errors. -- 2.39.2