SVN commit 568376 by mueller: only check added lines M +1 -2 post-commit.pl --- trunk/KDE/kde-common/svn/hooks/post-commit.pl #568375:568376 @@ -721,11 +721,10 @@ my @stuff = @_; my $found = ""; foreach my $current(@stuff) { - next if ($current =~ /^\s*\/\//); + next if ($current =~ /^[\s-]/); $current =~ s/\"[^\"]*\"//g; $current =~ s/\/\*.*\*\///g; $current =~ s,//.*,,g; - next if ($current =~ /^-/); $found .= "$1," if ($current =~ /\b(KRun::runCommand|KShellProcess|setUseShell)\b\s*[\(\r\n]/ and $found !~ /$1/); $found .= "$1," if ($current =~ /\b(system|popen|mktemp|mkstemp|tmpnam|gets|syslog|strptime)\b\s*[\(\r\n]/ and $found !~ /$1/); $found .= "$1," if ($current =~ /(scanf)\b\s*[\(\r\n]/ and $found !~ /$1/);