Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


Hi Michael,

On Sun, 2010-10-03 at 23:20 -0600, callahan@xmission.com wrote:
This is in response to Easy Task 6, removal of various include guards  
throughout the source code.

I have created and included a small python script to identify and  
remove these include guards.  Here is the basics on how to use it:

Thanks for that clever solution! Many thanks for your script: I'm sure
it'll help us and others to quickly fix this task.

python fixguard.py somefile.cxx

Or recursively:

# Go to the clone/writer directory.
find . -name '*.cxx' -exec grep python $HOME/fixguard.py {} \;
git diff
# verify that the diffs are sane and check them in.

I've pushed the script to the bin folder of the build repo so that
anyone can use it. I also mentioned your tool on the wiki page for
others to know it.

Regards,
--
Cedric


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.