[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/process.c
From: |
Steven Tamm |
Subject: |
[Emacs-diffs] Changes to emacs/src/process.c |
Date: |
Sat, 22 Jan 2005 10:54:05 -0500 |
Index: emacs/src/process.c
diff -c emacs/src/process.c:1.447 emacs/src/process.c:1.448
*** emacs/src/process.c:1.447 Mon Dec 27 16:06:43 2004
--- emacs/src/process.c Sat Jan 22 15:54:03 2005
***************
*** 187,192 ****
--- 187,193 ----
#include "syswait.h"
extern void set_waiting_for_input P_ ((EMACS_TIME *));
+ extern char *get_operating_system_release ();
#ifndef USE_CRT_DLL
extern int errno;
***************
*** 6704,6709 ****
--- 6705,6723 ----
Fprovide (intern ("make-network-process"), subfeatures);
}
#endif /* HAVE_SOCKETS */
+
+ #ifdef DARWIN
+ /* PTYs are broken on Darwin < 6, but are sometimes useful for interactive
+ processes. As such, we only change the default value. */
+ if (initialized)
+ {
+ char *release = get_operating_system_release();
+ if (!release || !release[0] || (release[0] < MIN_PTY_KERNEL_VERSION
+ && release[1] == '.')) {
+ Vprocess_connection_type = Qnil;
+ }
+ }
+ #endif
}
void
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/src/process.c,
Steven Tamm <=