From 45ba7f22dafd07233d67ccb2d90824a02f9d6dec Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?=
Date: Sat, 26 Nov 2016 15:39:11 +0000 Subject: [PATCH] maint: use a more standard return from mbrtowc test With this we can use this check in coreutils to find configure issues: grep -E '(program exited with status 1$|core dumped)' config.log * m4/mbrtowc.m4 (gl_MBRTOWC_C_LOCALE): Don't return 1 from the test program as this often indicates an unhandled case in the test program. (gl_MBRTOWC_INCOMPLETE_STATE): Likewise. (gl_MBRTOWC_SANITYCHECK): Likewise. (gl_MBRTOWC_NULL_ARG2): Likewise. (gl_MBRTOWC_NUL_RETVAL): Likewise. --- ChangeLog | 11 +++++++++++ m4/mbrtowc.m4 | 12 ++++++------ 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index a7e03f227f..c27f6191e5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2016-11-27 Pádraig Brady
+
+ maint: use a more standard return from mbrtowc test
+ * m4/mbrtowc.m4 (gl_MBRTOWC_C_LOCALE): Don't return 1
+ from the test program as this often indicates an
+ unhandled case in the test program.
+ (gl_MBRTOWC_INCOMPLETE_STATE): Likewise.
+ (gl_MBRTOWC_SANITYCHECK): Likewise.
+ (gl_MBRTOWC_NULL_ARG2): Likewise.
+ (gl_MBRTOWC_NUL_RETVAL): Likewise.
+
2016-11-26 Paul Eggert