Simon Josefsson <si...@josefsson.org> writes:

> Btw, is there any more common OS than AIX which lack asprintf?  It would
> be nice to have CI/CD, I dislike portability fixes which we cannot
> regression test.  Windows?  I suspect very little of InetUtils builds on
> Windows, but GitLab have Windows runners available, so we could try to
> enable them and try to get at least some InetUtils tool building
> there...

I'm honestly surprised to find that asprintf is fairly common now,
although many implementations are buggy/missing specifiers/flags [1].
Solaris 10 and MinGW as you mention are missing it. AFAIK, the Solaris
CI we use is version 11 which has it. Not sure if we can do Solaris 10
CI, and that platform has not been fun in my previous experience.

FWIW, Inetutils does not yet build on AIX because the platform has a
very poor arpa/telnet.h file which is missing macros. Probably the best
solution is to add the arpa/*.h headers to Gnulib. This would be needed
for Windows as well, since it and MinGW do not have them.

Collin

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

  • fix a use-a... Bruno Haible via Bug reports for the GNU Internet utilities
    • Re: fi... Collin Funk
      • Re... Simon Josefsson via Bug reports for the GNU Internet utilities
        • ... Simon Josefsson via Bug reports for the GNU Internet utilities
        • ... Collin Funk
        • ... Simon Josefsson via Bug reports for the GNU Internet utilities
          • ... Collin Funk
            • ... Simon Josefsson via Bug reports for the GNU Internet utilities
              • ... Collin Funk

Reply via email to