Re: What's cooking in git.git (Aug 2010, #04; Wed, 18)
From: Ævar Arnfjörð Bjarmason <hidden>
Date: 2016-06-15 22:49:20
On Thu, Aug 19, 2010 at 12:48, Ævar Arnfjörð Bjarmason [off-list ref] wrote:
On Thu, Aug 19, 2010 at 08:06, Johannes Sixt [off-list ref] wrote:quoted
and I see these warnings: In file included from compat/regex/regex.c:71: compat/regex/regex_internal.c: In function 're_string_reconstruct': compat/regex/regex_internal.c:696: warning: unused variable 'prev_valid_len' In file included from compat/regex/regex.c:78: compat/regex/regexec.c: In function 'check_arrival_add_next_nodes': compat/regex/regexec.c:3062: warning: unused variable 'err' This happens because RE_ENABLE_I18N is not defined by regex_internal.h. Is this how it is supposed to be?I noted these in [ref], although I was off by one. I haven't read all the relevant code, but we almost definitely do not want RE_ENABLE_I18N, since we aren't doing the relevant setlocale() things (and doing so breaks git, see the fix in the ab/i18n series in pu). I was going to report this upstream once I got around to finding out what upstream *is*, I don't *think* gawk itself is the canonical upstream, they just copy it from somewhere else (again, I *think*).
I sent a patch for this upstream.