Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: e138a07f3442125d753df17367e6d20e2a0fb764
      
https://github.com/Perl/perl5/commit/e138a07f3442125d753df17367e6d20e2a0fb764
  Author: Karl Williamson <k...@cpan.org>
  Date:   2024-01-01 (Mon, 01 Jan 2024)

  Changed paths:
    M ext/I18N-Langinfo/t/Langinfo.t

  Log Message:
  -----------
  I18N-Langinfo/t/Langinfo.t: Use like()

This changes some of the tests in this file to use like() vs is().  This
is in preparation for the next commit which adds a test where a pattern
is needed.


  Commit: 670e19a9598f569abcccbdc324cae847580f76d0
      
https://github.com/Perl/perl5/commit/670e19a9598f569abcccbdc324cae847580f76d0
  Author: Karl Williamson <k...@cpan.org>
  Date:   2024-01-01 (Mon, 01 Jan 2024)

  Changed paths:
    M ext/I18N-Langinfo/t/Langinfo.t
    M locale.c

  Log Message:
  -----------
  locale.c: Fix bug in getting langinfo(CRNCYSTR)

This does not affect platforms that have libc nl_langinfo().  Thus,
mainly Windows machines are affected.  The code was passing to
sv__setpvf() a pointer to the existing string of the passed in  SV.
This could lead to reallocating the SV with the pointer invalidated
before being used.

Tony Cook spotted the problem, and the fix used here, using sv_insert()
instead.


Compare: https://github.com/Perl/perl5/compare/61405b774c13...670e19a9598f

Reply via email to