diff options
author | unknown <reggie@fedora.(none)> | 2005-11-02 09:30:01 -0600 |
---|---|---|
committer | unknown <reggie@fedora.(none)> | 2005-11-02 09:30:01 -0600 |
commit | e9af959eef34eecefb7db59fe31afc250c6fabcb (patch) | |
tree | fdc5968fbf3580a8e51d18c674e1945a009d45e8 /server-tools/instance-manager/parse_output.cc | |
parent | 5ce36e8134f41aed1e6dbfe585eb8e3c0ef410e5 (diff) | |
download | mariadb-git-e9af959eef34eecefb7db59fe31afc250c6fabcb.tar.gz |
make the IM compile on Windows
server-tools/instance-manager/instance_options.cc:
fix for coding guidelines
server-tools/instance-manager/parse_output.cc:
fix for coding guidelines
server-tools/instance-manager/priv.cc:
don't call pthread_attr_setstacksize on Windows
server-tools/instance-manager/priv.h:
include my_pthread so the thread functions will compile on Windows
Diffstat (limited to 'server-tools/instance-manager/parse_output.cc')
-rw-r--r-- | server-tools/instance-manager/parse_output.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server-tools/instance-manager/parse_output.cc b/server-tools/instance-manager/parse_output.cc index d4a015495ea..ebc45c1f7d4 100644 --- a/server-tools/instance-manager/parse_output.cc +++ b/server-tools/instance-manager/parse_output.cc @@ -26,13 +26,13 @@ void trim_space(const char **text, uint *word_len) { - const char* start= *text; + const char *start= *text; while (*start != 0 && *start == ' ') start++; *text= start; int len= strlen(start); - const char* end= start + len - 1; + const char *end= start + len - 1; while (end > start && my_isspace(&my_charset_latin1, *end)) end--; *word_len= (end - start)+1; |