> From: Jim Meyering <[email protected]> > Cc: [email protected], [email protected] > Date: Mon, 03 Oct 2011 18:41:25 +0200 > > > This version of wctob solves the problem. > > Good. Thanks for confirming that. > Then I suggest that users of dfa.c like gawk arrange to use that. > grep and any users that (by use of gnulib) can be assured of a working > wctob do not need to change dfa.c to work around that bug. > > However, while current wctob configure-time tests in gnulib > do detect some wctob problems, I don't see a test for this one. > Hence, if you can confirm that this also causes a problem with grep, > I'll work with you to add a configure-time test in gnulib > so that gnulib-using projects also replace that system's wctob.
It will take time for me to look in grep, because I'd need to build my own binary from sources. For Gawk, the configure-time test is not going to solve the problem on Windows because the Windows port of Gawk does not use the configure script, it is built using a separately maintained Makefile. So for Gawk, I can simply put the replacement wctob on a Windows-specific file (which exists anyway, for other functions that need wrappers or replacements). Thanks.
