make things work on SunOS
This commit is contained in:
parent
e637c944fe
commit
a0f1e21ff9
19 changed files with 43 additions and 20 deletions
|
|
@ -697,6 +697,8 @@ notifyf(void *a, char *s)
|
|||
noted(NDFLT);
|
||||
rescue();
|
||||
}
|
||||
if(strstr(s, "child"))
|
||||
noted(NCONT);
|
||||
fprint(2, "ed: note: %s\n", s);
|
||||
abort();
|
||||
}
|
||||
|
|
@ -928,7 +930,8 @@ callunix(void)
|
|||
*p = 0;
|
||||
pid = fork();
|
||||
if(pid == 0) {
|
||||
execl("/bin/rc", "rc", "-c", buf, 0);
|
||||
execlp("rc", "rc", "-c", buf, 0);
|
||||
sysfatal("exec failed: %r");
|
||||
exits("execl failed");
|
||||
}
|
||||
waiting = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue