[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-janitors] #1162: gethostbyname() is deprecated in favour of get

From: Chicken Trac
Subject: [Chicken-janitors] #1162: gethostbyname() is deprecated in favour of getaddrinfo()
Date: Mon, 13 Oct 2014 20:34:36 -0000

#1162: gethostbyname() is deprecated in favour of getaddrinfo()
 Reporter:  mario                              |       Owner:         
     Type:  enhancement                        |      Status:  new    
 Priority:  minor                              |   Milestone:  someday
Component:  core libraries                     |     Version:  4.9.x  
 Keywords:  gethostbyname, getaddrinfo, posix  |  
 The [
 message by Moritz Wilhelmy] is copied below:

 While building the OpenSuSE package for Chicken, I discovered the

 [  473s] RPMLINT report:
 [  473s] ===============
 [  482s] chicken-runtime.i586: I: binary-or-shlib-calls-gethostbyname
 [  482s] The binary calls gethostbyname(). Please port the code to use
 [  482s]
 [  482s] 5 packages and 0 specfiles checked; 0 errors, 0 warnings.
 [  482s]

 (Full build log here:

 Do you think it would be a good idea to port chicken to use getaddrinfo()
 instead, not that it's top priority or anything? getaddrinfo is part of
 POSIX.1-2001 so it should be present on most systems, while POSIX.1-2008
 removes gethostbyname() from the specification altogether.

Ticket URL: <>
CHICKEN Scheme <>
CHICKEN Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]