[BZ #18604]
* assert/assert.h (assert): Don't macro-expand failed assertion
expression in error message.
* malloc/malloc.c (assert): Likewise.
+2015-11-03 David Kastrup <dak@gnu.org>
+
+ [BZ #18604]
+ * assert/assert.h (assert): Don't macro-expand failed assertion
+ expression in error message.
+ * malloc/malloc.c (assert): Likewise.
+
2015-11-03 Joseph Myers <joseph@codesourcery.com>
* configure.ac (libc_cv_ld_no_whole_archive): Remove configure
# define assert(expr) \
((expr) \
? __ASSERT_VOID_CAST (0) \
- : __assert_fail (__STRING(expr), __FILE__, __LINE__, __ASSERT_FUNCTION))
+ : __assert_fail (#expr, __FILE__, __LINE__, __ASSERT_FUNCTION))
# ifdef __USE_GNU
# define assert_perror(errnum) \
# define assert(expr) \
((expr) \
? ((void) 0) \
- : __malloc_assert (__STRING (expr), __FILE__, __LINE__, __func__))
+ : __malloc_assert (#expr, __FILE__, __LINE__, __func__))
extern const char *__progname;