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

Unnecessary relative path in include

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: proton-0.9.1
    • Fix Version/s: proton-0.10
    • Component/s: proton-c
    • Labels:
    • Flags:
      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. codec.c.patch
          0.3 kB
          Tomas Soltys
        2. messenger.c.patch
          0.3 kB
          Tomas Soltys
        3. transport.c.patch
          0.3 kB
          Tomas Soltys

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: