~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzletest.cc

  • Committer: Eric Herman
  • Date: 2008-12-06 19:42:46 UTC
  • mto: (656.1.6 devel)
  • mto: This revision was merged to the branch mainline in revision 665.
  • Revision ID: eric@mysql.com-20081206194246-5cdexuu81i366eek
removed trailing whitespace with simple script:

for file in $(find . -name "*.c") $(find . -name "*.cc") $(find . -name "*.h"); do ruby -pe 'gsub(/\s+$/, $/)' < $file > $file.out; mv $file.out $file; done;

Show diffs side-by-side

added added

removed removed

Lines of Context:
6388
6388
    return 1;
6389
6389
  }
6390
6390
 
6391
 
  char *substring_to_replace= in_string + ovector[0]; 
 
6391
  char *substring_to_replace= in_string + ovector[0];
6392
6392
  int substring_length= ovector[1] - ovector[0];
6393
6393
  *buf_len_p= strlen(in_string) - substring_length + strlen(replace);
6394
6394
  char * new_buf = (char *)malloc(*buf_len_p+1);