git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@230 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1996-02-04 16:14:07 +00:00
parent e2822ca2a9
commit 0b577a7b69
3 changed files with 20 additions and 14 deletions

View File

@@ -101,7 +101,7 @@ stilloob(s)
} while ((value == -1) && (errno == EINTR));
if (value < 0) {
fatalperror(pty, "select");
fatalperror(ourpty, "select");
}
if (FD_ISSET(s, &excepts)) {
return 1;
@@ -120,7 +120,7 @@ ptyflush()
{ sprintf(nfrontp, "td: ptyflush %d chars\r\n", n);
nfrontp += strlen(nfrontp); });
DIAG(TD_PTYDATA, printdata("pd", pbackp, n));
n = write(pty, pbackp, n);
n = write(ourpty, pbackp, n);
}
if (n < 0) {
if (errno == EWOULDBLOCK || errno == EINTR)