Skip to content

fix: add copyright notice to src/fmt.cc#4785

Open
leno23 wants to merge 1 commit into
fmtlib:mainfrom
leno23:fix/4781-fmt-cc-copyright
Open

fix: add copyright notice to src/fmt.cc#4785
leno23 wants to merge 1 commit into
fmtlib:mainfrom
leno23:fix/4781-fmt-cc-copyright

Conversation

@leno23
Copy link
Copy Markdown

@leno23 leno23 commented May 26, 2026

Summary

Adds the standard {fmt} file header (copyright + license reference) to src/fmt.cc, matching src/format.cc and src/os.cc. This addresses SBOM / dependency scanner warnings reported in #4781.

Fixes #4781

Test plan

  • Comment-only header addition before the module; directive
  • CI

Made with Cursor

SBOM scanners expect a copyright header consistent with other
translation units in the repository.

Fixes fmtlib#4781
@leno23
Copy link
Copy Markdown
Author

leno23 commented May 26, 2026

Small header-only fix for SBOM scanners; mirrors the notice already used in src/format.cc / src/os.cc.

@leno23
Copy link
Copy Markdown
Author

leno23 commented May 26, 2026

Minimal copyright header for SBOM tooling (#4781). Ready for review.

@leno23
Copy link
Copy Markdown
Author

leno23 commented May 26, 2026

Copyright header in fmt.cc — ready for review.

@leno23
Copy link
Copy Markdown
Author

leno23 commented May 26, 2026

Copyright header in fmt.cc — CI green, ready for review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Absence of copyright notice causing issues with SBOM scanners

1 participant