projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Activated Jon's attachment system by default and steamlined it.
[mmh]
/
uip
/
spost.c
diff --git
a/uip/spost.c
b/uip/spost.c
index
cc163ac
..
8c55c06
100644
(file)
--- a/
uip/spost.c
+++ b/
uip/spost.c
@@
-431,7
+431,7
@@
main(int argc, char **argv)
if (pushflg && !(watch || verbose)) {
/* fork to a child to run sendmail */
if (pushflg && !(watch || verbose)) {
/* fork to a child to run sendmail */
- for (i=0; (pid = vfork()) == NOTOK && i < 5; i++)
+ for (i=0; (pid = fork()) == NOTOK && i < 5; i++)
sleep(5);
switch (pid) {
case NOTOK:
sleep(5);
switch (pid) {
case NOTOK:
@@
-797,11
+797,11
@@
make_bcc_file(void)
} else {
vec[0] = mhbasename(mhlproc);
} else {
vec[0] = mhbasename(mhlproc);
- 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:
- adios("vfork", "unable to");
+ adios("fork", "unable to");
case OK:
dup2(fileno(out), 1);
case OK:
dup2(fileno(out), 1);
@@
-857,7
+857,7
@@
fcc(char *file, char *folder)
folder);
fflush(stdout);
folder);
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: