Branch: refs/heads/smoke-me/khw-safe
  Home:   https://github.com/Perl/perl5
  Commit: d39255a57b626582dc1da1253bb5842b928a1858
      
https://github.com/Perl/perl5/commit/d39255a57b626582dc1da1253bb5842b928a1858
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M pp.c
    M sv.c

  Log Message:
  -----------
  Avoid some compiler warnings with -DNO_LOCALE


  Commit: 908108b2baabf6679fabf969bf072fd2e95f00f7
      
https://github.com/Perl/perl5/commit/908108b2baabf6679fabf969bf072fd2e95f00f7
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Remove dead code

This code was left in for a potential guide for the future.  Now that
I'm getting round to implementing it, I'm going in a different
direction.


  Commit: b62e241dd4de74edc74df86b4a1280fa1b5f4607
      
https://github.com/Perl/perl5/commit/b62e241dd4de74edc74df86b4a1280fa1b5f4607
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M perl.h

  Log Message:
  -----------
  Save and restore errno around DEBUG statements

Adding DEBUG statements should not affect errno.  But it could.  I have
in the past wrapped them in save/restores when it's become a problem.
But that is effort that could have been conserved by just always doing
it automatically.


  Commit: 23f9afeb5b9bddfff5910bffa265b330d83231cd
      
https://github.com/Perl/perl5/commit/23f9afeb5b9bddfff5910bffa265b330d83231cd
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M perl.h

  Log Message:
  -----------
  dTHX in DEBUG__


  Commit: 003a8a86c50a70259117f651e66421e1d5afd1e7
      
https://github.com/Perl/perl5/commit/003a8a86c50a70259117f651e66421e1d5afd1e7
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M perl.h

  Log Message:
  -----------
  Create DEBUG macro for when two flags must be set

There are some debugging statements that should only be displayed when
two flags are set; so far the v flag and another.  This commit creates
a macro for that purpose that saves a conditional (at least when
unoptimized) over the previous way to do it.


  Commit: b951c3f0509152189d9438fbbec0c8089767757b
      
https://github.com/Perl/perl5/commit/b951c3f0509152189d9438fbbec0c8089767757b
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M locale.c
    M perl.h

  Log Message:
  -----------
  DEBUG_L now also looks at environment variable

Because locale initialization happens before command line processing,
one can't pass a -DL argument to enable debugging of locale
initialization.  Instead, an environment variable is read then, and is
used to enable debugging or not.  In the past, code specifically had to
test for this being set.  This commit changes that so that debugging can
automatically be enabled without having to write special code.  Future
commits will strip out those special checks.


  Commit: 0b0d7c88b0edfe1384371f1c845f8037debbc3bc
      
https://github.com/Perl/perl5/commit/0b0d7c88b0edfe1384371f1c845f8037debbc3bc
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Replace most #ifdef DEBUGGING lines

THe previous commit enhanced the DEBUG macros so that they contain the
logic that previously had to be done with conditional compilation
statements.  Removing them makes the code easier to read.


  Commit: 2a8d1fb60e8552a948bcb2b539a4139d674f8a77
      
https://github.com/Perl/perl5/commit/2a8d1fb60e8552a948bcb2b539a4139d674f8a77
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M handy.h
    M numeric.c
    M regcomp.c
    M regexec.c
    M utfebcdic.h

  Log Message:
  -----------
  Change macro names to be C standard conformant

C reserves symbols beginning with underscores for its own use.  This
commit moves the underscore so it is trailing, which is legal.  The
symbols changed here are most of the ones in handy.h that have few uses
outside it.


  Commit: 23b4eecc6b407ebe21035a7e8e59959ad4506fdf
      
https://github.com/Perl/perl5/commit/23b4eecc6b407ebe21035a7e8e59959ad4506fdf
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M handy.h

  Log Message:
  -----------
  handy.h: Refactor some #ifdef's for commonality

This changes these compilation conditionals so that things in common
between Windows and other platforms are only defined once.

It changes the isWORDCHAR_LC definition for non-Windows to match that
platform, adding an UNLIKELY().


  Commit: 48052c72a248be9dc76cef40e361f2d1a8cb75d2
      
https://github.com/Perl/perl5/commit/48052c72a248be9dc76cef40e361f2d1a8cb75d2
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M handy.h

  Log Message:
  -----------
  handy.h: White-space, comment only


  Commit: 2cbec46e4b776bfcb1627443da0ee5909da4251e
      
https://github.com/Perl/perl5/commit/2cbec46e4b776bfcb1627443da0ee5909da4251e
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M handy.h

  Log Message:
  -----------
  handy.h: Remove only call to an internal macro

Replace isIDFIRST_LC  with a slightly faster implementation, in line
with what isWORDCHAR already does


  Commit: 50fc808fb069b54c51708d944719f382e6daa23a
      
https://github.com/Perl/perl5/commit/50fc808fb069b54c51708d944719f382e6daa23a
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M charclass_invlists.h
    M handy.h
    M l1_char_class_tab.h
    M lib/unicore/uni_keywords.pl
    M perl.c
    M perl.h
    M regcomp.c
    M regcomp.h
    M regen/mk_PL_charclass.pl
    M regexec.c
    M sv.c
    M uni_keywords.h
    M utfebcdic.h

  Log Message:
  -----------
  Change macro names to be C standard conformant

