From 98d3c0886ef79d2a0349abed21645002e8a25e7e Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 27 Nov 2016 16:25:45 +0000 Subject: [PATCH] regress: hfuzz: Do not redirect stdout (And anyway the dup2 was the wrong way round.) Signed-off-by: Ian Jackson --- regress/hfuzz.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/regress/hfuzz.c b/regress/hfuzz.c index e09089f..467f025 100644 --- a/regress/hfuzz.c +++ b/regress/hfuzz.c @@ -121,8 +121,6 @@ int main(int argc, char **argv) { if (dup2(fileno(t_stdin), 0)) baile("dup2 t_stdin"); if (fseek(stdin, 0, SEEK_SET)) baile("rewind t_stdin"); - if (dup2(1,2)!=2) baile("redirect stderr to stdout"); - int estatus = Hmain(t_argc, t_argv); Texit(estatus); } -- 2.30.2