mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-07 03:38:31 +00:00
Fix build breaks
Revert the changes that827f25f
made to libc/calls/readv-metal.c regarding internal functions having underlines due to6f7d0cb
being missing at the time. Use the versions of libc/intrin/lockfileex.c and libc/intrin/unlockfileex.c from3f49889
to account for strace changes. Revertd86916e
and use the versions of libc/calls/getgroups.c, libc/calls/setgroups.c, libc/runtime/getlogin.c and libc/runtime/getlogin_r.c from4c40c50
to again account for strace changes. Fix include statements and internal underlined function calls in libc/stdio/cocmd.c, libc/testlib/extract.c and test/libc/stdio/system_test.c. Fix missing closing paren in nsync memory size macro in memtrack.internal.h.
This commit is contained in:
parent
7b26b42769
commit
8f001857de
11 changed files with 20 additions and 16 deletions
|
@ -23,7 +23,6 @@
|
|||
#include "libc/mem/mem.h"
|
||||
#include "libc/runtime/runtime.h"
|
||||
#include "libc/stdio/stdio.h"
|
||||
#include "libc/str/errfun.h"
|
||||
#include "libc/str/str.h"
|
||||
#include "libc/sysv/consts/o.h"
|
||||
|
||||
|
@ -73,7 +72,7 @@ static wontreturn void SysExit(int rc, const char *call, const char *thing) {
|
|||
const char *estr;
|
||||
err = errno;
|
||||
FormatInt32(ibuf, err);
|
||||
estr = strerdoc(err);
|
||||
estr = _strerdoc(err);
|
||||
if (!estr) estr = "EUNKNOWN";
|
||||
Wexit(rc, thing, ": ", call, "() failed: ", estr, " (", ibuf, ")\n", 0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue