In perl.git, the branch smoke-me/jkeenan/134371-gconvert has been updated <https://perl5.git.perl.org/perl.git/commitdiff/a9425c441038c158f8c7ad2195c13345098385be?hp=74cd64c71e837fea3e6a758bb50eaa09570f40d7>
- Log ----------------------------------------------------------------- commit a9425c441038c158f8c7ad2195c13345098385be Author: Andy Dougherty <[email protected]> Date: Sun Aug 18 22:02:59 2019 -0400 Change Gconvert checkit() prototype for [perl #134371]. In the checkit() routine inside Configure, clang++ was taking the if (strcmp(expect, got)) branch even though the 'expect' and 'got' strings were identical. A first step in debugging this was to realize that the checkit() function never returned a value, so relabel it as void. With clang version 7.0.1-8 (tags/RELEASE_701/final) (Debian), this change seems to work around the strcmp issue. ----------------------------------------------------------------------- Summary of changes: Configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Configure b/Configure index f4f0f3cddf..f75ef25f21 100755 --- a/Configure +++ b/Configure @@ -10426,7 +10426,7 @@ char *myname = "sprintf"; #endif #include <string.h> -int checkit(char *expect, char *got) +void checkit(char *expect, char *got) { if (strcmp(expect, got)) { printf("%s oddity: Expected %s, got %s\n", -- Perl5 Master Repository
