Qpid
  1. Qpid
  2. QPID-4793

qpid/sys/regex.h doesn't detect correct implementation under FreeBSD 9.1

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.22, 0.23
    • Fix Version/s: 0.22, 0.23
    • Component/s: C++ Broker
    • Labels:
      None

      Description

      When building on FreeBSD 9.1 the libc regex implementation isn't detected because the build chain doesn't set _POSIX_SOURCE.

      So to allow building on all POSIX/unix variants the test needs to change.

      I propose to check if either POSIX_SOURCE or __unix_ are set.

        Activity

        Hide
        Andrew Stitcher added a comment -

        I think this fix should go into 0.22 too

        Show
        Andrew Stitcher added a comment - I think this fix should go into 0.22 too
        Hide
        Justin Ross added a comment -
        Show
        Justin Ross added a comment - http://svn.apache.org/viewvc?view=revision&revision=r1477822 Reviewed by me. Approved for 0.22.
        Hide
        Andrew Stitcher added a comment -

        Fixed in 0.22 r1478421

        Show
        Andrew Stitcher added a comment - Fixed in 0.22 r1478421

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development