Skip to content

Replace gethostbyname() with getaddrinfo() or getnameinfo() #217

@jonathanspw

Description

@jonathanspw

Current state:

gethostbyname() has long been obsolete and getaddrinfo() or getnameinfo() should be used instead.

Wanted state:

Use getaddrinfo() or getnameinfo() in https://github.com/LinusDierheimer/fastfetch/blob/master/src/detection/title.c#L30

Why the change is sensible:

gethostbyname() has been obsolete for man years.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions