Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2019-10-02
11:44 • Closed ticket [16768d65f0]: Fix gethostbyname_r and gethostbyaddr_r detection on... 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<... 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

Fix gethostbyname_r and gethostbyaddr_r detection on NetBSD

Closed / Fixed16768d65f0f13ac2a75f545f2d2e9983fb89b0f7Created 7 years agoUpdated 7 years ago
Descriptionplain2019-09-30 10:28:46
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.
Referenced by2
  • 6878f1515fFix [16768d65f0]: Fix gethostbyname_r and gethostbyaddr_r detection on NetBSD. Patch by Kamil Rytarowski. check-in2019-10-02 11:29:45
  • 769d3df6f6Fix [16768d65f0]: Fix gethostbyname_r and gethostbyaddr_r detection on NetBSD. Patch by Kamil Rytarowski. check-in2019-10-02 11:22:40
krytarowskiplain2019-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
jan.nijtmans Ticket [16768d65f0]: 3 changes [History diff]2019-10-01 21:23:09
jan.nijtmansplain2019-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!
Log in (anonymous is fine) to add a comment.