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

[Perl/perl5] 9eeff3: Fix POSIX::strxfrm()

From:
Karl Williamson via perl5-changes
Date:
November 20, 2022 20:23
Subject:
[Perl/perl5] 9eeff3: Fix POSIX::strxfrm()
Message ID:
Perl/perl5/push/refs/heads/smoke-me/khw-threads/7ffa26-351b9f@github.com
  Branch: refs/heads/smoke-me/khw-threads
  Home:   https://github.com/Perl/perl5
  Commit: 9eeff3908741da66c7da3b10863b4236d12ee25d
      https://github.com/Perl/perl5/commit/9eeff3908741da66c7da3b10863b4236d12ee25d
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-20 (Sun, 20 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: c8fda32d9a26f6ec475da93f2a535727af332c67
      https://github.com/Perl/perl5/commit/c8fda32d9a26f6ec475da93f2a535727af332c67
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-20 (Sun, 20 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: 64403048e222b7597b5c240f987c51dd223c0039
      https://github.com/Perl/perl5/commit/64403048e222b7597b5c240f987c51dd223c0039
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-20 (Sun, 20 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: 2f05c7ac21c44bc050accd42246f310da992c735
      https://github.com/Perl/perl5/commit/2f05c7ac21c44bc050accd42246f310da992c735
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-20 (Sun, 20 Nov 2022)

  Changed paths:
    M locale.c
    M perl.h

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


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

  Changed paths:
    M locale.c

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


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

  Changed paths:
    M locale.c

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


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

  Changed paths:
    M locale.c

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


  Commit: 324c66523f535c9e22f044e04a593884e0e2cbd4
      https://github.com/Perl/perl5/commit/324c66523f535c9e22f044e04a593884e0e2cbd4
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-20 (Sun, 20 Nov 2022)

  Changed paths:
    M perl.h

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


  Commit: 87d099602f4bb67b223f1e1831879bdf38c08601
      https://github.com/Perl/perl5/commit/87d099602f4bb67b223f1e1831879bdf38c08601
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-20 (Sun, 20 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: 95c523430b0d84f6176fa85b649287ddeee1b36f
      https://github.com/Perl/perl5/commit/95c523430b0d84f6176fa85b649287ddeee1b36f
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-20 (Sun, 20 Nov 2022)

  Changed paths:
    M locale.c

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


  Commit: 636586ffc0a4edce4ed4bce81636cc724ab60e89
      https://github.com/Perl/perl5/commit/636586ffc0a4edce4ed4bce81636cc724ab60e89
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-20 (Sun, 20 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: 9ea7814191f753dfbbc745e8a2dd5edb7932f77f
      https://github.com/Perl/perl5/commit/9ea7814191f753dfbbc745e8a2dd5edb7932f77f
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-20 (Sun, 20 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: 4c4b8ca0f613e7d79b217de53a7fef8d7a259c38
      https://github.com/Perl/perl5/commit/4c4b8ca0f613e7d79b217de53a7fef8d7a259c38
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-20 (Sun, 20 Nov 2022)

  Changed paths:
    M locale.c

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


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

  Changed paths:
    M t/loc_tools.pl

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


  Commit: 8be6500bea6727b40621f304289f1f5d9623b1d1
      https://github.com/Perl/perl5/commit/8be6500bea6727b40621f304289f1f5d9623b1d1
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-20 (Sun, 20 Nov 2022)

  Changed paths:
    M lib/locale_threads.t

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


  Commit: 592ab2517a921da7138994aff558e89cbfaba0ab
      https://github.com/Perl/perl5/commit/592ab2517a921da7138994aff558e89cbfaba0ab
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-20 (Sun, 20 Nov 2022)

  Changed paths:
    M lib/locale_threads.t

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


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

  Changed paths:
    M lib/locale_threads.t

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


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

  Changed paths:
    M lib/locale_threads.t

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


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

  Changed paths:
    M lib/locale_threads.t

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


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

  Changed paths:
    M locale.c

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


  Commit: 740334065a16367a596fe2157846e53a80b8baa2
      https://github.com/Perl/perl5/commit/740334065a16367a596fe2157846e53a80b8baa2
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-20 (Sun, 20 Nov 2022)

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

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


  Commit: 648a30450cbb95499b70cc678df3d3f4067f774e
      https://github.com/Perl/perl5/commit/648a30450cbb95499b70cc678df3d3f4067f774e
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-20 (Sun, 20 Nov 2022)

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

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


  Commit: 2696c9e4b8f65310d25afdfcd49e27b26a93ba33
      https://github.com/Perl/perl5/commit/2696c9e4b8f65310d25afdfcd49e27b26a93ba33
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-20 (Sun, 20 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: 544ac503eb00a1aa1ff1b655a44aa2b24c147b71
      https://github.com/Perl/perl5/commit/544ac503eb00a1aa1ff1b655a44aa2b24c147b71
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-20 (Sun, 20 Nov 2022)

  Changed paths:
    M locale.c

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


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

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

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


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

  Changed paths:
    M makedef.pl

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


  Commit: 0f4742652b608e57910cdcf1cfb28a22887f4a8d
      https://github.com/Perl/perl5/commit/0f4742652b608e57910cdcf1cfb28a22887f4a8d
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-20 (Sun, 20 Nov 2022)

  Changed paths:
    M lib/locale_threads.t

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


  Commit: b0cae237e6b7fe0998896800f6fc4a0eff925f76
      https://github.com/Perl/perl5/commit/b0cae237e6b7fe0998896800f6fc4a0eff925f76
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-20 (Sun, 20 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: c07a7edf3fee9b528503f19bcd062f36f1995160
      https://github.com/Perl/perl5/commit/c07a7edf3fee9b528503f19bcd062f36f1995160
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-20 (Sun, 20 Nov 2022)

  Changed paths:
    M lib/locale_threads.t

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


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

  Changed paths:
    M locale.c
    M sv.c

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


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

  Changed paths:
    M locale.c

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


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

  Changed paths:
    M locale.c

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


  Commit: c5443dcf9f81e8add1a8cbfea16c4e759e5eb937
      https://github.com/Perl/perl5/commit/c5443dcf9f81e8add1a8cbfea16c4e759e5eb937
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-20 (Sun, 20 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: 4f86ade16522350d2ad403d525292edc1787fa57
      https://github.com/Perl/perl5/commit/4f86ade16522350d2ad403d525292edc1787fa57
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-20 (Sun, 20 Nov 2022)

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

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


  Commit: d9137e287f0050c8accb01c668816bb28e9cf75a
      https://github.com/Perl/perl5/commit/d9137e287f0050c8accb01c668816bb28e9cf75a
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-20 (Sun, 20 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: 351b9f59259b56a1246928c1ed8becd11a9caeef
      https://github.com/Perl/perl5/commit/351b9f59259b56a1246928c1ed8becd11a9caeef
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-20 (Sun, 20 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


Compare: https://github.com/Perl/perl5/compare/7ffa26e32b9b...351b9f59259b



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