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

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

From:
Karl Williamson via perl5-changes
Date:
November 23, 2022 00:24
Subject:
[Perl/perl5] 587315: Fix POSIX::strxfrm()
Message ID:
Perl/perl5/push/refs/heads/smoke-me/khw-threads/cc0fa4-a918c6@github.com
  Branch: refs/heads/smoke-me/khw-threads
  Home:   https://github.com/Perl/perl5
  Commit: 58731529bb8d3d44dcf4b3a65f88c9c9176b6d31
      https://github.com/Perl/perl5/commit/58731529bb8d3d44dcf4b3a65f88c9c9176b6d31
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-22 (Tue, 22 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: a07b6aa1b7455ae1779c64e432fcfdecc869efa9
      https://github.com/Perl/perl5/commit/a07b6aa1b7455ae1779c64e432fcfdecc869efa9
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-22 (Tue, 22 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: 6c5cd68d6a8343c1e5b0e594d072667fa85e5267
      https://github.com/Perl/perl5/commit/6c5cd68d6a8343c1e5b0e594d072667fa85e5267
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-22 (Tue, 22 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: 782897217a390279a6fb31401588a5d2e7157ba2
      https://github.com/Perl/perl5/commit/782897217a390279a6fb31401588a5d2e7157ba2
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-22 (Tue, 22 Nov 2022)

  Changed paths:
    M locale.c
    M perl.h

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


  Commit: 53f0e6c246d3056bcbcdd9cca85f8b58e3cb0750
      https://github.com/Perl/perl5/commit/53f0e6c246d3056bcbcdd9cca85f8b58e3cb0750
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-22 (Tue, 22 Nov 2022)

  Changed paths:
    M locale.c

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


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

  Changed paths:
    M locale.c

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


  Commit: 09c9566f1220601c0047becc4bf1fea5dc4515fb
      https://github.com/Perl/perl5/commit/09c9566f1220601c0047becc4bf1fea5dc4515fb
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-22 (Tue, 22 Nov 2022)

  Changed paths:
    M locale.c

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


  Commit: 841934762796c53ec149d2cf4548a7fbfa98ab8d
      https://github.com/Perl/perl5/commit/841934762796c53ec149d2cf4548a7fbfa98ab8d
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-22 (Tue, 22 Nov 2022)

  Changed paths:
    M perl.h

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


  Commit: 47bf2d067f4a5697d49775b356689332e54c7edb
      https://github.com/Perl/perl5/commit/47bf2d067f4a5697d49775b356689332e54c7edb
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-22 (Tue, 22 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: a5d80ece4371330fa112d8a693a4727f3f170b34
      https://github.com/Perl/perl5/commit/a5d80ece4371330fa112d8a693a4727f3f170b34
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-22 (Tue, 22 Nov 2022)

  Changed paths:
    M locale.c

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


  Commit: 684d0da817c2159a17e25e7996b41616a8b9344d
      https://github.com/Perl/perl5/commit/684d0da817c2159a17e25e7996b41616a8b9344d
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-22 (Tue, 22 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: da4635833ac47f21fd3fb5fa83be4769c663e633
      https://github.com/Perl/perl5/commit/da4635833ac47f21fd3fb5fa83be4769c663e633
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-22 (Tue, 22 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: dd7f26b1b2f7b7c0ae4cbd2348c967f5da16f94b
      https://github.com/Perl/perl5/commit/dd7f26b1b2f7b7c0ae4cbd2348c967f5da16f94b
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-22 (Tue, 22 Nov 2022)

  Changed paths:
    M locale.c

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


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

  Changed paths:
    M t/loc_tools.pl

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


  Commit: 218dc7f29a3c64cb15f8b1514df24d5e0d51b03f
      https://github.com/Perl/perl5/commit/218dc7f29a3c64cb15f8b1514df24d5e0d51b03f
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-22 (Tue, 22 Nov 2022)

  Changed paths:
    M lib/locale_threads.t

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


  Commit: 2452c379a6bbd849fdc1c7b661a9dcbf90b4b748
      https://github.com/Perl/perl5/commit/2452c379a6bbd849fdc1c7b661a9dcbf90b4b748
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-22 (Tue, 22 Nov 2022)

  Changed paths:
    M lib/locale_threads.t

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


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

  Changed paths:
    M lib/locale_threads.t

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


  Commit: 368e3292d7aa6f9039e46bb2d697ae061137d907
      https://github.com/Perl/perl5/commit/368e3292d7aa6f9039e46bb2d697ae061137d907
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-22 (Tue, 22 Nov 2022)

  Changed paths:
    M lib/locale_threads.t

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


  Commit: 4963c2df432238e84935a3250c4367d1273bcb45
      https://github.com/Perl/perl5/commit/4963c2df432238e84935a3250c4367d1273bcb45
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-22 (Tue, 22 Nov 2022)

  Changed paths:
    M lib/locale_threads.t

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


  Commit: 672dae2d5a608075ab7fc11b652931b5fffaa0b5
      https://github.com/Perl/perl5/commit/672dae2d5a608075ab7fc11b652931b5fffaa0b5
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-22 (Tue, 22 Nov 2022)

  Changed paths:
    M locale.c

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


  Commit: 630bec457c7a2bc6c6c620e10c50d0eff0a42a9b
      https://github.com/Perl/perl5/commit/630bec457c7a2bc6c6c620e10c50d0eff0a42a9b
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-22 (Tue, 22 Nov 2022)

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

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


  Commit: 300ebf4fde6ce0a6f1f43e9fc092ac1872cb089a
      https://github.com/Perl/perl5/commit/300ebf4fde6ce0a6f1f43e9fc092ac1872cb089a
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-22 (Tue, 22 Nov 2022)

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

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


  Commit: 55e23ed7938c071f1c504bf6de157b2cac97b5a7
      https://github.com/Perl/perl5/commit/55e23ed7938c071f1c504bf6de157b2cac97b5a7
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-22 (Tue, 22 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: 4a9ac9e21d74b44b2e930b13b98b52950552152c
      https://github.com/Perl/perl5/commit/4a9ac9e21d74b44b2e930b13b98b52950552152c
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-22 (Tue, 22 Nov 2022)

  Changed paths:
    M locale.c

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


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

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

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


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

  Changed paths:
    M makedef.pl

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


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

  Changed paths:
    M lib/locale_threads.t

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


  Commit: 71e45ab6dd4f65d74999e64bb82942f913622a13
      https://github.com/Perl/perl5/commit/71e45ab6dd4f65d74999e64bb82942f913622a13
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-22 (Tue, 22 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: 665523dc1acd3faf6242ab2caacb94dbdb6a780d
      https://github.com/Perl/perl5/commit/665523dc1acd3faf6242ab2caacb94dbdb6a780d
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-22 (Tue, 22 Nov 2022)

  Changed paths:
    M lib/locale_threads.t

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


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

  Changed paths:
    M locale.c
    M sv.c

  Log Message:
  -----------
  question


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

  Changed paths:
    M locale.c

  Log Message:
  -----------
  fix_debug


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

  Changed paths:
    M locale.c

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


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

  Changed paths:
    M README.cygwin
    M embed.fnc
    M embed.h
    M locale.c
    M perl.h
    M proto.h
    M t/loc_tools.pl

  Log Message:
  -----------
  rework localeconv yet again


  Commit: 03651f3a313a252f3700b28f10115b44e745646e
      https://github.com/Perl/perl5/commit/03651f3a313a252f3700b28f10115b44e745646e
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-22 (Tue, 22 Nov 2022)

  Changed paths:
    M embed.fnc
    M lib/locale_threads.t
    M locale.c
    M proto.h

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


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

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

  Log Message:
  -----------
  one more time


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

  Changed paths:
    M embed.fnc
    M embed.h
    M lib/locale_threads.t
    M locale.c
    M proto.h
    M t/loc_tools.pl

  Log Message:
  -----------
  11/20


  Commit: 5d4ccad0b550132ad5f8586f56a16ba6ee652f85
      https://github.com/Perl/perl5/commit/5d4ccad0b550132ad5f8586f56a16ba6ee652f85
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-22 (Tue, 22 Nov 2022)

  Changed paths:
    M ext/POSIX/lib/POSIX.pm
    M lib/locale_threads.t
    M t/loc_tools.pl

  Log Message:
  -----------
  11/20.2


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

  Changed paths:
    M embed.fnc
    M embed.h
    M lib/locale_threads.t
    M locale.c
    M proto.h

  Log Message:
  -----------
  maybe the last?


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

  Changed paths:
    M lib/locale_threads.t

  Log Message:
  -----------
  locale_threads: 10 threads; debug


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

  Changed paths:
    M t/loc_tools.pl

  Log Message:
  -----------
  solaris vietnamese


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

  Changed paths:
    M lib/locale_threads.t

  Log Message:
  -----------
  locale_threads no -D


Compare: https://github.com/Perl/perl5/compare/cc0fa442e730...a918c6de8a89



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