projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
s/vfork/fork/
[mmh]
/
uip
/
whatnowsbr.c
diff --git
a/uip/whatnowsbr.c
b/uip/whatnowsbr.c
index
82af31e
..
ed5647e
100644
(file)
--- a/
uip/whatnowsbr.c
+++ b/
uip/whatnowsbr.c
@@
-703,7
+703,7
@@
editfile(char **ed, char **arg, char *file, int use, struct msgs *mp,
context_save(); /* save the context file */
fflush(stdout);
context_save(); /* save the context file */
fflush(stdout);
- switch (pid = vfork()) {
+ switch (pid = fork()) {
case NOTOK:
advise("fork", "unable to");
status = NOTOK;
case NOTOK:
advise("fork", "unable to");
status = NOTOK;
@@
-853,7
+853,7
@@
sendfile(char **arg, char *file, int pushsw)
context_save(); /* save the context file */
fflush(stdout);
context_save(); /* save the context file */
fflush(stdout);
- for (i = 0; (child_id = vfork()) == NOTOK && i < 5; i++)
+ for (i = 0; (child_id = fork()) == NOTOK && i < 5; i++)
sleep(5);
switch (child_id) {
case NOTOK:
sleep(5);
switch (child_id) {
case NOTOK: