Below is the list of changes that have just been committed into a local
5.0 repository of msvensson. When msvensson does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet@stripped, 2006-09-12 15:47:48+02:00, msvensson@shellback.(none) +1 -0
Bug#14862 undefined reference to `isinf' on SOLARIS - strings/strtod.c
- Change the configure test looking for 'isinf' so the value returned from isinf is used. That avoids the call to isinf being optimized away.
configure.in@stripped, 2006-09-12 15:47:45+02:00, msvensson@shellback.(none) +1 -1
Use the value returned from isinf so it's not optimized away by the compiler(i.e gcc 4.1)
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: msvensson
# Host: shellback.(none)
# Root: /home/msvensson/mysql/bug20602/my50-bug20602
--- 1.406/configure.in 2006-09-12 15:47:56 +02:00
+++ 1.407/configure.in 2006-09-12 15:47:56 +02:00
@@ -1946,7 +1946,7 @@
# isinf() could be a function or a macro (HPUX)
AC_MSG_CHECKING(for isinf with <math.h>)
-AC_TRY_LINK([#include <math.h>], [float f = 0.0; isinf(f)],
+AC_TRY_LINK([#include <math.h>], [float f = 0.0; int r = isinf(f); return r],
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_ISINF, [1], [isinf() macro or function]),
AC_MSG_RESULT(no))
| Thread |
|---|
| • bk commit into 5.0 tree (msvensson:1.2232) BUG#14862 | msvensson | 12 Sep |