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

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

From:
Karl Williamson via perl5-changes
Date:
November 20, 2022 03:55
Subject:
[Perl/perl5] d8bdc7: Fix POSIX::strxfrm()
Message ID:
Perl/perl5/push/refs/heads/smoke-me/khw-threads/23a715-7ffa26@github.com
  Branch: refs/heads/smoke-me/khw-threads
  Home:   https://github.com/Perl/perl5
  Commit: d8bdc752ec12426620799f5eb6cc2d096377c11f
      https://github.com/Perl/perl5/commit/d8bdc752ec12426620799f5eb6cc2d096377c11f
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-19 (Sat, 19 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: 6d851594c2cebfbcf457c59353eb9b49d8ffaaa5
      https://github.com/Perl/perl5/commit/6d851594c2cebfbcf457c59353eb9b49d8ffaaa5
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-19 (Sat, 19 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: 97d5a6d371cd3444d2b6749aecc64b0ff8986568
      https://github.com/Perl/perl5/commit/97d5a6d371cd3444d2b6749aecc64b0ff8986568
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-19 (Sat, 19 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: 313a3095918426ce03f5e4631692a8b24e8cc121
      https://github.com/Perl/perl5/commit/313a3095918426ce03f5e4631692a8b24e8cc121
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-19 (Sat, 19 Nov 2022)

  Changed paths:
    M locale.c
    M perl.h

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


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

  Changed paths:
    M locale.c

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


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

  Changed paths:
    M locale.c

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


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

  Changed paths:
    M locale.c

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


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

  Changed paths:
    M perl.h

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


  Commit: 7e030a648f6d448db3d450c2d9189550a06da59b
      https://github.com/Perl/perl5/commit/7e030a648f6d448db3d450c2d9189550a06da59b
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-19 (Sat, 19 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: 5b8c14ffc2eb648d15a8088867336e66eb117927
      https://github.com/Perl/perl5/commit/5b8c14ffc2eb648d15a8088867336e66eb117927
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-19 (Sat, 19 Nov 2022)

  Changed paths:
    M locale.c

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


  Commit: 4ae6d00d0562c266b733512b1dd6c34983cb9a45
      https://github.com/Perl/perl5/commit/4ae6d00d0562c266b733512b1dd6c34983cb9a45
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-19 (Sat, 19 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: 2498cd34c4232e48af60bd5be4864386a110a4da
      https://github.com/Perl/perl5/commit/2498cd34c4232e48af60bd5be4864386a110a4da
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-19 (Sat, 19 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: 09a7f88fc1b56f8819e9e9e868ba68d68c140d75
      https://github.com/Perl/perl5/commit/09a7f88fc1b56f8819e9e9e868ba68d68c140d75
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-19 (Sat, 19 Nov 2022)

  Changed paths:
    M locale.c

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


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

  Changed paths:
    M t/loc_tools.pl

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


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

  Changed paths:
    M lib/locale_threads.t

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


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

  Changed paths:
    M lib/locale_threads.t

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


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

  Changed paths:
    M lib/locale_threads.t

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


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

  Changed paths:
    M lib/locale_threads.t

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


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

  Changed paths:
    M lib/locale_threads.t

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


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

  Changed paths:
    M locale.c

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


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

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

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


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

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

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


  Commit: 1e41a2e8b697ccc73995c79a6d3b3cba5f546fc1
      https://github.com/Perl/perl5/commit/1e41a2e8b697ccc73995c79a6d3b3cba5f546fc1
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-19 (Sat, 19 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: c18980cc90ff1588dfbb5ab3341a0f36a6b838e1
      https://github.com/Perl/perl5/commit/c18980cc90ff1588dfbb5ab3341a0f36a6b838e1
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-19 (Sat, 19 Nov 2022)

  Changed paths:
    M locale.c

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


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

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

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


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

  Changed paths:
    M makedef.pl

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


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

  Changed paths:
    M lib/locale_threads.t

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


  Commit: 42d5bd43e7422b617bd0a77f4eed0f47059dcefc
      https://github.com/Perl/perl5/commit/42d5bd43e7422b617bd0a77f4eed0f47059dcefc
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-19 (Sat, 19 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: 657455035ed43dcc856a25040d5d4879726d4f0a
      https://github.com/Perl/perl5/commit/657455035ed43dcc856a25040d5d4879726d4f0a
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-19 (Sat, 19 Nov 2022)

  Changed paths:
    M lib/locale_threads.t

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


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

  Changed paths:
    M locale.c
    M sv.c

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


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

  Changed paths:
    M locale.c

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


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

  Changed paths:
    M locale.c

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


  Commit: 1ca8ab28885a89f33955071cb38a4426fc56902e
      https://github.com/Perl/perl5/commit/1ca8ab28885a89f33955071cb38a4426fc56902e
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-19 (Sat, 19 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: 8185dda016865d9b069890b6564039dd7724fc8c
      https://github.com/Perl/perl5/commit/8185dda016865d9b069890b6564039dd7724fc8c
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-19 (Sat, 19 Nov 2022)

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

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


  Commit: 7ffa26e32b9b00b7ce09100947054ff5a6780a6c
      https://github.com/Perl/perl5/commit/7ffa26e32b9b00b7ce09100947054ff5a6780a6c
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-19 (Sat, 19 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


Compare: https://github.com/Perl/perl5/compare/23a715717019...7ffa26e32b9b



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