Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Oct 2023 18:37:10 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: 8f7aafe29f4a - stable/14 - Update a few tools to not embed $FreeBSD$ in generated files
Message-ID:  <202310241837.39OIbAkl088596@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/src/commit/?id=8f7aafe29f4a3716635a501ea3ef0177a5fdffe9

commit 8f7aafe29f4a3716635a501ea3ef0177a5fdffe9
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-09-25 14:55:43 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-10-24 17:11:20 +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 843f8f6cb135..ecc1c7fdb44d 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 8e48f32f263c..e59e6d3b13a1 100755
--- a/tools/tools/locale/tools/cldr2def.pl
+++ b/tools/tools/locale/tools/cldr2def.pl
@@ -947,7 +947,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.39OIbAkl088596>