chiark / gitweb /
regress: Move case-*.in opening to shlib playback_prepare
[adns.git] / regress / hfuzz.c
index da3865c40faa2e9332f284bbf759069ca97580cf..467f0251e46274f7331199dac6fb4fc79ee10809 100644 (file)
@@ -121,8 +121,11 @@ 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);
 }
+
+void Tmallocshutdown(void) { }
+void *Hmalloc(size_t s) { assert(s); return malloc(s); }
+void *Hrealloc(void *p, size_t s) { assert(s); return realloc(p,s); }
+void Hfree(void *p) { free(p); }