]> git.eshelyaron.com Git - emacs.git/commitdiff
Unbreak build with Clang 15 on macOS 14.5
authorStefan Kangas <stefankangas@gmail.com>
Sun, 9 Jun 2024 18:58:08 +0000 (20:58 +0200)
committerEshel Yaron <me@eshelyaron.com>
Mon, 10 Jun 2024 07:26:53 +0000 (09:26 +0200)
* 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

index 524ee1dfa5a31c9cbe7fe053d3171ac064e3896a..9670be6427908ba04945a775687320ada17c00e9 100644 (file)
@@ -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.