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

Missing PF_LOCAL symbol in Solaris 10

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 2.5.0
    • 2.4.6, 2.5.1
    • Internal Code
    • None
    • Solaris 10
    • Fully Compatible
    • Solaris

    Description

      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).

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: