• The directory /opt/www/bruyninckxh2/web/tmp/drutex-de4026790b3f6313f0ce0feb8c0de6d7-1 has been created.
  • The directory /opt/www/bruyninckxh2/web/tmp/drutex-de4026790b3f6313f0ce0feb8c0de6d7-2 has been created.
  • The directory /opt/www/bruyninckxh2/web/tmp/drutex-de4026790b3f6313f0ce0feb8c0de6d7-3 has been created.

Huge patch on trunk: whitespace removal

Hi,

We were noticing lately that some editors (like Eclipse) remove trailing
whitespace when a file is saved. This causes unnecessary hunks in patches.
We're preparing trunk/rtt & ocl to remove these in one commit.

The command used is:

for i in $(find . -name '*hpp' -o -name '*cpp' | grep -v '.svn'); do
sed -i -r 's/[ \t]*$//' $i; done

In case you want to preview what will be done, you can use (note: echo):

for i in $(find . -name '*hpp' -o -name '*cpp' | grep -v '.svn'); do echo
sed -i -r 's/[ \t]*$//' $i; done

I believe KDL & BFL will need such a change as well. Normally, it should be
the job of the svn system to check for these whitespaces (and all indentation
for that matter) and remove them when comitted. But for now, this is a manual
process.

I have also changed the 'header_gen' scripts (see trunk/rtt/tools/scripts/)
such that they do no longer add whitespace at the end of some lines.

Peter