Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-9832

Missing PF_LOCAL symbol in Solaris 10

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.4.6, 2.5.1
    • Affects Version/s: 2.5.0
    • Component/s: Internal Code
    • None
    • Environment:
      Solaris 10
    • Fully Compatible
    • Solaris

      The header files for Solaris 10 do not declare the symbol PF_LOCAL, used to specify Unix domain sockets as the "protocol family" for socket calls.

      PF_LOCAL is the POSIX name for what BSD Unix called PF_UNIX. According to http://www.gnu.org/software/libc/manual/html_node/Address-Formats.html,

      Although AF_LOCAL is mandated by POSIX.1g, AF_UNIX is portable to more systems ... (The same is true for PF_UNIX vs. PF_LOCAL)."

      I verified that using PF_UNIX works around the problem on Solaris 10.

      Suggest backport to 2.4 branch (optionally 2.2 as well).

            Assignee:
            tad Tad Marshall
            Reporter:
            tad Tad Marshall
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: