summaryrefslogtreecommitdiff
path: root/sshpty.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-06-09 19:41:48 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-06-09 19:41:48 +0000
commit5a6abdae0f6f2312d8bfd60b8bf2420a3393428d (patch)
tree7595267f0f9cb746a0955a41bcb5e872c632e68b /sshpty.c
parent2ab1968da288e0b32f639d5e7d79ab0b61d42bc3 (diff)
unexpand
Diffstat (limited to 'sshpty.c')
-rw-r--r--sshpty.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sshpty.c b/sshpty.c
index 91de75939..a7e7e2769 100644
--- a/sshpty.c
+++ b/sshpty.c
@@ -164,8 +164,8 @@ pty_allocate(int *ptyfd, int *ttyfd, char *namebuf, int namebuflen)
164#else /* HAVE_DEV_PTS_AND_PTC */ 164#else /* HAVE_DEV_PTS_AND_PTC */
165#ifdef _CRAY 165#ifdef _CRAY
166 char buf[64]; 166 char buf[64];
167 int i; 167 int i;
168 int highpty; 168 int highpty;
169 169
170#ifdef _SC_CRAY_NPTY 170#ifdef _SC_CRAY_NPTY
171 highpty = sysconf(_SC_CRAY_NPTY); 171 highpty = sysconf(_SC_CRAY_NPTY);
@@ -289,7 +289,7 @@ pty_make_controlling_tty(int *ttyfd, const char *ttyname)
289 if (fd < 0) 289 if (fd < 0)
290 error("%.100s: %.100s", ttyname, strerror(errno)); 290 error("%.100s: %.100s", ttyname, strerror(errno));
291 close(*ttyfd); 291 close(*ttyfd);
292 *ttyfd = fd; 292 *ttyfd = fd;
293#else /* _CRAY */ 293#else /* _CRAY */
294 294
295 /* First disconnect from the old controlling tty. */ 295 /* First disconnect from the old controlling tty. */