mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-04 10:18:31 +00:00
Work towards improving signals and processes
This commit is contained in:
parent
de703b182c
commit
d7ac16a9ed
96 changed files with 1474 additions and 427 deletions
|
@ -30,8 +30,6 @@
|
|||
#include "libc/str/str.h"
|
||||
#include "libc/testlib/testlib.h"
|
||||
|
||||
STATIC_YOINK("__isfdkind");
|
||||
|
||||
const char *testlib_showerror_errno;
|
||||
const char *testlib_showerror_file;
|
||||
const char *testlib_showerror_func;
|
||||
|
@ -85,9 +83,10 @@ testonly void testlib_showerror_(int line, const char *wantcode,
|
|||
strcpy(hostname, "unknown");
|
||||
gethostname(hostname, sizeof(hostname));
|
||||
fprintf(stderr,
|
||||
"\t%s%s\n"
|
||||
"\t%s @ %s%s\n",
|
||||
SUBTLE, strerror(err), program_invocation_name, hostname, RESET);
|
||||
"\t%s%s%s\n"
|
||||
"\t%s%s @ %s%s\n",
|
||||
SUBTLE, strerror(err), RESET, SUBTLE, program_invocation_name,
|
||||
hostname, RESET);
|
||||
|
||||
free_s(&FREED_want);
|
||||
free_s(&FREED_got);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue