From: Glenn Morris Date: Fri, 6 Mar 2020 01:11:51 +0000 (-0800) Subject: Remove ancient OS X process-connection-type handling X-Git-Tag: emacs-28.0.90~7793 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c996fe1ec69de0082043397d4965d08cb94892fb;p=emacs.git Remove ancient OS X process-connection-type handling * src/process.c (init_process_emacs) [DARWIN_OS]: Remove process-connection-type special-casing for OS X < 10.3 (ie pre-2003). Ref https://lists.gnu.org/r/emacs-devel/2005-01/msg00741.html --- diff --git a/src/emacs.c b/src/emacs.c index 8b27c63f731..ea9c4cd79dc 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -1964,7 +1964,6 @@ Using an Emacs configured with --with-x-toolkit=lucid does not have this problem /* This calls putenv and so must precede init_process_emacs. */ init_timefns (); - /* This sets Voperating_system_release, which init_process_emacs uses. */ init_editfns (); /* These two call putenv. */ diff --git a/src/process.c b/src/process.c index 91d426103d8..e4e5e57aeee 100644 --- a/src/process.c +++ b/src/process.c @@ -8277,19 +8277,6 @@ init_process_emacs (int sockfd) memset (datagram_address, 0, sizeof datagram_address); #endif -#if defined (DARWIN_OS) - /* PTYs are broken on Darwin < 6, but are sometimes useful for interactive - processes. As such, we only change the default value. */ - if (initialized) - { - char const *release = (STRINGP (Voperating_system_release) - ? SSDATA (Voperating_system_release) - : 0); - if (!release || !release[0] || (release[0] < '7' && release[1] == '.')) { - Vprocess_connection_type = Qnil; - } - } -#endif #endif /* subprocesses */ kbd_is_on_hold = 0; }