[project @ 2004-09-02 05:57:41 by dons]
authordons <unknown>
Thu, 2 Sep 2004 05:57:41 +0000 (05:57 +0000)
committerdons <unknown>
Thu, 2 Sep 2004 05:57:41 +0000 (05:57 +0000)
Trying to closedir the wrong pointer in "readdir sets errno" test.
This caused test to dump core, leading to 'bogus' value of test
result, which breaks the build.

aclocal.m4

index dae32b6..d338568 100644 (file)
@@ -48,7 +48,7 @@ char **argv;
   err = errno;
   fprintf(f,"%d", err);
   fclose(f);
-  closedir(de);
+  closedir(dp);
   rmdir("testdir");
   return 0;
 }],fptools_cv_readdir_eof_errno=`cat conftestval`, fptools_cv_readdir_eof_errno=bogus, fptools_cv_readdir_eof_errno=0)])