mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 05:42:29 +00:00
Avoid /etc/services in whois command
Apparently IANA has abolished the WHOIS protocol and no longer lists it as a service. Therefore distros which naively create /etc/services from IANA's braindead recommendation will inadvertently break any tools that rely on /etc/services to determine this well-known Internet port.
This commit is contained in:
parent
eb40cb371d
commit
e9e8bbe6da
2 changed files with 3 additions and 5 deletions
|
@ -254,10 +254,8 @@ relegated void __oncrash_arm64(int sig, struct siginfo *si, void *arg) {
|
|||
addend = pc - st->addr_base;
|
||||
addend -= st->symbols[symbol].x;
|
||||
Append(b, " ");
|
||||
if (!AppendFileLine(b, addr2line, debugbin, pc)) {
|
||||
Append(b, "%s", __get_symbol_name(st, symbol));
|
||||
if (addend) Append(b, "%+d", addend);
|
||||
}
|
||||
Append(b, "%s", __get_symbol_name(st, symbol));
|
||||
if (addend) Append(b, "%+d", addend);
|
||||
}
|
||||
Append(b, "\n");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue