install-reloc: Support multi-binary installation.
[gnulib.git] / tests / test-fflush.c
index 4f83b15..1c61140 100644 (file)
@@ -172,7 +172,9 @@ main (void)
       }
   }
   {
-    FILE *fp = fdopen (99, "w");
+    FILE *fp;
+    close (99);
+    fp = fdopen (99, "w");
     if (fp != NULL)
       {
         fputc ('x', fp);