Page MenuHomePhabricator

clib: update C/C++ copyright statements to pass lint checks
ClosedPublic

Authored by simpkins on Aug 24 2017, 4:39 PM.

Details

Summary

Update the copyright headers in most of the C/C++ code consistently use the
GPLv2 copyright message. This allows these files to pass Facebook's internal
C/C++ linters.

Some of the files in fbcode/scm/hgext/cstore/ appear to have actually been
copied from the hg-crew repository, and were not originally authored by
Facebook. I have not modified the copyright statements in these files:

  • cstore/bitmanipulation.h
  • cstore/compat.h
  • cstore/mpatch.h
  • cstore/mpatch.c

I also have not modified any of the cfastmanifest code.

This corresponds to Facebook diff D5588677.

Test Plan

Confirmed that Facebook's C++ linters no longer complain about the copyright
messages.

Diff Detail

Repository
rFBHGX Facebook Mercurial Extensions
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

simpkins created this revision.Aug 24 2017, 4:39 PM
Herald added a reviewer: Restricted Project. · View Herald TranscriptAug 24 2017, 4:39 PM
quark accepted this revision.Aug 24 2017, 5:48 PM
This revision is now accepted and ready to land.Aug 24 2017, 5:48 PM
This revision was automatically updated to reflect the committed changes.