~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/mf_pack.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:
117
117
  Unpacks current dir if if "./.." used
118
118
 
119
119
  RETURN
120
 
    #  length of new name   
 
120
    #  length of new name
121
121
*/
122
122
 
123
123
size_t cleanup_dirname(register char *to, const char *from)
226
226
 
227
227
/*
228
228
  On system where you don't have symbolic links, the following
229
 
  code will allow you to create a file: 
 
229
  code will allow you to create a file:
230
230
  directory-name.sym that should contain the real path
231
231
  to the directory.  This will be used if the directory name
232
232
  doesn't exists