bug-inetutils
[Top][All Lists]
Advanced

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

Is TODO up-to-date?


From: Collin Funk
Subject: Is TODO up-to-date?
Date: Thu, 2 May 2024 05:08:31 -0700
User-agent: Mozilla Thunderbird

Hi,

Is the TODO file generally up-to-date? Now that I have my copyright
assignment done, maybe I can find some stuff to hack on.

Specifically, are these items still true?

> generally use gnulib for portability more than we use today:
>  - getaddrinfo/getnameinfo with IDN support to simplify IDN complexity
>  - more system header files replacements
>  - ruserok/wtmp stuff
>
> Mingw/cygwin support?

I think it would be nice to use more gnulib stuff. Less dealing with
preprocessor conditionals and the sort. I know gnulib has some
<sys/socket.h> stuff and inet_ntop/inet_ptoa but I haven't looked into
that area much.

Also, I have attached two patches that modernize stuff to match
current gnulib. First, with the 'environ' module there is no need for
'extern char **environ'. It is handled in unistd.h by gnulib [1].

Second, now that the 'stdbool' module emulates C23, there is no need
to include stdbool.h. If the compiler doesn't support bool stuff as a
keyword the header is included in config.h.

[1] https://www.gnu.org/software/gnulib/manual/html_node/environ.html

Collin

Attachment: 0001-maint-Remove-redundant-environ-declarations.patch
Description: Text Data

Attachment: 0002-maint-Remove-redundant-stdbool.h-includes.patch
Description: Text Data


reply via email to

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