...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@230 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user