C reserves symbols beginning with underscores for its own use.  This
commit moves the underscore so it is trailing, which is legal.  The
symbols changed here are many of the ones in handy.h that have
significant uses outside it.


  Commit: 4277f6492de927ff18c847a9820953b216221e1e
      
https://github.com/Perl/perl5/commit/4277f6492de927ff18c847a9820953b216221e1e
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M handy.h

  Log Message:
  -----------
  handy.h: Rmv unneeded generality

The possible first character of an ID is always an alpha in the range
0-255, so there is no harm changing from the former to the latter.  And
future changes would otherwise have needed an extra parameter in a bunch
of macros.


  Commit: f2132ab27147ba17f5a425812495af887640fe3b
      
https://github.com/Perl/perl5/commit/f2132ab27147ba17f5a425812495af887640fe3b
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M handy.h

  Log Message:
  -----------
  handy.h: Don't special case isASCII_LC

This was an attempt to save instructions, but future commits will need
the generality


  Commit: af511f680846ca583690351c520b96695a7e341d
      
https://github.com/Perl/perl5/commit/af511f680846ca583690351c520b96695a7e341d
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M handy.h

  Log Message:
  -----------
  handy.h: Refactor some internal macros

This changes the parameters etc, in preparation for further changes


  Commit: 50d23fdcdb2252d0e277ee4775b142284451ad11
      
https://github.com/Perl/perl5/commit/50d23fdcdb2252d0e277ee4775b142284451ad11
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M embed.fnc
    M embed.h
    M proto.h
    M regexec.c

  Log Message:
  -----------
  regexec.c: Make internal function static

This used to be called from utf8.c, but no longer; no need to make it
other than static.  This allows the compiler to better optimize.


  Commit: b5f0f10dfab22334a67635c42fe48740f42e6650
      
https://github.com/Perl/perl5/commit/b5f0f10dfab22334a67635c42fe48740f42e6650
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M embed.fnc
    M embed.h
    M globvar.sym
    M handy.h
    M inline.h
    M perl.h
    M proto.h
    M regexec.c

  Log Message:
  -----------
  regexec.c: Use function call table to streamline code

This replaces a switch() statement with a function pointer table.  But
the main reason I'm doing this is for future functionality.


  Commit: 0f968bf073f43e297ba8eab7c24d15c55ad4a07c
      
https://github.com/Perl/perl5/commit/0f968bf073f43e297ba8eab7c24d15c55ad4a07c
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Declare three static arrays to be so.


  Commit: 55e7390bdc1e5e0735f09c23e471c35fd3a207fd
      
https://github.com/Perl/perl5/commit/55e7390bdc1e5e0735f09c23e471c35fd3a207fd
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M locale.c
    M perl.h

  Log Message:
  -----------
  Move some locale.c #defines to perl.h

This is in preparation for them to be used in macros from outside
locale.c


  Commit: e93aadabc41046d2f24f4016571fd0448c7363cc
      
https://github.com/Perl/perl5/commit/e93aadabc41046d2f24f4016571fd0448c7363cc
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M locale.c
    M perl.h

  Log Message:
  -----------
  Mark newly moved symbols as private

The previous commit made certain symbols that previously were local to
locale.c now available everywhere.  Add a trailing underscore to their
names to mark them as private.


  Commit: ab241a21bb7ce4ef45d4ac6d0624b84b41c578e5
      
https://github.com/Perl/perl5/commit/ab241a21bb7ce4ef45d4ac6d0624b84b41c578e5
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M embed.fnc
    M embed.h
    M locale.c
    M proto.h

  Log Message:
  -----------
  Split internal function into two

This splits out the portion of a function that calculates the index into
our tables from a locale category.  This immediately allows the calling
sequence to be simplified, but future commits will have use for just
the functionality of the new function.

One debugging statement is also removed from the new split out function,
which was not really necessary, and made it harder to do the next
commit.


  Commit: da98e3fb9a920eeb5504b38d0ff25da2e67aa2b4
      
https://github.com/Perl/perl5/commit/da98e3fb9a920eeb5504b38d0ff25da2e67aa2b4
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M ext/POSIX/POSIX.xs

  Log Message:
  -----------
  POSIX.xs: Add locks around certain operations

These operations may have races without these newly created locks.


  Commit: d6beff3b8017bc08348da5e42af7de29d8f2b600
      
https://github.com/Perl/perl5/commit/d6beff3b8017bc08348da5e42af7de29d8f2b600
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M ext/POSIX/POSIX.xs

  Log Message:
  -----------
  POSIX.xs: Use macro to reduce complexity

This #defines a macro and uses it to populate a structure, so that
strings don't have to be typed twice.


  Commit: 6d9019975a22a124f84d0d8e003ccf908a0988e2
      
