summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--sshpty.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 60a89df46..7e5a776fd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
120010814 120010814
2 - (stevesk) sshpty.c, cray.[ch]: whitespace, formatting and cleanup 2 - (stevesk) sshpty.c, cray.[ch]: whitespace, formatting and cleanup
3 for some #ifdef _CRAY code; ok wendyp@cray.com 3 for some #ifdef _CRAY code; ok wendyp@cray.com
4 - (stevesk) sshpty.c: return 0 on error in cray pty code;
5 ok wendyp@cray.com
4 6
520010812 720010812
6 - (djm) Fix detection of long long int support. Based on patch from 8 - (djm) Fix detection of long long int support. Based on patch from
@@ -6282,4 +6284,4 @@
6282 - Wrote replacements for strlcpy and mkdtemp 6284 - Wrote replacements for strlcpy and mkdtemp
6283 - Released 1.0pre1 6285 - Released 1.0pre1
6284 6286
6285$Id: ChangeLog,v 1.1471 2001/08/14 20:35:35 stevesk Exp $ 6287$Id: ChangeLog,v 1.1472 2001/08/14 20:41:34 stevesk Exp $
diff --git a/sshpty.c b/sshpty.c
index 31abd696c..f88658b80 100644
--- a/sshpty.c
+++ b/sshpty.c
@@ -186,6 +186,7 @@ pty_allocate(int *ptyfd, int *ttyfd, char *namebuf, int namebuflen)
186 if (*ttyfd < 0) { 186 if (*ttyfd < 0) {
187 error("%.100s: %.100s", namebuf, strerror(errno)); 187 error("%.100s: %.100s", namebuf, strerror(errno));
188 close(*ptyfd); 188 close(*ptyfd);
189 return 0;
189 } 190 }
190 return 1; 191 return 1;
191 } 192 }