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.
Ronan Pigott
2024-Jul-01 23:05 UTC
[PATCH RESEND 1/2] Permit %L and %l percent escapes in Include
July 1, 2024 at 3:55 PM, rsbecker at nexbridge.com wrote:> 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.Okay, well, I suppose I can mention that in the existing documentation for %l in the man page. I can submit that in a follow up patch ? this is not the first introduction of %l after all.
Seemingly Similar 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