[CONC-38] HAVE_GETHOSTBYNAME_R_GLIBC2_STYLE hardcoded in include/my_config.h.in Created: 2013-07-18  Updated: 2013-07-22  Resolved: 2013-07-22

Status: Closed
Project: MariaDB Connector/C
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Henrik Grubbström Assignee: Georg Richter
Resolution: Fixed Votes: 0
Labels: None
Environment:

$ uname -a
SunOS shipon 5.10 Generic_144489-04 i86pc i386 i86pc


Attachments: File gethostbyname_r.bundle    

 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.



 Comments   
Comment by Georg Richter [ 2013-07-22 ]

Fixed in rev. 72

Generated at Thu Feb 08 03:02:26 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.