List:Commits« Previous MessageNext Message »
From:msvensson Date:April 12 2007 8:29am
Subject:bk commit into 5.0 tree (msvensson:1.2440) BUG#14862
View as plain text  
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, 2007-04-12 10:29:22+02:00, msvensson@stripped +1 -0
  Bug#14862 undefined reference to `isinf' on SOLARIS - strings/strtod.c
   - Rely only on HAVE_ISINF to determine if 'isinf' can be used.

  include/my_global.h@stripped, 2007-04-12 10:29:20+02:00, msvensson@stripped +6 -1
    The test in configure.in determines if we can use "'isinf' after
    having inluded math.h". If the test works HAVE_ISINF will be defined
    and isinf can be used in the code.
    When the configure test fails it's not possible to use 'isinf' only
    by including math.h and thus 'isinf' will be defined to never return
    that X is inifinite.

# 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:	pilot.blaudden
# Root:	/home/msvensson/mysql/bug14862/my50-bug14862

--- 1.137/include/my_global.h	2007-03-09 06:05:04 +01:00
+++ 1.138/include/my_global.h	2007-04-12 10:29:20 +02:00
@@ -812,7 +812,12 @@ typedef SOCKET_SIZE_TYPE size_socket;
 #define SSIZE_MAX ((~((size_t) 0)) / 2)
 #endif
 
-#if !defined(HAVE_ISINF) && !defined(isinf)
+#if !defined(HAVE_ISINF)
+/* The configure check for "isinf with math.h" has failed */
+#ifdef isinf
+#undef isinf
+#endif
+/* Define isinf to never say that X is infinite */
 #define isinf(X)    0
 #endif
 
Thread
bk commit into 5.0 tree (msvensson:1.2440) BUG#14862msvensson12 Apr