Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: bd248310398c936a3a55c8342cc6419f15db6208
Ticket: 91466985995db6b505c415322b8090a5754f2dc3
NetBSD's gethostbyname_r() incompatible with Tcl usage
User & Date: gustafn2 on 2016-07-26 10:13:03
Changes

  1. icomment:
    I've added a patch replacing all occurrences of gethostbyname_r() by an appropriate call of getaddrinfo(). Actually, the definition of TclpGetHostByName() could/should be dropped, when HAVE_GETADDRINFO is defined (i am not sure, what the policy in tcl-core concerning Tclp* calls is). I would recommend to drop TclpGetHostByName(), since this returns a partial struct hostent, which makes mostly sense in connection with gethostbyname*().
    
  2. login: "gustafn2"
  3. mimetype: "text/plain"