[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: htonl: New module.
From: |
Collin Funk |
Subject: |
Re: htonl: New module. |
Date: |
Sun, 11 Aug 2024 11:35:12 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hi Bruno,
Bruno Haible <bruno@clisp.org> writes:
> For a function, the float-argument test and the evaluates-arg-only-once
> test naturally succeed.
>
> I believe the situation is good here because these 4 functions have been
> heavily used over the last 30 years, and problems like evaluates-arg-
> several-times would have been noticed and fixed many years ago already.
Right, I added it because I was unsure and figured it was safer. But
based on your findings it seems excesive.
> In order to fix the native Windows problem, the module description should
> have a 'Link:' section that references a variable (named $(HTONL_LIB) by
> convention) that expands to -lws2_32 on native Windows systems.
Ah, right. I forgot that you have to link to ws2_32 even for these
functions on Windows. I'll work on fixing that today. Thanks!
Collin
- htonl: New module., Collin Funk, 2024/08/10
- Re: htonl: New module., Bruno Haible, 2024/08/11
- Re: htonl: New module., Bruno Haible, 2024/08/11
- Re: htonl: New module.,
Collin Funk <=
- doc: Update regarding Windows <winsock2.h> functions, Bruno Haible, 2024/08/11
- htonl: Fix link errors on Windows., Collin Funk, 2024/08/11
- Re: htonl: Fix link errors on Windows., Bruno Haible, 2024/08/11
- Re: Android environments, Bruno Haible, 2024/08/11
- Re: Android environments, Collin Funk, 2024/08/11