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

[Perl/perl5] 140c02: Fix POSIX::strxfrm()

From:
Karl Williamson via perl5-changes
Date:
November 17, 2022 00:07
Subject:
[Perl/perl5] 140c02: Fix POSIX::strxfrm()
Message ID:
Perl/perl5/push/refs/heads/smoke-me/khw-threads/496ff7-c88394@github.com
  Branch: refs/heads/smoke-me/khw-threads
  Home:   https://github.com/Perl/perl5
  Commit: 140c02737a470c2a2b4113aed843bfa13d405fbe
      https://github.com/Perl/perl5/commit/140c02737a470c2a2b4113aed843bfa13d405fbe
  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: c336b980123798e55ef1b4ef6c4713e0993208bd
      https://github.com/Perl/perl5/commit/c336b980123798e55ef1b4ef6c4713e0993208bd
  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: 26e7db2b550b25cfb6ae642ff08af19441f9dd83
      https://github.com/Perl/perl5/commit/26e7db2b550b25cfb6ae642ff08af19441f9dd83
  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: 190a729ff25c5d9abb44c4ddc1e23bc06025fd34
      https://github.com/Perl/perl5/commit/190a729ff25c5d9abb44c4ddc1e23bc06025fd34
  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: 5f3d1d0173f35e712b386df529c4849d1bcc4ddc
      https://github.com/Perl/perl5/commit/5f3d1d0173f35e712b386df529c4849d1bcc4ddc
  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: 332f1b1425df0b6be68ef23d6dd5029bc349ddd7
      https://github.com/Perl/perl5/commit/332f1b1425df0b6be68ef23d6dd5029bc349ddd7
  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: d50245c12bfe4cccc17ec23bfe5ecb3ad6abd81b
      https://github.com/Perl/perl5/commit/d50245c12bfe4cccc17ec23bfe5ecb3ad6abd81b
  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: 17614b0d6ea759809e8421bbc27e9e07db5f9782
      https://github.com/Perl/perl5/commit/17614b0d6ea759809e8421bbc27e9e07db5f9782
  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: 2201874b0ee1c5873a1610a83ae8896a285c5ab4
      https://github.com/Perl/perl5/commit/2201874b0ee1c5873a1610a83ae8896a285c5ab4
  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: b37b797bff9377d87b450d2206882577fb6b5a83
      https://github.com/Perl/perl5/commit/b37b797bff9377d87b450d2206882577fb6b5a83
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M locale.c

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


  Commit: 05e5fbcf5bafca5a885f6ddfed0f87dce127abd4
      https://github.com/Perl/perl5/commit/05e5fbcf5bafca5a885f6ddfed0f87dce127abd4
  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: 994d014cb7011146683b6c78578d540ec2fd1079
      https://github.com/Perl/perl5/commit/994d014cb7011146683b6c78578d540ec2fd1079
  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: cd25ff579f06d4bf5e57076c9c8f464f122fa95a
      https://github.com/Perl/perl5/commit/cd25ff579f06d4bf5e57076c9c8f464f122fa95a
  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: 0ebb9d323175fe95ec499c9f9692a2ea40e9d409
      https://github.com/Perl/perl5/commit/0ebb9d323175fe95ec499c9f9692a2ea40e9d409
  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: 48d13cc72ef226549710f8dbd9fe4d9c0fdc7f96
      https://github.com/Perl/perl5/commit/48d13cc72ef226549710f8dbd9fe4d9c0fdc7f96
  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: 918a1bd05cd71aa10b4a8d5070d88f535242ccf0
      https://github.com/Perl/perl5/commit/918a1bd05cd71aa10b4a8d5070d88f535242ccf0
  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: 5650268e008b58e3803ab8e892ca26504b3596a5
      https://github.com/Perl/perl5/commit/5650268e008b58e3803ab8e892ca26504b3596a5
  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: c84083147acf36a017517e3a22b824a1ab4d0fa0
      https://github.com/Perl/perl5/commit/c84083147acf36a017517e3a22b824a1ab4d0fa0
  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: ad24642df8a5de5601c2f6ff5cc586cdc04d835c
      https://github.com/Perl/perl5/commit/ad24642df8a5de5601c2f6ff5cc586cdc04d835c
  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: 061e6c0ae887eb5eda6e47b5b7c5c8e89c549bd4
      https://github.com/Perl/perl5/commit/061e6c0ae887eb5eda6e47b5b7c5c8e89c549bd4
  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: e65aa65c6f782b9cca2cb306c9905a43e7e509df
      https://github.com/Perl/perl5/commit/e65aa65c6f782b9cca2cb306c9905a43e7e509df
  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: a3aa271c375067f0cfe224b7053910effd7c3c36
      https://github.com/Perl/perl5/commit/a3aa271c375067f0cfe224b7053910effd7c3c36
  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: 760689f9af7570ef6b81a2ee67135f7b281ec6d9
      https://github.com/Perl/perl5/commit/760689f9af7570ef6b81a2ee67135f7b281ec6d9
  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: 052b5a033a1be228132973d0f9612cbe8ee0df27
      https://github.com/Perl/perl5/commit/052b5a033a1be228132973d0f9612cbe8ee0df27
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M locale.c

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


  Commit: ac4a252321ac4d9bee51c0e5ddf5c24611468e3a
      https://github.com/Perl/perl5/commit/ac4a252321ac4d9bee51c0e5ddf5c24611468e3a
  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: 3e857e7e2f6659bb5da3154b27c48a53b30651c3
      https://github.com/Perl/perl5/commit/3e857e7e2f6659bb5da3154b27c48a53b30651c3
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M makedef.pl

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


  Commit: 3ea06a503fb1684bc2b9cd3955e01a1e39738cac
      https://github.com/Perl/perl5/commit/3ea06a503fb1684bc2b9cd3955e01a1e39738cac
  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: 1ac6833b2cb1419705e19250266196dff8d83b73
      https://github.com/Perl/perl5/commit/1ac6833b2cb1419705e19250266196dff8d83b73
  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: 4e2e3aa5bc2706a8020f7e68e4ca51549ef06295
      https://github.com/Perl/perl5/commit/4e2e3aa5bc2706a8020f7e68e4ca51549ef06295
  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


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

  Changed paths:
    M locale.c
    M sv.c

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


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



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