X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=28973716c2ed9545cce30421f04b6cbd8fbc3924;hb=29b9f9415f47e9bd19fc9a0ce923f013e5a41f68;hp=471ce43be38c9daf13001fa28823a02fafc9ee73;hpb=a918da4d61d28be61a12605c9d35e2cf3966d866;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index 471ce43be..28973716c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,89 @@ +2011-07-12 Paul Eggert + + _Noreturn: Ignore __STDC_VERSION__; observe _MSC_VER. + * build-aux/_Noreturn.h (_Noreturn): Ignore __STDC_VERSION__. + Reparenthesize to avoid GCC warning. + Support Microsoft's syntax. + * m4/gnulib-common.m4 (gl_COMMON_BODY): Likewise. + + _Noreturn-tests: remove module + * modules/_Noreturn-tests: Remove. + * modules/stdnoreturn-tests (Files): Remove tests/test-_Noreturn.c. + * tests/test-_Noreturn.c: Remove. + * tests/test-stdnoreturn.c: Merge from the old + tests/test-_Noreturn.c, testing both noreturn and _Noreturn. + + * top/maint.mk: Adjust to new noreturn support. + (gl_extract_significant_defines_): Omit pattern ATTRIBUTE_NORETURN. + (def_sym_regex): Do not remove ATTRIBUTE_NORETURN. + + xalloc: use stdnoreturn.h + * lib/xalloc.h: Include . + (_GL_ATTRIBUTE_NORETURN): Remove; all uses replaced with noreturn. + * modules/xalloc (Depends-on): Add stdnoreturn. + + xstrtol: use stdnoreturn.h + * lib/xstrtol.h: Include . + (_GL_ATTRIBUTE_NORETURN): Remove; all uses replaced with noreturn. + * modules/xstrtol (Depends-on): Add stdnoreturn. + + xmemdup0: use stdnoreturn.h + * lib/xmemdup0.h: Include . + (_GL_ATTRIBUTE_NORETURN): Remove; all uses replaced with noreturn. + * modules/xmemdup0 (Depends-on): Add stdnoreturn. + + sigpipe-die: use stdnoreturn.h + * lib/sigpipe-die.h: Include . + (_GL_ATTRIBUTE_NORETURN): Remove; all uses replaced with noreturn. + * modules/sigpipe-die (Depends-on): Add stdnoreturn. + + openat: use stdnoreturn.h + * lib/openat.h: Include . + (_GL_ATTRIBUTE_NORETURN): Remove; all uses replaced with noreturn. + * modules/openat (Depends-on): Add stdnoreturn. + + * lib/openat-die.c (openat_save_fail): Modernize comment. + + * lib/xalloc-die.c (xalloc_die): Modernize comment. + + * lib/glthread/thread.h: Modernize comment. + + obstack: use _Noreturn + * lib/obstack.c (__attribute__): Remove macro. + (print_and_abort): Use _Noreturn. + + c-stack: use _Noreturn + * lib/c-stack.c (die, overflow_handler, segv_handler): + Use _Noreturn rather than __attribute__((noreturn)). + + argmatch-tests, exclude_tests: use _Noreturn + * tests/test-argmatch.c, tests/test-exclude.c (_GL_ATTRIBUTE_NORETURN): + Remove. + (ARGMATCH_DIE_DECL): Use _Noreturn instead. + + stdlib: use _Noreturn + * lib/stdlib.in.h (_GL_ATTRIBUTE_NORETURN): Remove. + (_Exit): Use _Noreturn rather than _GL_ATTRIBUTE_NORETURN. + * modules/stdlib (Depends-on): Add _Noreturn. + (stdlib.h): Depend on $(_NORETURN_H), and copy it in. + + stdnoreturn-tests: new module + * modules/stdnoreturn-tests, tests/test-stdnoreturn.c: New files. + + stdnoreturn: new module + * MODULES.html.sh (Noreturn ): New section. + * m4/stdnoreturn.m4, modules/stdnoreturn: New files. + + _Noreturn-tests: new module + * modules/_Noreturn-tests, tests/test-_Noreturn.c: New files. + + _Noreturn: new module + * MODULES.html.sh (Support for systems lacking draft ISO C 1X): + New section, mentioning it. + * build-aux/_Noreturn.h, modules/_Noreturn: New files. + + * m4/gnulib-common.m4 (gl_COMMON_BODY): Add _Noreturn. + 2011-07-11 Eric Blake ffs: new module