List:Internals« Previous MessageNext Message »
From:kent Date:November 3 2005 11:42am
Subject:bk commit into 5.0 tree (kent:1.1966)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of kent. When kent 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
  1.1966 05/11/03 11:42:26 kent@stripped +1 -0
  base64.c:
    Pack ported compatibility changes from 5.1

  mysys/base64.c
    1.11 05/11/03 11:41:46 kent@stripped +4 -3
    Pack ported compatibility changes from 5.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:	kent
# Host:	c-7d4072d5.010-2112-6f72651.cust.bredbandsbolaget.se
# Root:	/Users/kent/mysql/bk/mysql-5.0

--- 1.10/mysys/base64.c	2005-10-31 19:57:21 +01:00
+++ 1.11/mysys/base64.c	2005-11-03 11:41:46 +01:00
@@ -15,7 +15,7 @@
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
 
 #include <base64.h>
-#include <m_string.h>  // strchr()
+#include <m_string.h>  /* strchr() */
 
 #ifndef MAIN
 
@@ -134,7 +134,8 @@
 {
   char b[3];
   size_t i= 0;
-  void *d= dst;
+  char *dst_base= (char *)dst;
+  char *d= dst_base;
   size_t j;
 
   while (i < size)
@@ -193,7 +194,7 @@
   {
     return -1;
   }
-  return d - dst;
+  return d - dst_base;
 }
 
 
Thread
bk commit into 5.0 tree (kent:1.1966)kent3 Nov