projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Finally got a reasonable burst test working.
[mmh]
/
uip
/
spost.c
diff --git
a/uip/spost.c
b/uip/spost.c
index
6defbac
..
187f9a0
100644
(file)
--- a/
uip/spost.c
+++ b/
uip/spost.c
@@
-428,7
+428,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 = m_vfork()) == NOTOK && i < 5; i++)
+ for (i=0; (pid = vfork()) == NOTOK && i < 5; i++)
sleep(5);
switch (pid) {
case NOTOK:
sleep(5);
switch (pid) {
case NOTOK:
@@
-764,7
+764,7
@@
make_bcc_file (void)
else {
vec[0] = r1bindex (mhlproc, '/');
else {
vec[0] = r1bindex (mhlproc, '/');
- for (i = 0; (child_id = m_vfork()) == NOTOK && i < 5; i++)
+ for (i = 0; (child_id = vfork()) == NOTOK && i < 5; i++)
sleep (5);
switch (child_id) {
case NOTOK:
sleep (5);
switch (child_id) {
case NOTOK:
@@
-825,7
+825,7
@@
fcc (char *file, char *folder)
printf ("%sFcc: %s\n", msgstate == resent ? "Resent-" : "", folder);
fflush (stdout);
printf ("%sFcc: %s\n", msgstate == resent ? "Resent-" : "", folder);
fflush (stdout);
- for (i = 0; (child_id = m_vfork()) == NOTOK && i < 5; i++)
+ for (i = 0; (child_id = vfork()) == NOTOK && i < 5; i++)
sleep (5);
switch (child_id) {
case NOTOK:
sleep (5);
switch (child_id) {
case NOTOK: