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

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

From:
Karl Williamson via perl5-changes
Date:
November 15, 2022 05:21
Subject:
[Perl/perl5] 086542: Fix POSIX::strxfrm()
Message ID:
Perl/perl5/push/refs/heads/smoke-me/khw-threads/899939-91699d@github.com
  Branch: refs/heads/smoke-me/khw-threads
  Home:   https://github.com/Perl/perl5
  Commit: 08654278eefd19d42dd77fd8c9d7c8bc387ceb5c
      https://github.com/Perl/perl5/commit/08654278eefd19d42dd77fd8c9d7c8bc387ceb5c
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-14 (Mon, 14 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: c9243e682eb2fb50c6bb6794ba2ff3f40fa8cf6d
      https://github.com/Perl/perl5/commit/c9243e682eb2fb50c6bb6794ba2ff3f40fa8cf6d
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-14 (Mon, 14 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: 230b3c757f0c206ef030b68438c24a08f9693f76
      https://github.com/Perl/perl5/commit/230b3c757f0c206ef030b68438c24a08f9693f76
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-14 (Mon, 14 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: ccbffc69fcae97ddcdb9c5f0586bf526d5c4b827
      https://github.com/Perl/perl5/commit/ccbffc69fcae97ddcdb9c5f0586bf526d5c4b827
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-14 (Mon, 14 Nov 2022)

  Changed paths:
    M locale.c
    M perl.h

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


  Commit: 55768df7e3690f1892b1d739671d8435d59d9074
      https://github.com/Perl/perl5/commit/55768df7e3690f1892b1d739671d8435d59d9074
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-14 (Mon, 14 Nov 2022)

  Changed paths:
    M locale.c

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


  Commit: 37e3d0045c16445b283bef95f0482e4653d9722b
      https://github.com/Perl/perl5/commit/37e3d0045c16445b283bef95f0482e4653d9722b
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-14 (Mon, 14 Nov 2022)

  Changed paths:
    M locale.c

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


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

  Changed paths:
    M locale.c

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


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

  Changed paths:
    M perl.h

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


  Commit: 2be0387644cc9d74e892b2aae1b091a72bf289c1
      https://github.com/Perl/perl5/commit/2be0387644cc9d74e892b2aae1b091a72bf289c1
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-14 (Mon, 14 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: 976ea0724d26cd2cad8e21a4afd0cdc1032d0520
      https://github.com/Perl/perl5/commit/976ea0724d26cd2cad8e21a4afd0cdc1032d0520
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-14 (Mon, 14 Nov 2022)

  Changed paths:
    M locale.c

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


  Commit: 40869c3f767e1cb71d2b4518babad876e0357a18
      https://github.com/Perl/perl5/commit/40869c3f767e1cb71d2b4518babad876e0357a18
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-14 (Mon, 14 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: 90a89b0be69271b99e8fbe8e1b3cac76a286ab98
      https://github.com/Perl/perl5/commit/90a89b0be69271b99e8fbe8e1b3cac76a286ab98
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-14 (Mon, 14 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: f834274678df86922b6cfe34f5a5f810a2a07144
      https://github.com/Perl/perl5/commit/f834274678df86922b6cfe34f5a5f810a2a07144
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-14 (Mon, 14 Nov 2022)

  Changed paths:
    M locale.c

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


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

  Changed paths:
    M t/loc_tools.pl

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


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

  Changed paths:
    M lib/locale_threads.t

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


  Commit: 481aa70b710d12e564912ea845d4891f35975d0a
      https://github.com/Perl/perl5/commit/481aa70b710d12e564912ea845d4891f35975d0a
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-14 (Mon, 14 Nov 2022)

  Changed paths:
    M lib/locale_threads.t

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


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

  Changed paths:
    M lib/locale_threads.t

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


  Commit: 0623b4f9ae7f93d8b9e739d7b9a54e4457815d20
      https://github.com/Perl/perl5/commit/0623b4f9ae7f93d8b9e739d7b9a54e4457815d20
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-14 (Mon, 14 Nov 2022)

  Changed paths:
    M lib/locale_threads.t

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


  Commit: 38844cc2f7652fc6db4805fde7f7e561fcd1c8d6
      https://github.com/Perl/perl5/commit/38844cc2f7652fc6db4805fde7f7e561fcd1c8d6
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-14 (Mon, 14 Nov 2022)

  Changed paths:
    M lib/locale_threads.t

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


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

  Changed paths:
    M locale.c

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


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

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

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


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

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

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


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


Compare: https://github.com/Perl/perl5/compare/8999391e8b62...91699d6b0a5a



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