Fix bugs with DNS library on Windows

This commit is contained in:
Justine Tunney 2024-01-03 17:32:16 -08:00
parent 1bb52c223b
commit 34ed1fcbea
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
6 changed files with 12 additions and 4 deletions

View file

@ -445,6 +445,9 @@ textstartup void __printargs(const char *prologue) {
PRINT(" ☼ %s = %#s", "kNtWindowsDirectory", kNtWindowsDirectory);
#endif
PRINT(" ☼ %s = %#s", "__argv[0]", __argv[0]);
PRINT(" ☼ %s = %#s", "program_invocation_name", program_invocation_name);
PRINT(" ☼ %s = %#s", "program_invocation_short_name",
program_invocation_short_name);
PRINT(" ☼ %s = %#s", "getenv(\"_\")", getenv("_"));
PRINT(" ☼ %s = %#s", "getauxval(AT_EXECFN)", getauxval(AT_EXECFN));
PRINT(" ☼ %s = %#s", "GetProgramExecutableName", GetProgramExecutableName());