actually check errno instead of master
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16704 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -298,7 +298,7 @@ TermParse::EscParse(void *data)
|
|||||||
}
|
}
|
||||||
parsestate = groundtable;
|
parsestate = groundtable;
|
||||||
now_coding = gNowCoding;
|
now_coding = gNowCoding;
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (parsestate[c]) {
|
switch (parsestate[c]) {
|
||||||
case CASE_PRINT:
|
case CASE_PRINT:
|
||||||
|
|||||||
@@ -176,7 +176,7 @@ spawn_shell(int row, int col, const char *command, const char *coding)
|
|||||||
break;
|
break;
|
||||||
} else {
|
} else {
|
||||||
// B_BUSY is a normal case
|
// B_BUSY is a normal case
|
||||||
if (master != B_BUSY)
|
if (errno != B_BUSY)
|
||||||
fprintf(stderr, "could not open %s: %s\n", ptyName, strerror(errno));
|
fprintf(stderr, "could not open %s: %s\n", ptyName, strerror(errno));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user