diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | pty.c | 4 |
2 files changed, 5 insertions, 1 deletions
@@ -12,6 +12,8 @@ | |||
12 | pedantic: signed vs. unsigned, void*-arithm, etc | 12 | pedantic: signed vs. unsigned, void*-arithm, etc |
13 | - [ssh.1 sshd.8] | 13 | - [ssh.1 sshd.8] |
14 | Various cleanups and standardizations. | 14 | Various cleanups and standardizations. |
15 | - Runtime error fix for HPUX from Otmar Stahl | ||
16 | <O.Stahl@lsw.uni-heidelberg.de> | ||
15 | 17 | ||
16 | 20000316 | 18 | 20000316 |
17 | - Fixed configure not passing LDFLAGS to Solaris. Report from David G. | 19 | - Fixed configure not passing LDFLAGS to Solaris. Report from David G. |
@@ -14,7 +14,7 @@ | |||
14 | */ | 14 | */ |
15 | 15 | ||
16 | #include "includes.h" | 16 | #include "includes.h" |
17 | RCSID("$Id: pty.c,v 1.16 2000/03/09 11:31:13 damien Exp $"); | 17 | RCSID("$Id: pty.c,v 1.17 2000/03/17 12:58:59 damien Exp $"); |
18 | 18 | ||
19 | #ifdef HAVE_UTIL_H | 19 | #ifdef HAVE_UTIL_H |
20 | # include <util.h> | 20 | # include <util.h> |
@@ -123,8 +123,10 @@ pty_allocate(int *ptyfd, int *ttyfd, char *namebuf, int namebuflen) | |||
123 | error("ioctl I_PUSH ptem: %.100s", strerror(errno)); | 123 | error("ioctl I_PUSH ptem: %.100s", strerror(errno)); |
124 | if (ioctl(*ttyfd, I_PUSH, "ldterm") < 0) | 124 | if (ioctl(*ttyfd, I_PUSH, "ldterm") < 0) |
125 | error("ioctl I_PUSH ldterm: %.100s", strerror(errno)); | 125 | error("ioctl I_PUSH ldterm: %.100s", strerror(errno)); |
126 | #ifndef _HPUX_SOURCE | ||
126 | if (ioctl(*ttyfd, I_PUSH, "ttcompat") < 0) | 127 | if (ioctl(*ttyfd, I_PUSH, "ttcompat") < 0) |
127 | error("ioctl I_PUSH ttcompat: %.100s", strerror(errno)); | 128 | error("ioctl I_PUSH ttcompat: %.100s", strerror(errno)); |
129 | #endif | ||
128 | return 1; | 130 | return 1; |
129 | #else /* HAVE_DEV_PTMX */ | 131 | #else /* HAVE_DEV_PTMX */ |
130 | #ifdef HAVE_DEV_PTS_AND_PTC | 132 | #ifdef HAVE_DEV_PTS_AND_PTC |