https://github.com/Perl/perl5/commit/6d9019975a22a124f84d0d8e003ccf908a0988e2
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M ext/POSIX/POSIX.xs

  Log Message:
  -----------
  POSIX.xs: White-space only

Properly indent some nested preprocessor directives


  Commit: 4301ffaf480e56fe4122bab629ea307434cbe0ca
      
https://github.com/Perl/perl5/commit/4301ffaf480e56fe4122bab629ea307434cbe0ca
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M ext/POSIX/POSIX.xs

  Log Message:
  -----------
  POSIX.xs: Remove excess conditional

This conditional is just extra execution time on platforms where the
underlying field doesn't exist.  Don't compile it on such platforms.


  Commit: 1640a2cd861ba8cba9c92abccf4473c6e57a8697
      
https://github.com/Perl/perl5/commit/1640a2cd861ba8cba9c92abccf4473c6e57a8697
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Use nocontext; avoid rarely needed dTHX

This is a rare case; no point in doing a dTHX just for it.


  Commit: 83098e3118c576b632c3d70eb2001f2b7b5845e7
      
https://github.com/Perl/perl5/commit/83098e3118c576b632c3d70eb2001f2b7b5845e7
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M locale.c
    M pod/perldelta.pod
    M pod/perldiag.pod

  Log Message:
  -----------
  locale.c: Simplify function

We can use the function split-out in the previous commit to simplify
this.  Also, when I wrote it I didn't know about Perl_form(), and
reimplemented a portion of it here; that can be yanked as well.


  Commit: cf32db86340cb821a2ac5d3f3205fdfa3420c1f8
      
https://github.com/Perl/perl5/commit/cf32db86340cb821a2ac5d3f3205fdfa3420c1f8
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Move unreachable code

It turns out this code, setting errno, is unreachable.  Move it to the
place where it would do some good, removing an extraneous, unreachable
return;


  Commit: 83485b68de165ba7f89bf8ded9f19f712de789fd
      
https://github.com/Perl/perl5/commit/83485b68de165ba7f89bf8ded9f19f712de789fd
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Comment clarifications, white space


  Commit: 6d675486cb5a448b85d3850678d967dc9622b330
      
https://github.com/Perl/perl5/commit/6d675486cb5a448b85d3850678d967dc9622b330
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M embed.fnc
    M embed.h
    M locale.c
    M proto.h

  Log Message:
  -----------
  locale.c: Separate the query part of emulate_setlocale

This splits a large function so that it is easier to comprehend, and is
in preparation for them to be separately callable.


  Commit: 0d338cf4b1a84bb84583e8beb293784a9f519956
      
https://github.com/Perl/perl5/commit/0d338cf4b1a84bb84583e8beb293784a9f519956
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Remove spaces around a '##' preprocessor directive

It turns out that at least my gcc preprocessor gets confused in some
contexts if spaces surround the ##.  CAT2() doesn't work for these.

It is working in this context, but future commits will introduce ones
where it won't, so this commit will help make things consistent within
this file

What seems to fail is #define f(x) (..., g(x ## y), ...) where 'x' is a
an already #defined symbol.  I want 'xy', but instead, for example if
'x' has been defined to be 1, I get '1y'


  Commit: 4d34aa5f6b1f1de63094c2c7ad7c7bdc05af6405
      
https://github.com/Perl/perl5/commit/4d34aa5f6b1f1de63094c2c7ad7c7bdc05af6405
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Create new macros for just querying locale

Now that the query portion has been split off, we can go to it directly.


  Commit: 9d2b0cff3cf4c8e8098060770fd5ab4bbbeb99a8
      
https://github.com/Perl/perl5/commit/9d2b0cff3cf4c8e8098060770fd5ab4bbbeb99a8
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Generalize certain Win32 calls

The old versions were windows-specific; the changes use a more generic
macro that currently expands to the same thing, but future commits will
change that.


  Commit: 6146eb9d60002d4a58b81ec1eebe8675b38971b1
      
https://github.com/Perl/perl5/commit/6146eb9d60002d4a58b81ec1eebe8675b38971b1
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.: Create macros to call setlocale in special return contexts

Future commits will benefit from knowing if the return value of
setlocale is to be ignored, just checked for if it worked, or the full
value is needed.


  Commit: 809b2392e8394dac4b3383262844db7d5d544154
      
https://github.com/Perl/perl5/commit/809b2392e8394dac4b3383262844db7d5d544154
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M embed.fnc
    M embed.h
    M locale.c
    M proto.h

  Log Message:
  -----------
  locale.c: Split a static function into two parts

One part doesn't have to be compiled on platforms that don't have the
libc function querylocale().  It makes it easier to grok when that part
isn't inlined with the other part.  But more importantly, the split off
part will be called separately in future commits.


  Commit: fea9ee45a6fd25ed6194125ad64783e1dfc9de2d
      
https://github.com/Perl/perl5/commit/fea9ee45a6fd25ed6194125ad64783e1dfc9de2d
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M embed.fnc
    M embed.h
    M locale.c
    M proto.h

  Log Message:
  -----------
  locale.c: Use a function table to simplify code

