install-reloc: Support multi-binary installation.
[gnulib.git] / tests / test-fread.c
index 698e534..a807e0a 100644 (file)
@@ -79,7 +79,9 @@ main (int argc, char **argv)
       }
   }
   {
-    FILE *fp = fdopen (99, "r");
+    FILE *fp;
+    close (99);
+    fp = fdopen (99, "r");
     if (fp != NULL)
       {
         char buf[1];