Page MenuHomeFreeBSD

Clean up the vcs ID strings in libc's gen/ directory.
ClosedPublic

Authored by jhb on Jun 15 2018, 7:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 10 2024, 6:41 PM
Unknown Object (File)
Dec 20 2023, 7:13 AM
Unknown Object (File)
Sep 26 2023, 8:38 PM
Unknown Object (File)
Sep 19 2023, 7:08 AM
Unknown Object (File)
Sep 19 2023, 7:05 AM
Unknown Object (File)
Sep 19 2023, 7:05 AM
Unknown Object (File)
Sep 3 2023, 8:11 PM
Unknown Object (File)
Sep 1 2023, 5:06 AM
Subscribers

Details

Summary
  • Move CSRG IDs into __SCCSID().
  • When a file has been copied, consistently use 'From: <tag>' for strings referencing the version of the source file copied from in the license block comment.
  • Some of the 'From:' tags were using $FreeBSD$ that was being expanded on each checkout. Fix those to hardcode the FreeBSD tag from the file that was copied at the time of the copy.
  • When multiple strings are present list them in "chronological" order, so CSRG (SCCSID) before FreeBSD (FBSDID). If a file came from OtherBSD and contains a CSRG ID from the OtherBSD file, use the order CSRG -> OtherBSD -> FreeBSD.

There are some files that have $NetBSD$ and $OpenBSD$ tags at the start
of the file before the license statement. I have left those as-is, but
they should perhaps be changed to use RCSID? NetBSD stores the tag
both in a comment at the top and in a
RCSID()-type string. OpenBSD
used to store both but seems to have removed the __RCSID()-type thing,
so perhaps it is best to leave them as is?

Test Plan
  • buildworld plus some cursory examination of .comment contents

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

thanks for doing this largely thankless task.
#ifdef link -= 1000 because of it.

This revision is now accepted and ready to land.Jun 15 2018, 7:11 PM
This revision was automatically updated to reflect the committed changes.