svn commit: r473603 - head/Mk/Scripts
Mathieu Arnold
mat at FreeBSD.org
Sat Jun 30 08:36:51 UTC 2018
Author: mat
Date: Sat Jun 30 08:36:50 2018
New Revision: 473603
URL: https://svnweb.freebsd.org/changeset/ports/473603
Log:
Remove dead code.
Sponsored by: Absolight
Modified:
head/Mk/Scripts/security-check.awk
Modified: head/Mk/Scripts/security-check.awk
==============================================================================
--- head/Mk/Scripts/security-check.awk Sat Jun 30 08:30:51 2018 (r473602)
+++ head/Mk/Scripts/security-check.awk Sat Jun 30 08:36:50 2018 (r473603)
@@ -1,9 +1,5 @@
BEGIN {
file = "";
- if (audit != "")
- stupid_functions_regexp="^(gets|mktemp|tempnam|tmpnam|strcpy|strcat|sprintf)$";
- else
- stupid_functions_regexp="^(gets|mktemp|tempnam|tmpnam)$";
split("", stupid_binaries);
split("", network_binaries);
split("", setuid_binaries);
@@ -18,7 +14,6 @@ FILENAME ~ /\.flattened$/ {
FILENAME ~ /\.objdump$/ {
if (match($0, /: +file format [^ ]+$/)) {
file = substr($0, 1, RSTART - 1);
- stupid_functions = "";
next;
}
if (file == "")
More information about the svn-ports-all
mailing list