1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-24 17:51:17 +03:00

support: Use support_record_failure consistently

This causes more test programs to link in the support_record_failure
function, which triggers an early call to mmap from an ELF
constructor, but this should not have side effects intefering
with the functionality actually under test (unlike, say, a call
to malloc).
This commit is contained in:
Florian Weimer
2016-12-31 12:20:49 +01:00
parent 5707a64d94
commit 039c5a05cc
12 changed files with 50 additions and 32 deletions

View File

@@ -36,8 +36,8 @@
propagate to the parent process. */
struct test_failures
{
unsigned counter;
unsigned failed;
unsigned int counter;
unsigned int failed;
};
static struct test_failures *state;