List:Commits« Previous MessageNext Message »
From:msvensson Date:November 23 2006 11:38am
Subject:bk commit into 5.0 tree (msvensson:1.2308)
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, 2006-11-23 11:38:44+01:00, msvensson@neptunus.(none) +1 -0
  Build fixes for NetWare

  client/mysql_upgrade.c@stripped, 2006-11-23 11:38:42+01:00, msvensson@neptunus.(none) +8 -6
    Build fixes for NetWare

# 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:	neptunus.(none)
# Root:	/home/msvensson/mysql/mysql-5.0-release

--- 1.10/client/mysql_upgrade.c	2006-11-23 11:38:50 +01:00
+++ 1.11/client/mysql_upgrade.c	2006-11-23 11:38:50 +01:00
@@ -373,22 +373,24 @@ static int comp_names(struct fileinfo *a
 }
 
 
-static int 
-find_file(const char *name, const char *root, uint flags, char *result, size_t len, ...)
+static int find_file(const char *name, const char *root,
+                     uint flags, char *result, size_t len, ...)
 {
-  int ret;
+  int ret= 1;
   va_list va;
-  FILEINFO key= { (char*)name, NULL };
   const char *subdir;
   char *cp;
-  
+  FILEINFO key;
+
+  /* Init key with name of the file to look for */
+  key.name= (char*)name;
+
   DBUG_ASSERT(root != NULL);
 
   cp= strmake(result, root, len);
   if (cp[-1] != FN_LIBCHAR) 
     *cp++= FN_LIBCHAR; 
   
-  ret= 1;
   va_start(va, len);
   subdir= (!(flags & MY_SEARCH_SELF)) ? va_arg(va, char *) : "";
   while (subdir)
Thread
bk commit into 5.0 tree (msvensson:1.2308)msvensson23 Nov