Some locale categories require extra steps when they are changed.  This
moves that logic to a table, which gets rid of some code


  Commit: f3b7627703c286076d9dc502f491fd0496cd76fe
      
https://github.com/Perl/perl5/commit/f3b7627703c286076d9dc502f491fd0496cd76fe
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Same code for all queries of current locale

Previously querying LC_NUMERIC and LC_ALL were treated specially; other
queries were lumped in with changes.  Changing some categories involves
a non-trivial amount of work.  This commit avoids that by moving all
queries to the same 'if' branch.  LC_NUMERIC and LC_ALL still have to be
treated specially, but now it's all within the same outer 'if'.


  Commit: 9ac18055306032c26ed20df60ed5b4e2ce63fe68
      
https://github.com/Perl/perl5/commit/9ac18055306032c26ed20df60ed5b4e2ce63fe68
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M embed.fnc
    M embed.h
    M intrpvar.h
    M locale.c
    M proto.h

  Log Message:
  -----------
  2008


  Commit: 1ec77752ede2225b97ada69d1a847f8334893de7
      
https://github.com/Perl/perl5/commit/1ec77752ede2225b97ada69d1a847f8334893de7
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M lib/locale_threads.t
    M t/loc_tools.pl

  Log Message:
  -----------
  SAFE_LOCALES


  Commit: 1062c171632de540414fa69fcfd61ab0d47981f7
      
https://github.com/Perl/perl5/commit/1062c171632de540414fa69fcfd61ab0d47981f7
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M perl.h

  Log Message:
  -----------
  Use locale mutex for locking LC_NUMERIC changes

Previously it had its own mutex.  There are cases where having two
mutexes doesn't work properly, though I can't remember what they are
just now.

But, future commits will most assuredly cause the things dependent on
these mutexes to never be run at the same time.

This commit also changes the locale mutex into a general sempahore
instead of a binary one, so that it can be recursively locked without a
problem.


  Commit: 5d30a7416b59dc8f9fad3e9b6c759ab0087ac535
      
https://github.com/Perl/perl5/commit/5d30a7416b59dc8f9fad3e9b6c759ab0087ac535
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M embedvar.h
    M intrpvar.h
    M makedef.pl
    M perl.h
    M sv.c

  Log Message:
  -----------
  Change internal PL_ variable name

This is now used for the locale mutex, instead of the mutex the next
commit will remove; change its name to correspond.


  Commit: fb7da3b797f807e3e06ff8f47dfda3bfb9e52f8d
      
https://github.com/Perl/perl5/commit/fb7da3b797f807e3e06ff8f47dfda3bfb9e52f8d
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M perl.h
    M perlvars.h

  Log Message:
  -----------
  Remove no longer used mutex

A previous commit removed all need for this.


  Commit: 3ed3940d5925e6eb0b9629d969615e121498c5cf
      
https://github.com/Perl/perl5/commit/3ed3940d5925e6eb0b9629d969615e121498c5cf
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M ebcdic_tables.h
    M embedvar.h
    M globvar.sym
    M inline.h
    M intrpvar.h
    M perl.h
    M regen/ebcdic.pl

  Log Message:
  -----------
  XXX finish fold_locale

tests, copy in thread create


  Commit: d4eb908ab18c2af594eb3bc2ea5c2621badbf4ed
      
https://github.com/Perl/perl5/commit/d4eb908ab18c2af594eb3bc2ea5c2621badbf4ed
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M perl.h

  Log Message:
  -----------
  XXX inspect, trailing white: perl.h: refactor


  Commit: b3ffb06ba18a14623ef1381b95cf86aa499708d7
      
https://github.com/Perl/perl5/commit/b3ffb06ba18a14623ef1381b95cf86aa499708d7
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  XXX merge other commit: locale.c: Remove some errno saves

These are no longer needed, as the debugging code now automatically
preserves errno.


  Commit: d19259f712b3c8eab99b085a8a8d9fc61ed1967d
      
https://github.com/Perl/perl5/commit/d19259f712b3c8eab99b085a8a8d9fc61ed1967d
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  Prevent rare locale race

In reading code, I realized that it is possible for there to be a race
here if two threads operating in a Posix 2008 locale system convert to
the old-style locale system.  That is unlikely, but it is easy to
prevent any race through a mutex.  They still would have problems if
they do a tug-of-war on what the global locale should be.


  Commit: 78a24b22a8b2397c3b96feaabdcd994006a10473
      
https://github.com/Perl/perl5/commit/78a24b22a8b2397c3b96feaabdcd994006a10473
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  XXX commit message, assert(0);locale.c: Add code to do thread-safe emulation


  Commit: f9ff7278cc257c347bf8c75ff09139db6c8650e4
      
https://github.com/Perl/perl5/commit/f9ff7278cc257c347bf8c75ff09139db6c8650e4
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Revise querying a locale

Now that the LC_NUMERIC toggling is under the same mutex as the rest of
locale handling, we can simplify things.


  Commit: 3cde42b0aa46cb19f4f3c6f8a24e53b26b56d404
      
https://github.com/Perl/perl5/commit/3cde42b0aa46cb19f4f3c6f8a24e53b26b56d404
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Skip changing the locale if same as the old

