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 6134d3131bc..9b8b086ec7e 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;
@@ -6704,6 +6705,19 @@ init_process ()
6704 Fprovide (intern ("make-network-process"), subfeatures); 6705 Fprovide (intern ("make-network-process"), subfeatures);
6705 } 6706 }
6706#endif /* HAVE_SOCKETS */ 6707#endif /* HAVE_SOCKETS */
6708
6709#ifdef DARWIN
6710 /* PTYs are broken on Darwin < 6, but are sometimes useful for interactive
6711 processes. As such, we only change the default value. */
6712 if (initialized)
6713 {
6714 char *release = get_operating_system_release();
6715 if (!release || !release[0] || (release[0] < MIN_PTY_KERNEL_VERSION
6716 && release[1] == '.')) {
6717 Vprocess_connection_type = Qnil;
6718 }
6719 }
6720#endif
6707} 6721}
6708 6722
6709void 6723void