develooper Front page | perl.perl5.changes | Postings from November 2022

[Perl/perl5] e19d30: Fix POSIX::strxfrm()

From:
Karl Williamson via perl5-changes
Date:
November 16, 2022 15:02
Subject:
[Perl/perl5] e19d30: Fix POSIX::strxfrm()
Message ID:
Perl/perl5/push/refs/heads/smoke-me/khw-threads/a6e19d-496ff7@github.com
  Branch: refs/heads/smoke-me/khw-threads
  Home:   https://github.com/Perl/perl5
  Commit: e19d309b7057c2c36f62361f9eef87b294e24f77
      https://github.com/Perl/perl5/commit/e19d309b7057c2c36f62361f9eef87b294e24f77
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M embed.fnc
    M ext/POSIX/POSIX.xs
    M ext/POSIX/lib/POSIX.pod
    M locale.c
    M pod/perldelta.pod
    M proto.h

  Log Message:
  -----------
  Fix POSIX::strxfrm()

This function takes an SV containing a PV.  The encoding of that PV is
based on the locale of the LC_CTYPE locale.  It really doesn't make
sense to collate based off of the sequencing of a different locale, which
prior to this commit it would do if the LC_COLLATION locale were
different.


  Commit: fe151394868a915d6db227d1481e904c2a2ec043
      https://github.com/Perl/perl5/commit/fe151394868a915d6db227d1481e904c2a2ec043
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c Move some code to more appropriate place

Indentation fixes will come in a later commit


  Commit: b466d21852dca083cae71a647722fc3a1894237b
      https://github.com/Perl/perl5/commit/b466d21852dca083cae71a647722fc3a1894237b
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c white-space, comment, pod, C99 only

Previous commits, in trying to minimize the difference listings, have
left some indentations wrong, and comments out of order.  This commit
rectifies that.

It rewords some pod, and moves some declarations closer to first use
(now that we are using C99).


  Commit: 9d34492aceb3ed90b54fd3c7dca9136cac6d9353
      https://github.com/Perl/perl5/commit/9d34492aceb3ed90b54fd3c7dca9136cac6d9353
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M locale.c
    M perl.h

  Log Message:
  -----------
  XXX flesh out msg: Add STDIZED_MUTEX_LOCK


  Commit: 160df1a1b749e83205beb3c1dd804f10afd44546
      https://github.com/Perl/perl5/commit/160df1a1b749e83205beb3c1dd804f10afd44546
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  XXX locale.c: Notes to self to investigate


  Commit: a66cf11a0640cae27857e92d5dfecd1cf04b53a1
      https://github.com/Perl/perl5/commit/a66cf11a0640cae27857e92d5dfecd1cf04b53a1
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  use mvrtowc lock


  Commit: 5881d6ae89e8619aa4aa2f7a49bcb47291e9f17e
      https://github.com/Perl/perl5/commit/5881d6ae89e8619aa4aa2f7a49bcb47291e9f17e
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  XXX prob drop; done before anything so no races


  Commit: dd384d3e70f895e388817a1bea9f5ff7003ad8c0
      https://github.com/Perl/perl5/commit/dd384d3e70f895e388817a1bea9f5ff7003ad8c0
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M perl.h

  Log Message:
  -----------
  XXX perl.h: Debugging mutex lock'


  Commit: 26549dcbacbb3a7c28439affaa503628f92e6e2d
      https://github.com/Perl/perl5/commit/26549dcbacbb3a7c28439affaa503628f92e6e2d
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M ext/POSIX/POSIX.xs

  Log Message:
  -----------
  POSIX.xs Maybe fix up pod

Input to mblen should be a multi byte string, not utf8


  Commit: c05c6a6ae95e6692f8d94c3b02182feea94263ce
      https://github.com/Perl/perl5/commit/c05c6a6ae95e6692f8d94c3b02182feea94263ce
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  wrap


  Commit: 2b0363aeaa68646d3a45bb0eeb158a5c18cc3caf
      https://github.com/Perl/perl5/commit/2b0363aeaa68646d3a45bb0eeb158a5c18cc3caf
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M embed.fnc
    M embed.h
    M locale.c
    M proto.h

  Log Message:
  -----------
  locale.c: Rmv unnecessary parameter from static function

This dates from an earlier implementation


  Commit: 4d796ef0c1578f286adc10385e43ae1b74cb9402
      https://github.com/Perl/perl5/commit/4d796ef0c1578f286adc10385e43ae1b74cb9402
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M embed.fnc
    M locale.c
    M proto.h

  Log Message:
  -----------
  locale.c: Reorder parameters to static function

