On Sun, 2019-09-15 at 13:01 -0400, Dmitry Goncharov wrote:
> perl will tell you that it does not know what POSIX::LC_MESSAGES is.
> 
> This patch initializes has_posix right here in test_driver.pl and pulls in 
> locale_h.
> This patch sets LC_ALL because we saw that LANG has an affect.
> This patch won't help those who don't have POSIX.pm (windows?).

I went a slightly different way: test_driver.pl is (theoretically)
supposed to be a base driver that doesn't know anything about make
itself, so I moved all the error string detection into run_make_tests.

After importing properly LC_MESSAGES worked on UNIX, but I switched to
using LC_ALL because Windows does have POSIX locale but only LC_ALL.

I hope this will work now.  I still don't know why I couldn't reproduce
the failure myself.

Thanks!


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make
  • patch locale ... Dmitry Goncharov via Bug reports and discussion for GNU make
    • Re: patc... Paul Smith
      • Re: ... Dmitry Goncharov via Bug reports and discussion for GNU make
        • ... Paul Smith
          • ... Paul Smith
          • ... Dmitry Goncharov via Bug reports and discussion for GNU make
            • ... Paul Smith
              • ... Dmitry Goncharov via Bug reports and discussion for GNU make
                • ... Paul Smith
                • ... Dmitry Goncharov via Bug reports and discussion for GNU make
                • ... Paul Smith
          • ... Andreas Schwab

Reply via email to