diff options
author | dons <unknown> | 2004-09-02 05:57:41 +0000 |
---|---|---|
committer | dons <unknown> | 2004-09-02 05:57:41 +0000 |
commit | aebf6b55d508f43723209d1faa743a646d26de2d (patch) | |
tree | 53b1698503383160c007989f6a2eada4a246f5e0 /libraries/base/aclocal.m4 | |
parent | c1205492fb79317b09469e8ade166d8da942a430 (diff) | |
download | haskell-aebf6b55d508f43723209d1faa743a646d26de2d.tar.gz |
[project @ 2004-09-02 05:57:41 by dons]
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.
Diffstat (limited to 'libraries/base/aclocal.m4')
-rw-r--r-- | libraries/base/aclocal.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/aclocal.m4 b/libraries/base/aclocal.m4 index dae32b6701..d3385683c9 100644 --- a/libraries/base/aclocal.m4 +++ b/libraries/base/aclocal.m4 @@ -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)]) |