projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
slocal: must not read profile (indirectly through m_mktemp2()).
[mmh]
/
uip
/
mhbuildsbr.c
diff --git
a/uip/mhbuildsbr.c
b/uip/mhbuildsbr.c
index
4358606
..
efbb8ac
100644
(file)
--- a/
uip/mhbuildsbr.c
+++ b/
uip/mhbuildsbr.c
@@
-20,7
+20,6
@@
#include <h/md5.h>
#include <errno.h>
#include <signal.h>
#include <h/md5.h>
#include <errno.h>
#include <signal.h>
-#include <h/mts.h>
#include <h/tws.h>
#include <h/mime.h>
#include <h/mhparse.h>
#include <h/tws.h>
#include <h/mime.h>
#include <h/mhparse.h>
@@
-1018,7
+1017,7
@@
compose_content(CT ct)
default:
if (!ce->ce_file) {
pid_t child_id;
default:
if (!ce->ce_file) {
pid_t child_id;
- int i, xstdout, len, buflen;
+ int xstdout, len, buflen;
char *bp, **ap, *cp;
char *vec[4], buffer[BUFSIZ];
FILE *out;
char *bp, **ap, *cp;
char *vec[4], buffer[BUFSIZ];
FILE *out;
@@
-1120,9
+1119,7
@@
raw:
if ((out = fopen(ce->ce_file, "w")) == NULL)
adios(ce->ce_file, "unable to open for writing");
if ((out = fopen(ce->ce_file, "w")) == NULL)
adios(ce->ce_file, "unable to open for writing");
- for (i = 0; (child_id = fork()) == NOTOK && i > 5; i++)
- sleep(5);
- switch (child_id) {
+ switch (child_id = fork()) {
case NOTOK:
adios("fork", "unable to fork");
/* NOTREACHED */
case NOTOK:
adios("fork", "unable to fork");
/* NOTREACHED */