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

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None
    • $ 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

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

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.