Meet the new boss; same as the old boss.

There is some housekeeping involved in changing locales, particularly in
computing a new collation ordering.  So, it's worth it to check if the
new locale being requested is actually not different than the existing.
If so, we can just return without doing anything


  Commit: 1b99f3cacb503192915af83e312c655ca25d6c84
      
https://github.com/Perl/perl5/commit/1b99f3cacb503192915af83e312c655ca25d6c84
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  XXX loop index for consistency


  Commit: 2281e59cda8fd87b5fde814233a5558607ac53b7
      
https://github.com/Perl/perl5/commit/2281e59cda8fd87b5fde814233a5558607ac53b7
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  XXX Lv? locale.c: Add some debugging,


  Commit: 437d1bd0e087d68b40930d367061b3ce6bae6da6
      
https://github.com/Perl/perl5/commit/437d1bd0e087d68b40930d367061b3ce6bae6da6
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M handy.h
    M inline.h

  Log Message:
  -----------
  Add thread-safe locale emulation for LC_CTYPE

All character class checking and case conversions will now come through
this inline function which will switch to the proper locale if
Configured to do so.


  Commit: bd2c5fbb7c1c9b67da5de755359cda18f98da206
      
https://github.com/Perl/perl5/commit/bd2c5fbb7c1c9b67da5de755359cda18f98da206
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M inline.h

  Log Message:
  -----------
  XXX temporary: Add some debugging code for locale emulation


  Commit: 7723fe8aba42a7824aa80a7f9b1bf48a182e5746
      
https://github.com/Perl/perl5/commit/7723fe8aba42a7824aa80a7f9b1bf48a182e5746
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M pp.c

  Log Message:
  -----------
  XXX pp.c:  do %g print under mutex,


  Commit: 946682714166fc113f8b2eb2fc06dde8c90d2428
      
https://github.com/Perl/perl5/commit/946682714166fc113f8b2eb2fc06dde8c90d2428
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M intrpvar.h

  Log Message:
  -----------
  intrpvar.h: Addd clarifying comment


  Commit: e5a4eb8762e2e3c0de5db08d4ad3c981aa5b7a92
      
https://github.com/Perl/perl5/commit/e5a4eb8762e2e3c0de5db08d4ad3c981aa5b7a92
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  lc_messages bug


  Commit: 7d49ee6caf7894cda287b8cd80de9eb57716d74a
      
https://github.com/Perl/perl5/commit/7d49ee6caf7894cda287b8cd80de9eb57716d74a
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale init


  Commit: ebe754d3b58984923ffbfbd7ef1cfa153598f1e6
      
https://github.com/Perl/perl5/commit/ebe754d3b58984923ffbfbd7ef1cfa153598f1e6
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Slight refactor of strftime loop

It's easier to understand if we exit the loop right after the
conditional that causes us to, rather than at the bottom of the loop.


  Commit: e989ec2787583c2adc2c968923be683b2b14f16e
      
https://github.com/Perl/perl5/commit/e989ec2787583c2adc2c968923be683b2b14f16e
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Refactor strftime loop

This removes the call of strftime from the loop conditional, in
preparation for wrapping strftime() in a mutex.


  Commit: d97089a22877fedfbdec0fb64b8472d9e4228936
      
https://github.com/Perl/perl5/commit/d97089a22877fedfbdec0fb64b8472d9e4228936
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: White-space comment only

Adjust indentation from changes in previous two commits.

Add a clarifying comment


  Commit: e7775006ebcb2b933e81595b8d65c68b35693916
      
https://github.com/Perl/perl5/commit/e7775006ebcb2b933e81595b8d65c68b35693916
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M locale.c
    M util.c

  Log Message:
  -----------
  strftime() needs to be locked.

On some systems, it just needs to not have the locale nor environment
change while it is executing.  A many-reader lock for each will work for
those.  The Posix standard, on the other hand, says (under the tzset
entry) that strftime effective calls it, thus setting some globals, so
it needs exclusive access for those.  A Configure probe could be written
to check for the behavior.


  Commit: 56a2bd07db2eb0fefcf95ece617048ed9abd84d5
      
https://github.com/Perl/perl5/commit/56a2bd07db2eb0fefcf95ece617048ed9abd84d5
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Don't need full LOCALECONV_LOCK

Here, the items being returned are monetary, no need to toggle
LC_NUMERIC, which is what a full LOCALCONV_LOCK would do.


  Commit: 9b64326942095406d0a47d4e92cc683bdd5d3eef
      
https://github.com/Perl/perl5/commit/9b64326942095406d0a47d4e92cc683bdd5d3eef
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M intrpvar.h
    M perl.h
    M sv.c

  Log Message:
  -----------
  Turn on thread-safe emulation


  Commit: 2d88dbcc6181b6f3b35f0b51aca54f542c934fdd
      
https://github.com/Perl/perl5/commit/2d88dbcc6181b6f3b35f0b51aca54f542c934fdd
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M perl.h
    M time64.c
    M util.c

  Log Message:
  -----------
  Change name of mutex macros for ENV/LOCALE locking

