Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-7147

Extend s_string utility to .cxx files

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT11.0.0, 5.3.0, 5.2.0-rc5
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • 3
    • Storage - Ra 2022-01-10

      The s_string utility checks for spelling errors in our source files, and is generally quite useful. Currently it doesn't check cxx files for spelling mistakes.

      A suggested change to fix this is:

      diff --git a/dist/s_string b/dist/s_string
      index 735490daf..2b55d86b7 100755
      --- a/dist/s_string
      +++ b/dist/s_string
      @@ -45,7 +45,7 @@ check() {
       # List of files to spellchk.
       l=`(cd .. &&
           find bench examples ext src test -name '*.[chsy]' &&
      -    find src -name '*.in')`
      +    find src -name '*.in' && find bench test -name '*.cxx')`
      

      There are two pieces of work here:
      1. Fix the script to it checks .cxx extension files.
      2. Fix the incorrectly spelled words

            Assignee:
            bing.xu@mongodb.com Bing Xu (Inactive)
            Reporter:
            luke.pearson@mongodb.com Luke Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: