[cmake-developers] Improving CPack Documentation (and may be others as well)

Eric Noulard eric.noulard at gmail.com
Tue Jan 31 10:40:23 EST 2012


2012/1/31 Rolf Eike Beer <eike at sf-mail.de>:
>> Ok Agreed.
>> Just merged the branch to next.
>
> Just spotted a bug in it:
>
> @@ -559,6 +511,8 @@ bool cmDocumentation::CreateSingleModule(const char*
> fname,
>     {
>     if(line.size() && line[0] == '#')
>       {
> +      /* line beginnings with ## are mark-up ignore them */
> +      if (line[1] == '#') continue;
>       // blank line
>       if(line.size() <= 2)
>
> Just assume line is "#", then you will access beyond end of line.

Nice catch I'll fix it later tonight.

-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org



More information about the cmake-developers mailing list