Avoid linker conflicts on DescribeFoo symbols

These symbols belong to the user. It caused a confusing error for Blink.
This commit is contained in:
Justine Tunney 2024-08-24 18:10:22 -07:00
parent 38cc4b3c68
commit bb06230f1e
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
120 changed files with 346 additions and 347 deletions

View file

@ -306,7 +306,7 @@ textstartup void __printargs(const char *prologue) {
if (i && (u.pfds[i].revents & POLLNVAL))
continue;
PRINT(" ☼ %d (revents=%#hx fcntl(F_GETFL)=%s isatty()=%hhhd)", i,
u.pfds[i].revents, (DescribeOpenFlags)(oflagbuf, fcntl(i, F_GETFL)),
u.pfds[i].revents, _DescribeOpenFlags(oflagbuf, fcntl(i, F_GETFL)),
isatty(i));
}
} else {
@ -375,7 +375,7 @@ textstartup void __printargs(const char *prologue) {
rlim.rlim_cur = -1;
if (rlim.rlim_max == RLIM_INFINITY)
rlim.rlim_max = -1;
PRINT(" ☼ %-20s %,16ld %,16ld", (DescribeRlimitName)(buf, i),
PRINT(" ☼ %-20s %,16ld %,16ld", _DescribeRlimitName(buf, i),
rlim.rlim_cur, rlim.rlim_max);
gotsome = true;
}