summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2003-01-05 20:18:49 +0200
committermonty@mashka.mysql.fi <>2003-01-05 20:18:49 +0200
commit9ecf9645ebab531ce5aa29514b6b9457968f9946 (patch)
treece42417ba1ab6dac8c367a9ae180ea377956e95a /acinclude.m4
parent5e77a27182fe6a2544e3e4b0ad23399c9fb2ca48 (diff)
downloadmariadb-git-9ecf9645ebab531ce5aa29514b6b9457968f9946.tar.gz
A lot of portability fixes.
Added rename table for BDB. This fixes a bug in ALTER TABLE with BDB tables.
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 7436b5136a5..cf0233fa38f 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -623,7 +623,7 @@ main()
FILE *file=fopen("conftestval", "w");
f = (float) ll;
fprintf(file,"%g\n",f);
- close(file);
+ fclose(file);
exit (0);
}], ac_cv_conv_longlong_to_float=`cat conftestval`, ac_cv_conv_longlong_to_float=0, ifelse([$2], , , ac_cv_conv_longlong_to_float=$2))])dnl
if test "$ac_cv_conv_longlong_to_float" = "1" -o "$ac_cv_conv_longlong_to_float" = "yes"