Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-53101

UNIX linefeeds for all C++ source

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • None
    • Internal Code
    • None
    • Fully Compatible
    • Service arch 2020-11-30

    Description

      Having some source files in UNIX and some DOS format in the codebase makes source analysis harder, and generates extraneous diffs depending on the text editor used to make the edit.

      There are a few files that are using DOS linefeeds, all under `db/cst/`.

      src/mongo/db/cst/bson_location.h: C++ source, ASCII text, with CRLF line terminators
      src/mongo/db/cst/cst_error_test.cpp: C++ source, ASCII text, with CRLF line terminators
      src/mongo/db/cst/cst_match_test.cpp: C++ source, ASCII text, with CRLF line terminators
      src/mongo/db/cst/cst_parser.h: C source, ASCII text, with CRLF line terminators
      src/mongo/db/cst/cst_sort_translation_test.cpp: C++ source, ASCII text, with CRLF line terminators
      src/mongo/db/cst/cst_expression_test.cpp: C++ source, ASCII text, with CRLF line terminators
      

      Attachments

        Activity

          People

            billy.donahue@mongodb.com Billy Donahue
            billy.donahue@mongodb.com Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: