git: cb668587591c - main - Revert "sys/conf/newvers.sh: whack sccs tag"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 27 Sep 2023 23:11:10 UTC
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=cb668587591c4850bf7fb939a2b79e0e9aa77f7c commit cb668587591c4850bf7fb939a2b79e0e9aa77f7c Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2023-09-27 23:07:43 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2023-09-27 23:07:43 +0000 Revert "sys/conf/newvers.sh: whack sccs tag" This string is still in active use to find versions for core files before we have symbols. This is premature. This reverts commit e6dc6a27230f836a131118326731b7c5fd417723. Sponsored by: Netflix --- sys/conf/newvers.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/conf/newvers.sh b/sys/conf/newvers.sh index 18b1817ca287..73fd6857d307 100644 --- a/sys/conf/newvers.sh +++ b/sys/conf/newvers.sh @@ -311,9 +311,11 @@ fi vers_content_new=$(cat << EOF $COPYRIGHT +#define SCCSSTR "@(#)${VERINFO}" #define VERSTR "${VERSTR}" #define RELSTR "${RELEASE}" +char sccs[sizeof(SCCSSTR) > 128 ? sizeof(SCCSSTR) : 128] = SCCSSTR; char version[sizeof(VERSTR) > 256 ? sizeof(VERSTR) : 256] = VERSTR; char compiler_version[] = "${compiler_v}"; char ostype[] = "${TYPE}";