chiark
/
gitweb
/
~ianmdlvl
/
adns.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc66304
)
regress: hfuzz: Do not redirect stdout
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 27 Nov 2016 16:25:45 +0000
(16:25 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 11 Jun 2020 15:13:02 +0000
(16:13 +0100)
(And anyway the dup2 was the wrong way round.)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
regress/hfuzz.c
patch
|
blob
|
history
diff --git
a/regress/hfuzz.c
b/regress/hfuzz.c
index e09089f6308aac982ceb2f15379cc3441849517a..467f0251e46274f7331199dac6fb4fc79ee10809 100644
(file)
--- 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);
}