The names were somewhat confusing.


  Commit: 99529504f2cab4632ee309bd493a409843ec9f26
      
https://github.com/Perl/perl5/commit/99529504f2cab4632ee309bd493a409843ec9f26
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M util.c

  Log Message:
  -----------
  XXX util.c: LOCALTIME lock


  Commit: 8480399f545a4996e91e14a5ee0fdab84921cbc4
      
https://github.com/Perl/perl5/commit/8480399f545a4996e91e14a5ee0fdab84921cbc4
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M perl.h

  Log Message:
  -----------
  perl.h: Move some statements

So they are closer to related statements


  Commit: 88253238f2418b91b0dc6ec443200b079b07439f
      
https://github.com/Perl/perl5/commit/88253238f2418b91b0dc6ec443200b079b07439f
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M perl.h

  Log Message:
  -----------
  XXX finish msg Implement combo ENV/LOCALE mutexes

There are cases where an executing function is vulnerable to either the
locale or environment being changed by another thread.  This implements
macros that use mutexes to protect these critical sections.  There are
two cases that exist:  one where the functions only read; and one where
they can also need exclusive control so that a competing thread can't
overwrite the returned static buffer before it is safely copied.

5.32 had a placeholder for these, but didn't actually implement it.
Instead it locked just the ENV portion.  On modern platforms with
thread-safe locales, the locale portion is a no-op anyway, so things
worked on them.

This new commit extends that safety to other platforms.  This has long
been a vulnerability in Perl, but


  Commit: eda6b31983589fe0def3a0e3c73827eae51a3f50
      
https://github.com/Perl/perl5/commit/eda6b31983589fe0def3a0e3c73827eae51a3f50
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M perl.h

  Log Message:
  -----------
  STRFTIME


  Commit: 06b3173ff4437342f114afdc68502bda7e0f6f3a
      
https://github.com/Perl/perl5/commit/06b3173ff4437342f114afdc68502bda7e0f6f3a
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

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

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


  Commit: 560314ac5ad279b83b5b804a5bf5f3503e781fd0
      
https://github.com/Perl/perl5/commit/560314ac5ad279b83b5b804a5bf5f3503e781fd0
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M locale.c

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


  Commit: 8718cd6fff7317145afa455706bfb02aa40c5aa6
      
https://github.com/Perl/perl5/commit/8718cd6fff7317145afa455706bfb02aa40c5aa6
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M perl.h

  Log Message:
  -----------
  lock


  Commit: 2e0219cede26fe098c384d13633440606bb1a6cc
      
https://github.com/Perl/perl5/commit/2e0219cede26fe098c384d13633440606bb1a6cc
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  dangerous


  Commit: 6e75c03e51243cb33bea76a62c7fb0b21934b8e4
      
https://github.com/Perl/perl5/commit/6e75c03e51243cb33bea76a62c7fb0b21934b8e4
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  const


  Commit: 496d1108fb23d9637215bc70abe8f9c3d2279356
      
https://github.com/Perl/perl5/commit/496d1108fb23d9637215bc70abe8f9c3d2279356
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M ext/POSIX/POSIX.xs

  Log Message:
  -----------
  posix


  Commit: 6727b4591e27a59fd055bf8693cbe486652c490c
      
https://github.com/Perl/perl5/commit/6727b4591e27a59fd055bf8693cbe486652c490c
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M locale.c
    M perl.h
    M sv.c
    M t/loc_tools.pl

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


  Commit: 581bdcb5eef55d68ef964a80a6e285c315d85d25
      
https://github.com/Perl/perl5/commit/581bdcb5eef55d68ef964a80a6e285c315d85d25
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M embed.fnc
    M embed.h
    M locale.c
    M proto.h
    M unixish.h

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


  Commit: da95f91a519403148f2575d33310edc749a086ab
      
https://github.com/Perl/perl5/commit/da95f91a519403148f2575d33310edc749a086ab
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M os2/os2.c

  Log Message:
  -----------
  os2: Use many reader lock instead of exclusive

This is just reading the environment, not changing it, so a many readers
can be accessing it at the same time.


  Commit: 7152bef27fc677013ebc77ec369bd40f3ad78def
      
https://github.com/Perl/perl5/commit/7152bef27fc677013ebc77ec369bd40f3ad78def
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M locale.c

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


  Commit: afa44e6760e794426e71ad35ebe4d372e7418958
      
https://github.com/Perl/perl5/commit/afa44e6760e794426e71ad35ebe4d372e7418958
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M reentr.h
    M regen/reentr.pl

  Log Message:
  -----------
  XXX comments, move in rebase reentr


  Commit: a9c50b076afe67167061045661749ddcefaf6ab3
      
https://github.com/Perl/perl5/commit/a9c50b076afe67167061045661749ddcefaf6ab3
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M time64.c

  Log Message:
  -----------
  time64.c: Remove no longer needed code

This code defined some macros; those are now defined by perl.h


  Commit: 625a5615cfeed8c3e058fcc0f49d1da335a4ed8f
      
