Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: BentFX on September 27, 2011, 08:24:12 am

Title: Stupid little patch: manpage typo
Post by: BentFX on September 27, 2011, 08:24:12 am
I don't know the regular drill, but I've recently worked through how to capture a simple diff/patch file.

The last example in the Codeblocks manpage has a simple typo. It references a .cpp file, that the context would suggest was meant to be a .cbp file.

If someone would be interested in commiting the change it would make my first patch file seem just a little bit more special. Like I said I don't know the Codeblocks drill. I have worked with technical drawings and the system for tracking and documenting changes made the little changes like this, the most hateful thing, because the overhead of documenting it actually made the fix non-productive.

From within the trunk folder...
Code
patch -p0 < manpage.patch

http://bentfx.com/manpage.patch
Code
--- src/src/codeblocks.1	2011-09-26 06:59:41.700778880 -0700
+++ src/src/codeblocks.1.fixed 2011-09-26 07:03:11.188781482 -0700
@@ -57,7 +57,7 @@
 .nf
 codeblocks \-\-build \-\-target="Debug" \-\-no\-batch\-window\-close myproject.cbp
 
-Batch rebuild everything in myproject.cpp:
+Batch rebuild everything in myproject.cbp:
 .nf
 codeblocks \-\-rebuild myproject.cbp
 .SH AUTHOR
Title: Re: Stupid little patch: manpage typo
Post by: oBFusCATed on September 27, 2011, 08:40:06 am
It was already committed, yesterday.

http://svn.berlios.de/wsvn/codeblocks/?op=log&rev=0&sc=0&isdir=1

rev7466
Title: Re: Stupid little patch: manpage typo
Post by: BentFX on September 27, 2011, 09:01:11 am
It was already committed, yesterday.

http://svn.berlios.de/wsvn/codeblocks/?op=log&rev=0&sc=0&isdir=1

rev7466

Thank you Sir!

and Thank You @MortenMacFly