install-reloc: Support multi-binary installation.
[gnulib.git] / tests / test-ftello4.c
index 1b6f6c6..b8cd679 100644 (file)
@@ -54,7 +54,9 @@ main (int argc, char **argv)
       }
   }
   {
-    FILE *fp = fdopen (99, "w");
+    FILE *fp;
+    close (99);
+    fp = fdopen (99, "w");
     if (fp != NULL)
       {
         errno = 0;