Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-3816

Should we replace ptr_len_cmp() with memcmp() consistently?

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.0.0
    • Core

    Description

      In most places, we already use memcmp(), but we have our own implementation / wrapper named ptr_len_cmp(), which is used in a few places. This seems rather inconsistent, so either we use ptr_len_cmp() consistently, or just use memcmp() across the board.

      Attachments

        Issue Links

          Activity

            People

              tstroh Tyler Stroh
              zwoop Leif Hedstrom
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: