1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

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
This commit is contained in:
unknown
2005-11-02 09:30:01 -06:00
parent 5ce36e8134
commit e9af959eef
4 changed files with 7 additions and 6 deletions

View File

@ -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;