Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jun 2018 08:36:50 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r473603 - head/Mk/Scripts
Message-ID:  <201806300836.w5U8aoog078159@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 == "")



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806300836.w5U8aoog078159>