Move the least important parameters (that can be NULL to indicate
unused) to the end of the parameter list, thereby moving the required
ones to the beginning.  This makes it clear what is important.


  Commit: 3fe1c8776cbe7db91a9cb18ca9358fd45d6ce817
      https://github.com/Perl/perl5/commit/3fe1c8776cbe7db91a9cb18ca9358fd45d6ce817
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  workaround win32 bug


  Commit: 063c86df99bb9a666bd0fd0ab91ecff58596b5ca
      https://github.com/Perl/perl5/commit/063c86df99bb9a666bd0fd0ab91ecff58596b5ca
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M t/loc_tools.pl

  Log Message:
  -----------
  loc_tools better norm


  Commit: b697c9ed2a7b024a811abe0b5c4de031a825dd1d
      https://github.com/Perl/perl5/commit/b697c9ed2a7b024a811abe0b5c4de031a825dd1d
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M lib/locale_threads.t

  Log Message:
  -----------
  locale_threads.t


  Commit: 3bfaed416f05e2668acfb21541fb6cde91740839
      https://github.com/Perl/perl5/commit/3bfaed416f05e2668acfb21541fb6cde91740839
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M lib/locale_threads.t

  Log Message:
  -----------
  l


  Commit: 9d14375075ad9349d6a33647a6a60ce45c6f8527
      https://github.com/Perl/perl5/commit/9d14375075ad9349d6a33647a6a60ce45c6f8527
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M lib/locale_threads.t

  Log Message:
  -----------
  locale_threads debug


  Commit: 36a7c245f54002c400a14c0dbbf36eb36747125d
      https://github.com/Perl/perl5/commit/36a7c245f54002c400a14c0dbbf36eb36747125d
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M lib/locale_threads.t

  Log Message:
  -----------
  Karen Etheridge, Dagfin


  Commit: 7cdd1696e282aecc48703346aeb469685824a0f6
      https://github.com/Perl/perl5/commit/7cdd1696e282aecc48703346aeb469685824a0f6
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M lib/locale_threads.t

  Log Message:
  -----------
  more locale_threads


  Commit: 6f8a7ff7111b117ca9d29ec8c526c43682199d04
      https://github.com/Perl/perl5/commit/6f8a7ff7111b117ca9d29ec8c526c43682199d04
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  fix radix without lconv


  Commit: c5d3be7931377466d11f9e531b73a9d47d4d1eb5
      https://github.com/Perl/perl5/commit/c5d3be7931377466d11f9e531b73a9d47d4d1eb5
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M locale.c
    M perl.c
    M perlvars.h

  Log Message:
  -----------
  more


  Commit: 1f63e031d6b4563910610493aaa6caa0e18395b6
      https://github.com/Perl/perl5/commit/1f63e031d6b4563910610493aaa6caa0e18395b6
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M lib/locale_threads.t
    M locale.c
    M perl.h
    M util.c

  Log Message:
  -----------
  win


  Commit: e7fe97a0ae932e3c936b354cca668d3c4dcb861e
      https://github.com/Perl/perl5/commit/e7fe97a0ae932e3c936b354cca668d3c4dcb861e
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M embed.fnc
    M embed.h
    M embedvar.h
    M ext/POSIX/t/posix.t
    M intrpvar.h
    M locale.c
    M perl.c
    M perl.h
    M proto.h
    M sv.c
    M t/run/locale.t

  Log Message:
  -----------
  testing


  Commit: 19d041e21f59b578dcb8c4c6617155c3fd10e550
      https://github.com/Perl/perl5/commit/19d041e21f59b578dcb8c4c6617155c3fd10e550
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  backtrace


  Commit: e3c5953fa7d8a083f90c129f504ac14447d4433c
      https://github.com/Perl/perl5/commit/e3c5953fa7d8a083f90c129f504ac14447d4433c
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M ext/POSIX/t/posix.t

  Log Message:
  -----------
  posix.t


  Commit: 0539f3cfa4926afcd453d7564f2836ece100bed8
      https://github.com/Perl/perl5/commit/0539f3cfa4926afcd453d7564f2836ece100bed8
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M makedef.pl

  Log Message:
  -----------
  makedef


  Commit: bb919ba114a458699224cd2d8466e532b7416b9a
      https://github.com/Perl/perl5/commit/bb919ba114a458699224cd2d8466e532b7416b9a
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M lib/locale_threads.t

  Log Message:
  -----------
  repeatability_locale_threads


  Commit: ef382d2ab695480ca689394afde6364995296582
      https://github.com/Perl/perl5/commit/ef382d2ab695480ca689394afde6364995296582
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M t/loc_tools.pl

  Log Message:
  -----------
  t/loc_tools.pl: Add UTF-8 classification sub

This new function is handed a list of locales on the platform, and
returns two lists.  One each for UTF-8 locales and non-UTF-8 locales.


  Commit: 496ff7ddfcee27c757fa4bfdb5b6921af575c04e
      https://github.com/Perl/perl5/commit/496ff7ddfcee27c757fa4bfdb5b6921af575c04e
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M lib/locale_threads.t

  Log Message:
  -----------
  locale_threads: Check for deterministic


Compare: https://github.com/Perl/perl5/compare/a6e19d0bead4...496ff7ddfcee



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About