mirror of git://sourceware.org/git/glibc.git
It now calls __libc_assert, which contains similar logic. The assert call only requires memory allocation for the message translation, so test-assert2.c is adapted to handle it. It also removes the fxprintf from assert/assert_perror; although it is not 100% backwards-compatible (write message only if there is a file descriptor associated with the stderr). It now writes bytes directly without going through the wide stream state. Checked on aarch64-linux-gnu. Reviewed-by: Florian Weimer <fweimer@redhat.com> |
||
|---|---|---|
| .. | ||
| Depend | ||
| Makefile | ||
| Versions | ||
| __assert.c | ||
| __libc_assert_fail.c | ||
| assert-perr.c | ||
| assert.c | ||
| assert.h | ||
| test-assert-2.c | ||
| test-assert-perr.c | ||
| test-assert.c | ||
| tst-assert-c++.cc | ||
| tst-assert-g++.cc | ||
| tst-assert-sa-2025-0001.c | ||