Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Oct 2023 18:37:11 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 050bfa51fe96 - stable/13 - Update a few tools to not embed $FreeBSD$ in generated files
Message-ID:  <202310241837.39OIbBBb088705@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=050bfa51fe968a024763afaa67dd6caebc2a7c66

commit 050bfa51fe968a024763afaa67dd6caebc2a7c66
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-09-25 14:55:43 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-10-24 18:13:18 +0000

    Update a few tools to not embed $FreeBSD$ in generated files
    
    Reviewed by:    imp, emaste
    Differential Revision:  https://reviews.freebsd.org/D41959
    
    (cherry picked from commit c4e2333cb2a59e44004d824a1093d9bf1d9fe273)
---
 tools/test/iconv/tablegen/tablegen.c | 2 --
 tools/tools/drm/gen-drm_pciids       | 4 ----
 tools/tools/locale/tools/cldr2def.pl | 1 -
 3 files changed, 7 deletions(-)

diff --git a/tools/test/iconv/tablegen/tablegen.c b/tools/test/iconv/tablegen/tablegen.c
index 6cb7ff1a4095..8c544d9a0aa5 100644
--- a/tools/test/iconv/tablegen/tablegen.c
+++ b/tools/test/iconv/tablegen/tablegen.c
@@ -254,7 +254,6 @@ main (int argc, char *argv[])
 		if (dflag && iconvctl(cd, ICONV_SET_FALLBACKS, &fbs) != 0)
 			err(1, NULL);
 		if (cflag) {
-			printf("# $FreeBSD$\n\n");
 			printf("TYPE\t\tROWCOL\n");
 			printf("NAME\t\tUCS/%s\n", argv[0]);
 			printf("%s", citrus_common);
@@ -266,7 +265,6 @@ main (int argc, char *argv[])
 		if (dflag && (iconvctl(cd, ICONV_SET_FALLBACKS, &fbs) != 0))
 			err(1, NULL);
 		if (cflag) {
-			printf("# $FreeBSD$\n\n");
 			printf("TYPE\t\tROWCOL\n");
 			printf("NAME\t\t%s/UCS\n", argv[0]);
 			printf("%s", citrus_common);
diff --git a/tools/tools/drm/gen-drm_pciids b/tools/tools/drm/gen-drm_pciids
index ecb8e3aef6e4..472c75cb80dc 100755
--- a/tools/tools/drm/gen-drm_pciids
+++ b/tools/tools/drm/gen-drm_pciids
@@ -156,10 +156,6 @@ foreach my $vendor_define (sort keys(%linux_pciids)) {
 
 print STDERR "\nWrite FreeBSD header to stdout...\n";
 print <<"EOF";
-/*
- * \$FreeBSD\$
- */
-
 /*
  * Generated by $progname from:
  *   o  previous FreeBSD's drm_pciids.h
diff --git a/tools/tools/locale/tools/cldr2def.pl b/tools/tools/locale/tools/cldr2def.pl
index 4d3711664869..4f6adefedd78 100755
--- a/tools/tools/locale/tools/cldr2def.pl
+++ b/tools/tools/locale/tools/cldr2def.pl
@@ -982,7 +982,6 @@ sub make_makefile {
 	}
 	open(FOUT, ">$TYPE.draft/Makefile");
 	print FOUT <<EOF;
-# \$FreeBSD\$
 # Warning: Do not edit. This file is automatically generated from the
 # tools in /usr/src/tools/tools/locale.
 



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