chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] gethostbyname() is deprecated in favour of getaddrin


From: Mario Domenech Goulart
Subject: Re: [Chicken-users] gethostbyname() is deprecated in favour of getaddrinfo()
Date: Mon, 13 Oct 2014 20:37:24 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Hi Moritz,

On Thu, 2 Oct 2014 14:21:40 +0200 Moritz Wilhelmy <address@hidden> wrote:

> Dear Chickeneers,
>
> While building the OpenSuSE package for Chicken, I discovered the following:
>
> [  473s] RPMLINT report:
> [  473s] ===============
> [  482s] chicken-runtime.i586: I: binary-or-shlib-calls-gethostbyname 
> /usr/lib/libchicken.so.7
> [  482s] The binary calls gethostbyname(). Please port the code to use 
> getaddrinfo().
> [  482s] 
> [  482s] 5 packages and 0 specfiles checked; 0 errors, 0 warnings.
> [  482s] 
>
> (Full build log here: 
> http://build.opensuse.org/package/live_build_log/home:mwilhelmy:chicken/chicken/openSUSE_12.3/i586
>  )
>
> 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.

Thanks for bringing our attention to that.  I've filed
http://bugs.call-cc.org/ticket/1162 , so we won't lose track of your
report.

Best wishes.
Mario
-- 
http://parenteses.org/mario



reply via email to

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