projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Patch from Harvey Eneman: fixes problem on some systems where a free()
[mmh]
/
uip
/
whatnowsbr.c
diff --git
a/uip/whatnowsbr.c
b/uip/whatnowsbr.c
index
c3d93ff
..
36ba346
100644
(file)
--- a/
uip/whatnowsbr.c
+++ b/
uip/whatnowsbr.c
@@
-696,7
+696,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 = vfork()) {
case NOTOK:
advise ("fork", "unable to");
status = NOTOK;
case NOTOK:
advise ("fork", "unable to");
status = NOTOK;
@@
-1349,7
+1349,7
@@
whomfile (char **arg, char *file)
context_save (); /* save the context file */
fflush (stdout);
context_save (); /* save the context file */
fflush (stdout);
- switch (pid = vfork ()) {
+ switch (pid = vfork()) {
case NOTOK:
advise ("fork", "unable to");
return 1;
case NOTOK:
advise ("fork", "unable to");
return 1;