diff options
author | Kevin Steves <stevesk@pobox.com> | 2001-08-14 20:41:34 +0000 |
---|---|---|
committer | Kevin Steves <stevesk@pobox.com> | 2001-08-14 20:41:34 +0000 |
commit | 25ee4e48f79681ce76122d2b4ddda46efcd37ca0 (patch) | |
tree | 94b77241693a4d74c5d1a3a8e431baae1586ee5a | |
parent | ad4aa5655dd67823af9b751d173e7ce166454770 (diff) | |
download | openssh-git-25ee4e48f79681ce76122d2b4ddda46efcd37ca0.tar.gz |
- (stevesk) sshpty.c: return 0 on error in cray pty code;
ok wendyp@cray.com
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | sshpty.c | 1 |
2 files changed, 4 insertions, 1 deletions
@@ -1,6 +1,8 @@ 20010814 - (stevesk) sshpty.c, cray.[ch]: whitespace, formatting and cleanup for some #ifdef _CRAY code; ok wendyp@cray.com + - (stevesk) sshpty.c: return 0 on error in cray pty code; + ok wendyp@cray.com 20010812 - (djm) Fix detection of long long int support. Based on patch from @@ -6282,4 +6284,4 @@ - Wrote replacements for strlcpy and mkdtemp - Released 1.0pre1 -$Id: ChangeLog,v 1.1471 2001/08/14 20:35:35 stevesk Exp $ +$Id: ChangeLog,v 1.1472 2001/08/14 20:41:34 stevesk Exp $ @@ -186,6 +186,7 @@ pty_allocate(int *ptyfd, int *ttyfd, char *namebuf, int namebuflen) if (*ttyfd < 0) { error("%.100s: %.100s", namebuf, strerror(errno)); close(*ptyfd); + return 0; } return 1; } |