[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r109060: Remove macro MIN_PTY_KERNEL_
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r109060: Remove macro MIN_PTY_KERNEL_VERSION, only used in one place |
Date: |
Thu, 12 Jul 2012 20:07:29 -0400 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 109060
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Thu 2012-07-12 20:07:29 -0400
message:
Remove macro MIN_PTY_KERNEL_VERSION, only used in one place
* src/process.c (init_process_emacs): Replace MIN_PTY_KERNEL_VERSION.
* src/s/darwin.h (MIN_PTY_KERNEL_VERSION): Remove single-use macro.
modified:
src/ChangeLog
src/process.c
src/s/darwin.h
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2012-07-13 00:00:23 +0000
+++ b/src/ChangeLog 2012-07-13 00:07:29 +0000
@@ -1,3 +1,8 @@
+2012-07-13 Glenn Morris <address@hidden>
+
+ * process.c (init_process_emacs): Replace MIN_PTY_KERNEL_VERSION.
+ * s/darwin.h (MIN_PTY_KERNEL_VERSION): Remove single-use macro.
+
2012-07-12 Glenn Morris <address@hidden>
* s/darwin.h (SYSTEM_PURESIZE_EXTRA): Move to configure.
=== modified file 'src/process.c'
--- a/src/process.c 2012-07-12 23:56:39 +0000
+++ b/src/process.c 2012-07-13 00:07:29 +0000
@@ -7398,8 +7398,7 @@
char const *release = (STRINGP (Voperating_system_release)
? SSDATA (Voperating_system_release)
: 0);
- if (!release || !release[0] || (release[0] < MIN_PTY_KERNEL_VERSION
- && release[1] == '.')) {
+ if (!release || !release[0] || (release[0] < '7' && release[1] == '.')) {
Vprocess_connection_type = Qnil;
}
}
=== modified file 'src/s/darwin.h'
--- a/src/s/darwin.h 2012-07-13 00:00:23 +0000
+++ b/src/s/darwin.h 2012-07-13 00:07:29 +0000
@@ -30,10 +30,6 @@
distinguish OS X from pure Darwin. */
#define DARWIN_OS
-/* PTYs only work correctly on Darwin 7 or higher. So make the default
- for process-connection-type dependent on the kernel version. */
-#define MIN_PTY_KERNEL_VERSION '7'
-
/* Definitions for how to compile & link. */
#ifdef emacs
#define malloc unexec_malloc
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r109060: Remove macro MIN_PTY_KERNEL_VERSION, only used in one place,
Glenn Morris <=