https://github.com/Perl/perl5/commit/625a5615cfeed8c3e058fcc0f49d1da335a4ed8f
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M win32/win32.c

  Log Message:
  -----------
  win32.c: Add mutexes around some calls

These could have races.


  Commit: 12af9c377dc3e80b5314c35d50b65e888bbf950d
      
https://github.com/Perl/perl5/commit/12af9c377dc3e80b5314c35d50b65e888bbf950d
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M pp_sys.c

  Log Message:
  -----------
  XXX need to StructCopy pp_sys mutexes


  Commit: ea3c886524160f4bb881518fac47404e31c4f8da
      
https://github.com/Perl/perl5/commit/ea3c886524160f4bb881518fac47404e31c4f8da
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M util.c

  Log Message:
  -----------
  mktime needs to run under a mutex

per the Posix standard


  Commit: e834f0295b26c8b33cda1f7666a027b49f3bbf75
      
https://github.com/Perl/perl5/commit/e834f0295b26c8b33cda1f7666a027b49f3bbf75
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M cpan/Time-Piece/Piece.pm
    M cpan/Time-Piece/Piece.xs

  Log Message:
  -----------
  XXX cpan PR Time-Piece


  Commit: 2b5743ddf306efafd7518a81a202f1429f91f5dd
      
https://github.com/Perl/perl5/commit/2b5743ddf306efafd7518a81a202f1429f91f5dd
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M dist/ExtUtils-ParseXS/lib/perlxs.pod

  Log Message:
  -----------
  XXX perlxs


  Commit: d44952e937c35121849fccc8ac6f9e7cca8435f6
      
https://github.com/Perl/perl5/commit/d44952e937c35121849fccc8ac6f9e7cca8435f6
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M cpan/Time-Piece/Piece.xs

  Log Message:
  -----------
  cpan/Time-Piece/Piece.xs: Use foldEQ_locale() if available

Using this is preferable to the glibc function due to it being tailored
for Perl, and is thread-safe in the latest versions.


  Commit: f114c355d8137b4c46c424aecdb5535defe1275f
      
https://github.com/Perl/perl5/commit/f114c355d8137b4c46c424aecdb5535defe1275f
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M cpan/Time-Piece/Piece.xs

  Log Message:
  -----------
  Time-Piece/Piece.xs: Use isDIGIT, not isdigit

isDIGIT is not locale-dependent, matching just [0-9].  There was a bug
using isdigit() in at least one place where it calculated the value of
the digit by subtracting the original of '0' from it.  This works only
if the digit is in [0-9], but there are locales where there is another
set of digits, and so would give a very wrong result.  That makes it
clear to me that only [0-9] were assumed by the original authors.


  Commit: 77882826038d30516f0464e57522d71004f4298a
      
https://github.com/Perl/perl5/commit/77882826038d30516f0464e57522d71004f4298a
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M cpan/Time-Piece/Piece.xs

  Log Message:
  -----------
  XXX Time-Piece/Piece.xs: Use isSPACE not isspace

Same msg as prev commit


  Commit: b75d910ca5ed3ef38d4afe53b5a968729839d68f
      
https://github.com/Perl/perl5/commit/b75d910ca5ed3ef38d4afe53b5a968729839d68f
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M cpan/Time-Piece/Piece.xs

  Log Message:
  -----------
  XXX Time-Piece/Piece.xs: Use isUPPER not isupper

Same msg as prev commit


  Commit: a1bf48366108ff4cf8910b3cab3f506e01cd2065
      
https://github.com/Perl/perl5/commit/a1bf48366108ff4cf8910b3cab3f506e01cd2065
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M cpan/Time-Piece/Piece.xs

  Log Message:
  -----------
  XXX Time Piece temporary


  Commit: 6f8ffd02b97cdb5a94d2698fbc334bf74dfa6008
      
https://github.com/Perl/perl5/commit/6f8ffd02b97cdb5a94d2698fbc334bf74dfa6008
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M pod/perlhacktips.pod

  Log Message:
  -----------
  XXX incomplete perlhacktips:


  Commit: a3f95f4dcdc0d0903257cd93268e00deb4ba1d4d
      
https://github.com/Perl/perl5/commit/a3f95f4dcdc0d0903257cd93268e00deb4ba1d4d
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M dist/IO/IO.xs

  Log Message:
  -----------
  XXX check if using  ppport IO.xs: Remove fallback code furnished by ppport


  Commit: 5896a8e652e0eaf563895a165b2bb61e4dc209fa
      
https://github.com/Perl/perl5/commit/5896a8e652e0eaf563895a165b2bb61e4dc209fa
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M hints/freebsd.sh

  Log Message:
  -----------
  XXX check with freebsd: hints/freebsd.sh


  Commit: 473a75327b552450e8cf49ef497ff3645e341b79
      
https://github.com/Perl/perl5/commit/473a75327b552450e8cf49ef497ff3645e341b79
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M dosish.h
    M unixish.h

  Log Message:
  -----------
  Move IO destruction to end of list

During destruction, a list is executed in order.  Here's a couple of
them:
OP_CHECK_MUTEX_TERM; OP_REFCNT_TERM;

