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

[Perl/perl5] 41788c: Fix POSIX::strxfrm()

From:
Karl Williamson via perl5-changes
Date:
November 18, 2022 02:59
Subject:
[Perl/perl5] 41788c: Fix POSIX::strxfrm()
Message ID:
Perl/perl5/push/refs/heads/smoke-me/khw-threads/ecb5b1-9bd59f@github.com
  Branch: refs/heads/smoke-me/khw-threads
  Home:   https://github.com/Perl/perl5
  Commit: 41788c64469683faae21310ff428f0a7cbec02f6
      https://github.com/Perl/perl5/commit/41788c64469683faae21310ff428f0a7cbec02f6
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-17 (Thu, 17 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: 0ee6c3a46e9d3864515b5837fa7fd641fdd951bf
      https://github.com/Perl/perl5/commit/0ee6c3a46e9d3864515b5837fa7fd641fdd951bf
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-17 (Thu, 17 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: f88f992262494912a496eaf24e7660a13c5ede3d
      https://github.com/Perl/perl5/commit/f88f992262494912a496eaf24e7660a13c5ede3d
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-17 (Thu, 17 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: 4a89d013d218dae4ebf016a3382e98fe54116e2c
      https://github.com/Perl/perl5/commit/4a89d013d218dae4ebf016a3382e98fe54116e2c
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-17 (Thu, 17 Nov 2022)

  Changed paths:
    M locale.c
    M perl.h

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


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

  Changed paths:
    M locale.c

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


  Commit: 41f8eb27da6af0ab277e569a1f24191b88473c56
      https://github.com/Perl/perl5/commit/41f8eb27da6af0ab277e569a1f24191b88473c56
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-17 (Thu, 17 Nov 2022)

  Changed paths:
    M locale.c

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


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

  Changed paths:
    M locale.c

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


  Commit: 75764b9b5b1c1aff4ca02574c383e6f8483ec2d3
      https://github.com/Perl/perl5/commit/75764b9b5b1c1aff4ca02574c383e6f8483ec2d3
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-17 (Thu, 17 Nov 2022)

  Changed paths:
    M perl.h

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


  Commit: 5b1d3f20a802f361c6ea5e6969b567f26a3d9110
      https://github.com/Perl/perl5/commit/5b1d3f20a802f361c6ea5e6969b567f26a3d9110
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-17 (Thu, 17 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: 41ddef721d2b5a11829bb6477e476383e2e36722
      https://github.com/Perl/perl5/commit/41ddef721d2b5a11829bb6477e476383e2e36722
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-17 (Thu, 17 Nov 2022)

  Changed paths:
    M locale.c

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


  Commit: 9b34ffdbf624c34431b8065f07e43f08650c678e
      https://github.com/Perl/perl5/commit/9b34ffdbf624c34431b8065f07e43f08650c678e
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-17 (Thu, 17 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: 5074e66eeed40f45b03f7270ce2f6512df78e2f0
      https://github.com/Perl/perl5/commit/5074e66eeed40f45b03f7270ce2f6512df78e2f0
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-17 (Thu, 17 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: 8aae6d321560c4fe6b3d4c98d08706332a20eefc
      https://github.com/Perl/perl5/commit/8aae6d321560c4fe6b3d4c98d08706332a20eefc
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-17 (Thu, 17 Nov 2022)

  Changed paths:
    M locale.c

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


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

  Changed paths:
    M t/loc_tools.pl

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


  Commit: 325d9c7533f299bc5d61690ef54b2c004d7e252e
      https://github.com/Perl/perl5/commit/325d9c7533f299bc5d61690ef54b2c004d7e252e
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-17 (Thu, 17 Nov 2022)

  Changed paths:
    M lib/locale_threads.t

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


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

  Changed paths:
    M lib/locale_threads.t

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


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

  Changed paths:
    M lib/locale_threads.t

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


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

  Changed paths:
    M lib/locale_threads.t

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


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

  Changed paths:
    M lib/locale_threads.t

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


  Commit: 9f99e357ccccb589110ce71704317161e9676e6e
      https://github.com/Perl/perl5/commit/9f99e357ccccb589110ce71704317161e9676e6e
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-17 (Thu, 17 Nov 2022)

  Changed paths:
    M locale.c

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


  Commit: 1165a9f399fa8d27cb8e61090399dc6594b29c09
      https://github.com/Perl/perl5/commit/1165a9f399fa8d27cb8e61090399dc6594b29c09
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-17 (Thu, 17 Nov 2022)

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

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


  Commit: 9fdc0768d4b3ed40783eab045f58191e61bfd20c
      https://github.com/Perl/perl5/commit/9fdc0768d4b3ed40783eab045f58191e61bfd20c
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-17 (Thu, 17 Nov 2022)

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

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


  Commit: b0daf7ec2f01671fc31130b1290a34ea5d724fbb
      https://github.com/Perl/perl5/commit/b0daf7ec2f01671fc31130b1290a34ea5d724fbb
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-17 (Thu, 17 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: 54cef0bcba7a60a72ee199b420fecfeb046c96d7
      https://github.com/Perl/perl5/commit/54cef0bcba7a60a72ee199b420fecfeb046c96d7
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-17 (Thu, 17 Nov 2022)

  Changed paths:
    M locale.c

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


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

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

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


  Commit: 2221d9f83f6521c9f36c100cae720bd550ea0834
      https://github.com/Perl/perl5/commit/2221d9f83f6521c9f36c100cae720bd550ea0834
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-17 (Thu, 17 Nov 2022)

  Changed paths:
    M makedef.pl

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


  Commit: 80d32619958864e3431cbfc762be0ca6267d5c84
      https://github.com/Perl/perl5/commit/80d32619958864e3431cbfc762be0ca6267d5c84
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-17 (Thu, 17 Nov 2022)

  Changed paths:
    M lib/locale_threads.t

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


  Commit: 2d9e9277a59f077198c3e51fb541ab46ee8675f2
      https://github.com/Perl/perl5/commit/2d9e9277a59f077198c3e51fb541ab46ee8675f2
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-17 (Thu, 17 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: 5eb941fe57a2c2c3a2f2101d06e2193a461047c6
      https://github.com/Perl/perl5/commit/5eb941fe57a2c2c3a2f2101d06e2193a461047c6
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-17 (Thu, 17 Nov 2022)

  Changed paths:
    M lib/locale_threads.t

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


  Commit: 47c23e61bc992bc360afb43d5dfc7aa10a3e6769
      https://github.com/Perl/perl5/commit/47c23e61bc992bc360afb43d5dfc7aa10a3e6769
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-17 (Thu, 17 Nov 2022)

  Changed paths:
    M locale.c
    M sv.c

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


  Commit: 4441a5631d4fd19e17d44f3efc74bc05946e7c20
      https://github.com/Perl/perl5/commit/4441a5631d4fd19e17d44f3efc74bc05946e7c20
  Author: Karl Williamson <khw@cpan.org>
  Date:   2022-11-17 (Thu, 17 Nov 2022)

  Changed paths:
    M locale.c

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


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

  Changed paths:
    M locale.c

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


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


Compare: https://github.com/Perl/perl5/compare/ecb5b17ced51...9bd59fceb579



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