Ronan Pigott
2024-Jul-01 22:36 UTC
[PATCH RESEND 1/2] Permit %L and %l percent escapes in Include
July 1, 2024 at 2:47 PM, rsbecker at nexbridge.com wrote:> Would you be able to document that "thisHost" may be ambiguous, depending on > the DNS and host resolver configuration? gethostname() is not entirely > predictable if the localhost has multiple values.Hm? On linux/glibc, gethostname just uses uname(2). It does not use dns or the name service switch.
rsbecker at nexbridge.com
2024-Jul-01 22:55 UTC
[PATCH RESEND 1/2] Permit %L and %l percent escapes in Include
On Monday, July 1, 2024 6:37 PM, Ronan Pigott wrote:>July 1, 2024 at 2:47 PM, rsbecker at nexbridge.com wrote: > >> Would you be able to document that "thisHost" may be ambiguous, >> depending on the DNS and host resolver configuration? gethostname() is >> not entirely predictable if the localhost has multiple values. > >Hm? On linux/glibc, gethostname just uses uname(2). It does not use dns orthe>name service switch.That is correct for linux/glibc. Other platforms do not necessarily use uname(2). Glibc is not available everywhere and gcc is not available everywhere.
Possibly Parallel Threads
- [PATCH RESEND 1/2] Permit %L and %l percent escapes in Include
- [PATCH RESEND 1/2] Permit %L and %l percent escapes in Include
- [PATCH RESEND 1/2] Permit %L and %l percent escapes in Include
- [PATCH RESEND 1/2] Permit %L and %l percent escapes in Include
- [PATCH v2] Permit %L and %l percent escapes in Include