Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-38

HAVE_GETHOSTBYNAME_R_GLIBC2_STYLE hardcoded in include/my_config.h.in

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      $ uname -a
      SunOS shipon 5.10 Generic_144489-04 i86pc i386 i86pc

      Description

      Solaris has a gethostbyname_r(3NSL) that actually has the Solaris API (surprise!), so there's no need for the code that emulates it. The GLIBC2-wrapper breaks the build.

      Since I'm not used to cmake, I've opted to using the operating system macro _sun_ instead of writing a proper API detection test. As before the attached bundle also contains the patches for CONC-36 and CONC-37.

        Attachments

          Activity

            People

            Assignee:
            georg Georg Richter
            Reporter:
            grubba Henrik Grubbström
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration