sgimenez / laby

Learn programming, playing with ants and spider webs ;-)
https://sgimenez.github.io/laby/
Other
98 stars 39 forks source link

Please port the code to use getaddrinfo(). #49

Closed sandrobonazzola closed 4 years ago

sandrobonazzola commented 7 years ago

While trying to port laby to OpenSuse, automated check detects: laby.x86_64: I: binary-or-shlib-calls-gethostbyname /usr/bin/laby The binary calls gethostbyname(). Please port the code to use getaddrinfo().

See https://en.opensuse.org/openSUSE:Packaging_checks#binary-or-shlib-calls-gethostbyname and http://udrepper.livejournal.com/16116.html about why this is raised.

OpenSuse Tumbleweed build is available on https://build.opensuse.org/package/show/home:sandrobonazzola/laby

sgimenez commented 7 years ago

It's not a problem with laby, it likely comes from ocaml itself (or possibly lablgtk). The symbols appears to be linked in the binary but I doubt it's ever called.