Tcl Source Code

View Ticket
Login
2019-10-02
11:44 Closed ticket [16768d65f0]: Fix gethostbyname_r and gethostbyaddr_r detection on NetBSD plus 6 other changes artifact: b4cf2efd3d user: jan.nijtmans
11:29
Fix [16768d65f0]: Fix gethostbyname_r and gethostbyaddr_r detection on NetBSD. Patch by Kamil Rytaro... check-in: 6878f1515f user: jan.nijtmans tags: core-8-6-branch
11:22
Fix [16768d65f0]: Fix gethostbyname_r and gethostbyaddr_r detection on NetBSD. Patch by Kamil Rytaro... check-in: 769d3df6f6 user: jan.nijtmans tags: core-8-5-branch
2019-10-01
21:23 Ticket [16768d65f0] Fix gethostbyname_r and gethostbyaddr_r detection on NetBSD status still Open with 3 other changes artifact: 58b6548b59 user: jan.nijtmans
2019-09-30
21:40 Ticket [16768d65f0]: 3 changes artifact: d0301eae6a user: krytarowski
10:28 New ticket [16768d65f0]. artifact: f9443a2d98 user: krytarowski

Ticket UUID: 16768d65f0f13ac2a75f545f2d2e9983fb89b0f7
Title: Fix gethostbyname_r and gethostbyaddr_r detection on NetBSD
Type: Bug Version: HEAD, affected older branches
Submitter: krytarowski Created on: 2019-09-30 10:28:46
Subsystem: 53. Configuration and Build Tools Assigned To: jan.nijtmans
Priority: 5 Medium Severity: Important
Status: Closed Last Modified: 2019-10-02 11:44:49
Resolution: Fixed Closed By: jan.nijtmans
    Closed on: 2019-10-02 11:44:49
Description:
gethostbyname_r and gethostbyaddr_r are internal libc symbols on NetBSD and shall not be picked by 3rd party software.

Fix the misdetection of these functions. This also fixes the end-product as it is no longer broken in these functions.

Patches that fix the problem:

http://netbsd.org/~kamil/tcl/netbsd-1/

Please merge into all supported branches.
User Comments: jan.nijtmans added on 2019-10-02 11:44:49:
Patches now applied to all open branches (core-8-5-branch up to trunk)

Thanks for the report and the patch!

krytarowski added on 2019-09-30 21:40:50:
The same problem (but for a single function and without a patch) was already reported in the past:

https://core.tcl-lang.org/tcl/tktview/91466985995db6b505c4