MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Sven Sandberg Date:July 3 2008 8:29am
Subject:bzr commit into mysql-5.1 branch (sven:2685)
View as plain text  
#At file:///home/sven/bzr/debug-max/5.1-bugteam/

 2685 Sven Sandberg	2008-07-03 [merge]
      merge
modified:
  mysys/default.c

=== modified file 'mysys/default.c'
--- a/mysys/default.c	2008-06-27 20:53:27 +0000
+++ b/mysys/default.c	2008-07-02 15:54:54 +0000
@@ -1024,10 +1024,12 @@ static size_t my_get_system_windows_dire
 
 static const char *my_get_module_parent(char *buf, size_t size)
 {
+  char *last= NULL;
+  char *end;
   if (!GetModuleFileName(NULL, buf, size))
     return NULL;
+  end= strend(buf);
 
-  char *last= NULL, *end= strend(buf);
   /*
     Look for the second-to-last \ in the filename, but hang on
     to a pointer after the last \ in case we're in the root of

Thread
bzr commit into mysql-5.1 branch (sven:2685) Sven Sandberg3 Jul