aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2012-07-09 21:49:46 -0400
committerGlenn Morris2012-07-09 21:49:46 -0400
commitaf6e839f9fadf33b22c145d3103f6e3d9656e804 (patch)
treed2428f21e1a59ea8600eb712409466b6cb42d56a /src
parent40289a1294e55cda1430474669bce34096e4e08f (diff)
downloademacs-af6e839f9fadf33b22c145d3103f6e3d9656e804.tar.gz
emacs-af6e839f9fadf33b22c145d3103f6e3d9656e804.zip
* src/s/irix6-5.h (SETUP_SLAVE_PTY, PTY_NAME_SPRINTF): Drop ifdef guards.
We include usg5-4-common.h, which defines them both.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog3
-rw-r--r--src/s/irix6-5.h4
2 files changed, 3 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 754f0caf9db..3b7038ffe49 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,8 @@
12012-07-10 Glenn Morris <rgm@gnu.org> 12012-07-10 Glenn Morris <rgm@gnu.org>
2 2
3 * s/irix6-5.h (SETUP_SLAVE_PTY, PTY_NAME_SPRINTF): Drop ifdef guards.
4 We include usg5-4-common.h, which defines them both.
5
3 * s/gnu.h: Don't include fcntl.h (every file in Emacs that uses 6 * s/gnu.h: Don't include fcntl.h (every file in Emacs that uses
4 O_RDONLY already includes it). 7 O_RDONLY already includes it).
5 8
diff --git a/src/s/irix6-5.h b/src/s/irix6-5.h
index 30aca2b5416..212a6ffb839 100644
--- a/src/s/irix6-5.h
+++ b/src/s/irix6-5.h
@@ -26,9 +26,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
26 26
27#define SETPGRP_RELEASES_CTTY 27#define SETPGRP_RELEASES_CTTY
28 28
29#ifdef SETUP_SLAVE_PTY
30#undef SETUP_SLAVE_PTY 29#undef SETUP_SLAVE_PTY
31#endif
32 30
33/* thomas@mathematik.uni-bremen.de says this is needed. */ 31/* thomas@mathematik.uni-bremen.de says this is needed. */
34/* Make process_send_signal work by "typing" a signal character on the pty. */ 32/* Make process_send_signal work by "typing" a signal character on the pty. */
@@ -42,9 +40,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
42/* No need to use sprintf to get the tty name--we get that from _getpty. */ 40/* No need to use sprintf to get the tty name--we get that from _getpty. */
43#define PTY_TTY_NAME_SPRINTF 41#define PTY_TTY_NAME_SPRINTF
44/* No need to get the pty name at all. */ 42/* No need to get the pty name at all. */
45#ifdef PTY_NAME_SPRINTF
46#undef PTY_NAME_SPRINTF 43#undef PTY_NAME_SPRINTF
47#endif
48#define PTY_NAME_SPRINTF 44#define PTY_NAME_SPRINTF
49#ifdef emacs 45#ifdef emacs
50char *_getpty(); 46char *_getpty();