summary |
log |
commit |
diff |
tree
raw |
patch |
inline | side by side (from parent 1:
9031e22)
dvtm is too fast in starting up. It will then have a race condition in finding
the right. terminal size.
if (openpty(&m, &s, NULL, NULL, &w) < 0)
die("openpty failed: %s\n", strerror(errno));
if (openpty(&m, &s, NULL, NULL, &w) < 0)
die("openpty failed: %s\n", strerror(errno));
switch (pid = fork()) {
case -1:
die("fork failed\n");
switch (pid = fork()) {
case -1:
die("fork failed\n");