aboutsummaryrefslogtreecommitdiff
path: root/scripts/cpp
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2024-11-14 15:12:57 -0500
committerDJ Delorie <dj@redhat.com>2024-12-20 22:44:01 -0500
commite79e5c4899e82eff1032b1f8e530234c8fcbd8b9 (patch)
treeeeda6f5356f5f0c5b261e776f1a05bbbe803b2da /scripts/cpp
parentb3a7a15d99065fe2fc20f40da4ba20eb946b1f52 (diff)
downloadglibc-e79e5c4899e82eff1032b1f8e530234c8fcbd8b9.tar.xz
glibc-e79e5c4899e82eff1032b1f8e530234c8fcbd8b9.zip
assert: ensure posix compliance, add tests for such
Fix assert.c so that even the fallback case conforms to POSIX, although not exactly the same as the default case so a test can tell the difference. Add a test that verifies that abort is called, and that the message printed to stderr has all the info that POSIX requires. Verify this even when malloc isn't usable. Reviewed-by: Paul Eggert <eggert@cs.ucla.edu>
Diffstat (limited to 'scripts/cpp')
0 files changed, 0 insertions, 0 deletions