emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 53d5bd7 3/3: Don't call xg_select for a NextStep bu


From: Ken Raeburn
Subject: [Emacs-diffs] master 53d5bd7 3/3: Don't call xg_select for a NextStep build.
Date: Fri, 30 Dec 2016 23:02:57 +0000 (UTC)

branch: master
commit 53d5bd786130a937a0e691e0c470675fe9c55485
Author: Ken Raeburn <address@hidden>
Commit: Ken Raeburn <address@hidden>

    Don't call xg_select for a NextStep build.
    
    NextStep builds use glib but don't use xg_select.
    
    * src/process.c (wait_reading_process_output): Don't call xg_select
    for a NextStep build.
---
 src/process.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/process.c b/src/process.c
index c0c52c2..0d88b2c 100644
--- a/src/process.c
+++ b/src/process.c
@@ -5341,8 +5341,8 @@ wait_reading_process_output (intmax_t time_limit, int 
nsecs, int read_kbd,
            }
 #endif
 
-/* HAVE_GLIB builds call thread_select in xgselect.c.  */
-#ifdef HAVE_GLIB
+/* Non-macOS HAVE_GLIB builds call thread_select in xgselect.c.  */
+#if defined HAVE_GLIB && !defined HAVE_NS
          nfds = xg_select (max_desc + 1,
                            &Available, (check_write ? &Writeok : 0),
                            NULL, &timeout, NULL);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]