[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 2.5.12-94-gf9f1b3e



The following commit has been merged in the master branch:
commit e9b6a87a9624096c3b7a0edc1993eb1dbe545e31
Author: Bastien ROUCARIÈS <roucaries.bastien@gmail.com>
Date:   Sun May 19 11:06:38 2013 +0200

    Allow C comments continuation
    
    * is sometimes used for alignment of C comments. Allow it.
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/checks/cruft b/checks/cruft
index 475fc46..1d0d345 100644
--- a/checks/cruft
+++ b/checks/cruft
@@ -484,7 +484,7 @@ sub find_cruft {
                          A \s+ copy \s+ of \s+ the \s+ license \s+ is \s+ included/xis) {
                     if (!exists $licenseproblemhash{'gfdl-invariants'}) {
                         # local space
-                        my $s = '(?:\s|\@c|%|\n[-\+!<>]|\n\.\\\"|<br\s*/?>)';
+                        my $s = '(?:\s|\@c|[%\*]|\n[-\+!<>]|\n\.\\\"|<br\s*/?>)';
                         # GFDL license, assume it is bad unless it
                         # explicitly states it has no "bad sections".
                         given($+{gfdlsections}) {
diff --git a/t/tests/cruft-gfdl-invariants/debian/src/normal.c b/t/tests/cruft-gfdl-invariants/debian/src/normal.c
new file mode 100644
index 0000000..a58e927
--- /dev/null
+++ b/t/tests/cruft-gfdl-invariants/debian/src/normal.c
@@ -0,0 +1,13 @@
+ /*****************************************************************************/
+/** \mainpage Cal3D API Reference
+  * <center>
+  *   <p>
+  *     Permission is granted to copy, distribute and/or modify this document
+  *     under the terms of the GNU Free Documentation License, Version 1.1 or
+  *     any later version published by the Free Software Foundation;
+  *     with no Invariant Sections, no Front-Cover Texts and
+  *     no Back-Cover Texts;
+  *     A copy of the license is included in the section entitled
+  *     \link license "GNU Free Documentation License" \endlink .
+  * </center>
+  *****************************************************************************/

-- 
Debian package checker


Reply to: