aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/process.c b/src/process.c
index c17b32eb3c5..2d7dd6b3e8d 100644
--- a/src/process.c
+++ b/src/process.c
@@ -187,6 +187,7 @@ extern Lisp_Object QCfilter;
187#include "syswait.h" 187#include "syswait.h"
188 188
189extern void set_waiting_for_input P_ ((EMACS_TIME *)); 189extern void set_waiting_for_input P_ ((EMACS_TIME *));
190extern char *get_operating_system_release ();
190 191
191#ifndef USE_CRT_DLL 192#ifndef USE_CRT_DLL
192extern int errno; 193extern int errno;
@@ -6701,6 +6702,19 @@ init_process ()
6701 Fprovide (intern ("make-network-process"), subfeatures); 6702 Fprovide (intern ("make-network-process"), subfeatures);
6702 } 6703 }
6703#endif /* HAVE_SOCKETS */ 6704#endif /* HAVE_SOCKETS */
6705
6706#ifdef DARWIN
6707 /* PTYs are broken on Darwin < 6, but are sometimes useful for interactive
6708 processes. As such, we only change the default value. */
6709 if (initialized)
6710 {
6711 char *release = get_operating_system_release();
6712 if (!release || !release[0] || (release[0] < MIN_PTY_KERNEL_VERSION
6713 && release[1] == '.')) {
6714 Vprocess_connection_type = Qnil;
6715 }
6716 }
6717#endif
6704} 6718}
6705 6719
6706void 6720void