diff options
| author | DJ Delorie <dj@redhat.com> | 2024-11-14 15:12:57 -0500 |
|---|---|---|
| committer | DJ Delorie <dj@redhat.com> | 2024-12-20 22:44:01 -0500 |
| commit | e79e5c4899e82eff1032b1f8e530234c8fcbd8b9 (patch) | |
| tree | eeda6f5356f5f0c5b261e776f1a05bbbe803b2da /scripts/cpp | |
| parent | b3a7a15d99065fe2fc20f40da4ba20eb946b1f52 (diff) | |
| download | glibc-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
