Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-899

Unnecessary relative path in include

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • proton-0.9.1
    • proton-0.10
    • proton-c
    • Patch

    Description

      Files:
      proton-c/src/codec/codec.c
      proton-c/src/messenger/messenger.c
      proton-c/src/transport/transport.c

      contain include with relative path:
      #include "../log_private.h"
      This is causing problem when porting on OpenVMS platform.
      I suggest that above include should change to
      #include "log_private.h"

      There is no need to have "../" since compiler flags already contain include path to directory where log_private.h resides.

      Attachments

        1. transport.c.patch
          0.3 kB
          Tomas Soltys
        2. messenger.c.patch
          0.3 kB
          Tomas Soltys
        3. codec.c.patch
          0.3 kB
          Tomas Soltys

        Activity

          People

            astitcher Andrew Stitcher
            solttom Tomas Soltys
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: