* assert/assert.h (assert): Use !! in front of expression to allow
	use of pointers.
This commit is contained in:
Ulrich Drepper 2003-08-14 21:48:29 +00:00
parent 41d70e88b1
commit 9b0a6e9600
3 changed files with 15286 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2003-08-14 Ulrich Drepper <drepper@redhat.com>
* assert/assert.h (assert): Use !! in front of expression to allow
use of pointers.
* iconvdata/cp932.c: Fixed checking of a few border of code areas.
Changed conversion of JIS X 0201 from using a table to calculating.
* iconvdata/euc-jp-ms.c: Fixed conversion table and rewrote

View File

@ -89,7 +89,7 @@ __END_DECLS
enough estimate for when the feature became available. */
# if __GNUC_PREREQ (3, 0)
# define assert(expr) \
(__ASSERT_VOID_CAST (__builtin_expect (expr, 1) ? 0 : \
(__ASSERT_VOID_CAST (__builtin_expect (!!(expr), 1) ? 0 : \
(__assert_fail (__STRING(expr), __FILE__, __LINE__, \
__ASSERT_FUNCTION), 0)))
# else

15282
localedata/charmaps/EUC-JP-MS Normal file

File diff suppressed because it is too large Load Diff