Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
b8f7f945
Commit
b8f7f945
authored
Apr 24, 2017
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More FlexeLint running
parent
9e754cc5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
26 deletions
+19
-26
flint.sh
bin/varnishncsa/flint.sh
+19
-24
flint.lnt
lib/libvarnish/flint.lnt
+0
-2
No files found.
bin/varnishncsa/flint.sh
View file @
b8f7f945
#!/bin/sh
#!/bin/sh
T
=
/tmp/_
$$
if
[
"x
$1
"
=
"x-ok"
-a
-f
_.fl
]
;
then
echo
"Saved as reference"
mv
_.fl _.fl.old
exit
0
fi
flexelint
\
flexelint
\
-I
/usr/include
\
../../flint.lnt
\
-I
.
\
-I
../..
\
-I
../../include
\
../flint.lnt
\
../flint.lnt
\
flint.lnt
\
flint.lnt
\
*
.c
>
$T
2>&1
-I
.
\
-I
../../include
\
-I
../..
\
*
.c
\
2>&1 |
tee
_.fl
for
t
in
Error Warning Info
if
[
-f
_.fl.old
]
;
then
do
diff
-u
_.fl.old _.fl
sed
-n
"/
$t
[0-9][0-9][0-9]:/s/.*
\(
$t
[0-9][0-9][0-9]
\)
.*/
\1
/p"
$T
fi
done
|
awk
'
$2 == 830 { next }
$2 == 831 { next }
{
i=$2"_"$1
h[i]++
n++
}
END {
printf "%5d %s\n", n, "Total"
for (i in h)
printf "%5d %s\n", h[i], i
}
'
|
sort
-rn
cat
$T
if
[
"x
$1
"
=
"x-ok"
]
;
then
echo
"Saved as reference"
mv
_.fl _.fl.old
fi
lib/libvarnish/flint.lnt
View file @
b8f7f945
-passes=8
+libh mgt_event.h
+libh mgt_event.h
+libh ../../config.h
+libh ../../config.h
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment