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

Platform specific code is mixed in with platform independent code

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.5
    • Component/s: proton-c
    • Labels:
      None

      Description

      the function pn_error_from errno() is platform specific and so should not be in error.c which is (everywhere else) purely platform independent.

      It should be moved to a platform (POSIX) specific file (perhaps a file with only this single function).

      The clue for this is the #define POSIX_C_SOURCE at the top of error.c

        Attachments

          Activity

            People

            • Assignee:
              astitcher Andrew Stitcher
              Reporter:
              astitcher Andrew Stitcher
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: