emacs-diffs
[Top][All Lists]
Advanced

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

master c996fe1: Remove ancient OS X process-connection-type handling


From: Glenn Morris
Subject: master c996fe1: Remove ancient OS X process-connection-type handling
Date: Thu, 5 Mar 2020 20:12:12 -0500 (EST)

branch: master
commit c996fe1ec69de0082043397d4965d08cb94892fb
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    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
---
 src/emacs.c   |  1 -
 src/process.c | 13 -------------
 2 files changed, 14 deletions(-)

diff --git a/src/emacs.c b/src/emacs.c
index 8b27c63..ea9c4cd 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 91d4261..e4e5e57 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;
 }



reply via email to

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