Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 73febbcd8631a76bf7ba5e8dfe52232e988292c3
      
https://github.com/Perl/perl5/commit/73febbcd8631a76bf7ba5e8dfe52232e988292c3
  Author: Karl Williamson <k...@cpan.org>
  Date:   2023-07-25 (Tue, 25 Jul 2023)

  Changed paths:
    M perl_langinfo.h

  Log Message:
  -----------
  perl_langinfo.h: #include <langinfo.h> if available

Prior to this commit, it also needed to have nl_langinfo() available.
On POSIX systems you'll have both, so the extra condition doesn't buy
anything, and the next commit will allow for a non-standard test
environment where that extra condition gets in the way.


  Commit: 0d202a958ace7f1eceb35343d56ebdcc25335d2b
      
https://github.com/Perl/perl5/commit/0d202a958ace7f1eceb35343d56ebdcc25335d2b
  Author: Karl Williamson <k...@cpan.org>
  Date:   2023-07-25 (Tue, 25 Jul 2023)

  Changed paths:
    M embed.fnc
    M embed.h
    M locale.c
    M makedef.pl
    M perl.h
    M proto.h

  Log Message:
  -----------
  Add ability to emulate mingw locales on other boxes

This commit allows the ability to Configure a perl to use much of the
locale handling code that MingW executes (an to a large extent MSVC as
well).  It is an aid to development on more POSIX-like boxes to be able
to compile and test while partially simulating a MingW environment.

This exercizes code paths that are not compiled on non-Windows boxes,
and allows for ASAN.  This is thus a way to see if locale.c on Windows
is likely going to compile, without having to use a real Win32 box.  And
running the test suite will verify to a large extent our logic and
memory allocation handling for such boxes.  And access to ASAN and
PERL_MEM_LOG (which in July 2023 doesn't work properly on Windows) is
helpful for debugging such issues.  Of course the underlying calls are
to the POSIX libc, so any differences in implementation between those
and the Windows versions will not be caught by this.

This currently fails a couple of tests in the suite; there are commits
in the pipeline to fix those.

Remember this only gets compiled if explicitly requested.


Compare: https://github.com/Perl/perl5/compare/ab1f5e3581df...0d202a958ace

Reply via email to