Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Oct 2019 17:41:21 +0000 (UTC)
From:      Brooks Davis <brooks@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r353055 - stable/12/lib/libbsnmp/libbsnmp
Message-ID:  <201910031741.x93HfLBA053968@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brooks
Date: Thu Oct  3 17:41:20 2019
New Revision: 353055
URL: https://svnweb.freebsd.org/changeset/base/353055

Log:
  MFC r352220:
  
  Avoid the use of the non-portable -D argument to ls.
  
  This was used to store the mtime of the source file in a commment in a
  generated header file.  This is of little-to-no diagnostic value and
  the result doesn't even end up in the source tree.
  
  Reported by:	arichardson
  Reviewed by:	arichardson
  Sponsored by:	DARPA, AFRL
  Differential Revision:	https://reviews.freebsd.org/D21605

Modified:
  stable/12/lib/libbsnmp/libbsnmp/Makefile
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/lib/libbsnmp/libbsnmp/Makefile
==============================================================================
--- stable/12/lib/libbsnmp/libbsnmp/Makefile	Thu Oct  3 16:38:44 2019	(r353054)
+++ stable/12/lib/libbsnmp/libbsnmp/Makefile	Thu Oct  3 17:41:20 2019	(r353055)
@@ -26,9 +26,7 @@ MAN=	asn1.3 bsnmpagent.3 bsnmpclient.3 bsnmplib.3
 
 snmptc.h : tc.def
 	(\
-	echo -n "/* autogenerated from tc.def; ";\
-	ls -l -D "%F %T" ${.ALLSRC} | awk '{printf("%s %s", $$6, $$7)}';\
-	echo "*/";\
+	echo "/* autogenerated from tc.def */";\
 	echo "#ifndef snmptc_h_1529923773";\
 	echo "#define snmptc_h_1529923773";\
 	gensnmptree -E -f <${.ALLSRC};\



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