In crunchgen(1), when calling make(1), don't redirect stderr to stdout,
just rely on the exit status to detect an error. This makes crunchgen(1) safe to use with certain make(1) debugging flags. MFC after: 1 week
This commit is contained in:
parent
60c3f10368
commit
951e4d1c91
@ -780,7 +780,7 @@ _yacc= usr.bin/yacc
|
||||
.endif
|
||||
|
||||
.if !defined(NO_RESCUE) && \
|
||||
${BOOTSTRAPPING} < 502128
|
||||
${BOOTSTRAPPING} < 600008
|
||||
_crunchgen= usr.sbin/crunch/crunchgen
|
||||
.endif
|
||||
|
||||
|
@ -700,7 +700,7 @@ void fillin_program_objs(prog_t *p, char *path)
|
||||
|
||||
fclose(f);
|
||||
|
||||
snprintf(line, MAXLINELEN, "cd %s && make -f %s crunchgen_objs 2>&1",
|
||||
snprintf(line, MAXLINELEN, "cd %s && make -f %s crunchgen_objs",
|
||||
p->srcdir, tempfname);
|
||||
if ((f = popen(line, "r")) == NULL) {
|
||||
warn("submake pipe");
|
||||
|
Loading…
Reference in New Issue
Block a user