Resync with OpenBSD by pulling in an ifdef SIGINFO.
This commit is contained in:
parent
28c7b2cd05
commit
deb51552c3
|
@ -228,6 +228,7 @@ test_info(char *s, size_t len)
|
||||||
*subtest_info != '\0' ? " - " : "", subtest_info);
|
*subtest_info != '\0' ? " - " : "", subtest_info);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef SIGINFO
|
||||||
static void
|
static void
|
||||||
siginfo(int unused __attribute__((__unused__)))
|
siginfo(int unused __attribute__((__unused__)))
|
||||||
{
|
{
|
||||||
|
@ -236,6 +237,7 @@ siginfo(int unused __attribute__((__unused__)))
|
||||||
test_info(buf, sizeof(buf));
|
test_info(buf, sizeof(buf));
|
||||||
atomicio(vwrite, STDERR_FILENO, buf, strlen(buf));
|
atomicio(vwrite, STDERR_FILENO, buf, strlen(buf));
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void
|
void
|
||||||
test_start(const char *n)
|
test_start(const char *n)
|
||||||
|
|
Loading…
Reference in New Issue