[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-serviceability-dev
Subject: Re: RFR: JDK-8080990: libdt_socket/socket_md.c(202) : warning C4996: 'gethostbyname': Use getaddrinf
From: Erik Joelsson <erik.joelsson () oracle ! com>
Date: 2018-01-25 21:03:27
Message-ID: 5a049eab-ce79-86d9-9f52-ba0dd7bb2d34 () oracle ! com
[Download RAW message or body]
Build change looks fine.
/Erik
On 2018-01-25 10:46, Gary Adams wrote:
> Here's a first pass attempt to remove the
> -D_WINSOCK_DEPRECATED_NO_WARNINGS
> build flag and update the winsock deprecated functions.
>
> Issue: https://bugs.openjdk.java.net/browse/JDK-8080990
> Webrev: http://cr.openjdk.java.net/~gadams/8080990/
>
> These are the initial deprecated functions updated:
> gethostbyname -> getaddrinfo
> inet_addr -> inet_pton
> inet_ntoa -> inet_ntop
>
> I'm not sure how to replace the existing WSASendDisconnect calls.
> It's not clear that it actually provides a graceful disconnect.
>
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic