~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_getopt.cc

  • Committer: Monty Taylor
  • Date: 2008-11-07 00:35:38 UTC
  • mto: (575.1.8 devel)
  • mto: This revision was merged to the branch mainline in revision 579.
  • Revision ID: monty@inaugust.com-20081107003538-x48mj66gkbrdjcuc
Made mysys and mystrings c++. Fixed the resulting bugs the compiler found.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1147
1147
 
1148
1148
      while ((uint) (end - comment) > comment_space)
1149
1149
      {
1150
 
        for (line_end= comment + comment_space; *line_end != ' '; line_end--);
 
1150
        for (line_end= comment + comment_space; *line_end != ' '; line_end--)
 
1151
          {}
1151
1152
        for (; comment != line_end; comment++)
1152
1153
          putchar(*comment);
1153
1154
        comment++; /* skip the space, as a newline will take it's place now */