If something goes wrong, and the I/O system has already been destructed,
it's hard to figure out what's going on.  This is solved simply by
moving the I/O termination to the end of the list.


  Commit: c0f66d65c981fe010bb7f0235499b318a48da2f2
      
https://github.com/Perl/perl5/commit/c0f66d65c981fe010bb7f0235499b318a48da2f2
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M iperlsys.h

  Log Message:
  -----------
  iperlsys.h: Clarify comment


  Commit: b5f72f90b62e858dcf5d25290bbcbd68590a8d99
      
https://github.com/Perl/perl5/commit/b5f72f90b62e858dcf5d25290bbcbd68590a8d99
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M reentr.h
    M regen/reentr.pl

  Log Message:
  -----------
  Revert "reentr doing locks"

This reverts commit db16fd717a1c82eac14855982c1967e79d73b719.


  Commit: 7b8a23c1d0a2f9bbc5359f5712df7dbaf16d8f9a
      
https://github.com/Perl/perl5/commit/7b8a23c1d0a2f9bbc5359f5712df7dbaf16d8f9a
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M cpan/Time-Piece/Piece.xs
    M embed.fnc
    M embed.h
    M ext/POSIX/POSIX.xs
    M handy.h
    M inline.h
    M iperlsys.h
    M lib/locale_threads.t
    M locale.c
    M perl.h
    M pod/perllocale.pod
    M proto.h
    M regen/reentr.pl
    M sv.c
    M t/loc_tools.pl
    M t/porting/known_pod_issues.dat
    M thread.h
    M util.c

  Log Message:
  -----------
  f


  Commit: 0c462484c4c1191612d26c025c8b1f1def43e41d
      
https://github.com/Perl/perl5/commit/0c462484c4c1191612d26c025c8b1f1def43e41d
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M cygwin/cygwin.c
    M dist/ExtUtils-ParseXS/lib/perlxs.pod
    M dosish.h
    M embed.fnc
    M embed.h
    M ext/I18N-Langinfo/Langinfo.pm
    M ext/I18N-Langinfo/Langinfo.xs
    M ext/POSIX/POSIX.xs
    M handy.h
    M inline.h
    M intrpvar.h
    M lib/locale_threads.t
    M locale.c
    M makedef.pl
    M perl.c
    M perl.h
    M pod/perllocale.pod
    M pp_sys.c
    M proto.h
    M regexec.c
    M sv.c
    M t/loc_tools.pl
    M t/re/charset.t
    M thread.h
    M unixish.h
    M util.c
    M win32/win32.c

  Log Message:
  -----------
  Revert "Move IO destruction to end of list"

This reverts commit 6b0026ff2baeee76dd03ea8ee5fd85a7c9c7d5df.


  Commit: 331a987edcfa0037e5a7b14a515670630f79301b
      
https://github.com/Perl/perl5/commit/331a987edcfa0037e5a7b14a515670630f79301b
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Remove duplicate code

This code was essentially a reimplementation of my_strftime().  I
suddenly realized a way to avoid having to reimplement it, simply by
choosing a year in which January 1 falls on a Sunday.

The indentaion was changed to be consistent with future commits.


  Commit: 2dd4249c5c3fd2d4e4b3d0118901b341c95f61ec
      
https://github.com/Perl/perl5/commit/2dd4249c5c3fd2d4e4b3d0118901b341c95f61ec
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Return C values if strftime() disabled

This is the first commit in a series that will generally return
something from Perl_langinfo() when parts of the locale handling system
are not enabled.  This commit causes the C locale values to be returned
if strftime is not available.


  Commit: 141e41a856440d281f599321676fd329a6630c95
      
https://github.com/Perl/perl5/commit/141e41a856440d281f599321676fd329a6630c95
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Refactor #ifdef's for clarity

The my_strerror() function has effectively 5 different implementations
depending on the capabilities of the platform.  Only a few lines are
common to all, the set-up and the return.  The #ifdefs obscure the
underlying logic.  So this commit separates them out into 5 different
functions, with the result that it's clear what is going on in each.


  Commit: 2e757141f4efd5bcdba0b0be03cee7720a3ade85
      
https://github.com/Perl/perl5/commit/2e757141f4efd5bcdba0b0be03cee7720a3ade85
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M dist/IO/IO.pm
    M embed.fnc
    M embed.h
    M embedvar.h
    M ext/I18N-Langinfo/Langinfo.pm
    M ext/I18N-Langinfo/Langinfo.xs
    M ext/POSIX/POSIX.xs
    M ext/POSIX/lib/POSIX.pm
    M ext/POSIX/lib/POSIX.pod
    M ext/POSIX/t/mb.t
    M inline.h
    M intrpvar.h
    M lib/locale_threads.t
    M locale.c
    M makedef.pl
    M mg.c
    M perl.c
    M perl.h
    M proto.h
    M regexec.c
    M sv.c
    M t/harness
    M t/loc_tools.pl
    M thread.h
    M util.c

  Log Message:
  -----------
  f


Compare: https://github.com/Perl/perl5/compare/15f9fbd446c2...2e757141f4ef

Reply via email to