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

  Changed paths:
    M pp.c
    M sv.c

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


  Commit: 6847be857656ac30ef75444a1af12f55930346a2
      
https://github.com/Perl/perl5/commit/6847be857656ac30ef75444a1af12f55930346a2
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: d0ecf491d988c78296d2c0b33217ed80273d2e50
      
https://github.com/Perl/perl5/commit/d0ecf491d988c78296d2c0b33217ed80273d2e50
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: e2e8b013337a8e47652dad2d886d1f1275218088
      
https://github.com/Perl/perl5/commit/e2e8b013337a8e47652dad2d886d1f1275218088
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M perl.h

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


  Commit: 1ab6180f58c6340e6555ae784c45c587329d6a96
      
https://github.com/Perl/perl5/commit/1ab6180f58c6340e6555ae784c45c587329d6a96
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: b5ee9ead342edf459b2695fcebf1b32e3d348f9b
      
https://github.com/Perl/perl5/commit/b5ee9ead342edf459b2695fcebf1b32e3d348f9b
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: 31970f2e4c6a893abee89ecf730d80b755c67c5f
      
https://github.com/Perl/perl5/commit/31970f2e4c6a893abee89ecf730d80b755c67c5f
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: 5999e6eafc1f59e64636cdf0959b8866d8277d68
      
https://github.com/Perl/perl5/commit/5999e6eafc1f59e64636cdf0959b8866d8277d68
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: b87387160c992e805d89419bb4c26de03f637aa8
      
https://github.com/Perl/perl5/commit/b87387160c992e805d89419bb4c26de03f637aa8
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: 65da1ca85f3543f102258ad4397c42531a1933f4
      
https://github.com/Perl/perl5/commit/65da1ca85f3543f102258ad4397c42531a1933f4
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M handy.h

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


  Commit: ce10ebb7f555c9524dd2f2e8d6772ec0eceac07d
      
https://github.com/Perl/perl5/commit/ce10ebb7f555c9524dd2f2e8d6772ec0eceac07d
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: 3e8e8b0183d744898609a10a0ceaf89b86e0f48b
      
https://github.com/Perl/perl5/commit/3e8e8b0183d744898609a10a0ceaf89b86e0f48b
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: 57f3751face07ebbe7d68f21209dd5f0edaa3af2
      
https://github.com/Perl/perl5/commit/57f3751face07ebbe7d68f21209dd5f0edaa3af2
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: c633680675dbd1c49c5d9b546e398579e11e894f
      
https://github.com/Perl/perl5/commit/c633680675dbd1c49c5d9b546e398579e11e894f
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: 9af7f7c60e79d2bf37e293d5d564748193b103b3
      
https://github.com/Perl/perl5/commit/9af7f7c60e79d2bf37e293d5d564748193b103b3
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: cb4eee8fece399ab27571c57d86e1ebc6bd5186c
      
https://github.com/Perl/perl5/commit/cb4eee8fece399ab27571c57d86e1ebc6bd5186c
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: 732d26ed1077a4f14cc53dff25d4df0be5b0adfe
      
https://github.com/Perl/perl5/commit/732d26ed1077a4f14cc53dff25d4df0be5b0adfe
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: fb4c9436008a85c8049916b01394bdb8c99e2aaf
      
https://github.com/Perl/perl5/commit/fb4c9436008a85c8049916b01394bdb8c99e2aaf
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M locale.c

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


  Commit: 5e407e76f0349a04eebb704b6382aab98cbe8d1a
      
https://github.com/Perl/perl5/commit/5e407e76f0349a04eebb704b6382aab98cbe8d1a
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: a874ad182f4be35a009e23c7e86a2d6dceb5ca94
      
https://github.com/Perl/perl5/commit/a874ad182f4be35a009e23c7e86a2d6dceb5ca94
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: a1b519b80031bbc627b8303b34c092768e2faf7d
      
https://github.com/Perl/perl5/commit/a1b519b80031bbc627b8303b34c092768e2faf7d
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: 483a7f8cb25c0ce8e82d5c1799d4b8f85ea8de9b
      
https://github.com/Perl/perl5/commit/483a7f8cb25c0ce8e82d5c1799d4b8f85ea8de9b
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: e1b15208915f3d628de026b1f2a8a5111a7a08f5
      
https://github.com/Perl/perl5/commit/e1b15208915f3d628de026b1f2a8a5111a7a08f5
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: f00e23f93f2364b69d43f6697c18d7959872682f
      
https://github.com/Perl/perl5/commit/f00e23f93f2364b69d43f6697c18d7959872682f
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: 0a4f99337da2a231d531fcbe54105efe9216507a
      
https://github.com/Perl/perl5/commit/0a4f99337da2a231d531fcbe54105efe9216507a
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M locale.c

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


  Commit: 7346461b87780156b6847d3ca9ea416c1ea612e4
      
https://github.com/Perl/perl5/commit/7346461b87780156b6847d3ca9ea416c1ea612e4
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: 8affb9bbc775ccd14da7771058606f61837061ba
      
https://github.com/Perl/perl5/commit/8affb9bbc775ccd14da7771058606f61837061ba
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: 2c5e77f854fe52e45f65482713a99a7851bba7ab
      
https://github.com/Perl/perl5/commit/2c5e77f854fe52e45f65482713a99a7851bba7ab
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: 3ed04cde91c38c767b2f4a14b9318e92e3ef6778
      
https://github.com/Perl/perl5/commit/3ed04cde91c38c767b2f4a14b9318e92e3ef6778
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: 133319a0f58fa617febbaf1a0012736ca79fcfaa
      
https://github.com/Perl/perl5/commit/133319a0f58fa617febbaf1a0012736ca79fcfaa
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: c4328107bb998213a6f1877614e564b902f27c7b
      
https://github.com/Perl/perl5/commit/c4328107bb998213a6f1877614e564b902f27c7b
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: d298571ba937d2f22f4eb85748dad73604326d57
      
https://github.com/Perl/perl5/commit/d298571ba937d2f22f4eb85748dad73604326d57
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: 9041e22ca2c26746dedd6ebc1c037565e1568cc9
      
https://github.com/Perl/perl5/commit/9041e22ca2c26746dedd6ebc1c037565e1568cc9
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: 92bf3c409a07186938204b2e911ac1102568b3ef
      
https://github.com/Perl/perl5/commit/92bf3c409a07186938204b2e911ac1102568b3ef
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

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

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


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

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

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


  Commit: 2d772c6b56c362ebe1351132f5d23d7ee9664149
      
https://github.com/Perl/perl5/commit/2d772c6b56c362ebe1351132f5d23d7ee9664149
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: fa33496a02752d122bd7ddba6eeae7510203d4a5
      
https://github.com/Perl/perl5/commit/fa33496a02752d122bd7ddba6eeae7510203d4a5
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: e68482bddc74581902ac8ada32c46508d43d30b7
      
https://github.com/Perl/perl5/commit/e68482bddc74581902ac8ada32c46508d43d30b7
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: d828eac86f10db77c38acb7bd69aa1bfd1f44814
      
https://github.com/Perl/perl5/commit/d828eac86f10db77c38acb7bd69aa1bfd1f44814
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: 941504218fec984333287e6ad1c862eddac8eebd
      
https://github.com/Perl/perl5/commit/941504218fec984333287e6ad1c862eddac8eebd
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M perl.h

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


  Commit: 1efec6e325c404f647c5feaaea33d8b587484a73
      
https://github.com/Perl/perl5/commit/1efec6e325c404f647c5feaaea33d8b587484a73
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: 1581efbbce3b7e3c416433b61f0edca843d11e43
      
https://github.com/Perl/perl5/commit/1581efbbce3b7e3c416433b61f0edca843d11e43
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: 340e16a76c38ded1799b93cae6ed797bed2a3a80
      
https://github.com/Perl/perl5/commit/340e16a76c38ded1799b93cae6ed797bed2a3a80
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M locale.c

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


  Commit: 224f3ffda056f924d1bef0577edcdaba3a7e82a3
      
https://github.com/Perl/perl5/commit/224f3ffda056f924d1bef0577edcdaba3a7e82a3
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: c61ab74d42f0e14440e0bcbae644d2507990c664
      
https://github.com/Perl/perl5/commit/c61ab74d42f0e14440e0bcbae644d2507990c664
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: 56281c797adff3ded004201d8ec1776f70887a4e
      
https://github.com/Perl/perl5/commit/56281c797adff3ded004201d8ec1776f70887a4e
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M locale.c

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


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

  Changed paths:
    M locale.c

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


  Commit: 80454477cc9c80319189cb2860fb52361dbaeb53
      
https://github.com/Perl/perl5/commit/80454477cc9c80319189cb2860fb52361dbaeb53
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: 7dbc3ad7ac44ada459a329a65ff43ada1feed5dc
      
https://github.com/Perl/perl5/commit/7dbc3ad7ac44ada459a329a65ff43ada1feed5dc
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M inline.h

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


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

  Changed paths:
    M pp.c

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


  Commit: 52c06c6ad8c1f56d0b1a890a86b5047b4bc695f1
      
https://github.com/Perl/perl5/commit/52c06c6ad8c1f56d0b1a890a86b5047b4bc695f1
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M intrpvar.h

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


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

  Changed paths:
    M locale.c

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


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

  Changed paths:
    M locale.c

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


  Commit: 6498a1758bee2d8583d84c6bec3bcdb575e58378
      
https://github.com/Perl/perl5/commit/6498a1758bee2d8583d84c6bec3bcdb575e58378
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: 368e236ec93c85738ebcb99732f6d0faf263d80a
      
https://github.com/Perl/perl5/commit/368e236ec93c85738ebcb99732f6d0faf263d80a
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: 20d385d550c5bafbb013f0a8f93cf06028d566fe
      
https://github.com/Perl/perl5/commit/20d385d550c5bafbb013f0a8f93cf06028d566fe
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: 85a4d8e6dc9ccf609f0842d713c8c8b9879cae4b
      
https://github.com/Perl/perl5/commit/85a4d8e6dc9ccf609f0842d713c8c8b9879cae4b
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: 9faae8a19c06263aa3f66f5e1a74def8c218bd30
      
https://github.com/Perl/perl5/commit/9faae8a19c06263aa3f66f5e1a74def8c218bd30
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: f888751bc2c2dcd2b5cf0c779625e5297e27314b
      
https://github.com/Perl/perl5/commit/f888751bc2c2dcd2b5cf0c779625e5297e27314b
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

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

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


  Commit: 8fd30ee0f531dfc6d0d899573454bea6be2a66db
      
https://github.com/Perl/perl5/commit/8fd30ee0f531dfc6d0d899573454bea6be2a66db
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: 91e573282acb8f5f60650d721a86b4b12e0a6d52
      
https://github.com/Perl/perl5/commit/91e573282acb8f5f60650d721a86b4b12e0a6d52
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M util.c

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


  Commit: 1526d786a37e1e561199f4e236b0bcfeb333669d
      
https://github.com/Perl/perl5/commit/1526d786a37e1e561199f4e236b0bcfeb333669d
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M perl.h

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

So they are closer to related statements


  Commit: 4abe66a14fdc882d7e5d9d6c6d1b0c9473e94b46
      
https://github.com/Perl/perl5/commit/4abe66a14fdc882d7e5d9d6c6d1b0c9473e94b46
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: 1219ad92f578f8d5f7b6eca2837569022f2d4c1b
      
https://github.com/Perl/perl5/commit/1219ad92f578f8d5f7b6eca2837569022f2d4c1b
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M perl.h

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


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

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

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


  Commit: 46215aa4bdd89b25be9e5b89fe7fe620ecb25ce6
      
https://github.com/Perl/perl5/commit/46215aa4bdd89b25be9e5b89fe7fe620ecb25ce6
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M locale.c

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


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

  Changed paths:
    M perl.h

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


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

  Changed paths:
    M locale.c

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


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

  Changed paths:
    M locale.c

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


  Commit: 3118871eb9c973952e08be35d097d27a04f742f5
      
https://github.com/Perl/perl5/commit/3118871eb9c973952e08be35d097d27a04f742f5
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M ext/POSIX/POSIX.xs

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


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

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

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


  Commit: 0586b067929a03688072f6167af0f566c8a51cf5
      
https://github.com/Perl/perl5/commit/0586b067929a03688072f6167af0f566c8a51cf5
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

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

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


  Commit: eeb35ea347d1c224270744a1f4c04e5bfcc96ae5
      
https://github.com/Perl/perl5/commit/eeb35ea347d1c224270744a1f4c04e5bfcc96ae5
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: 1c6df6318ed08092bc54e4e1cdaab465a8a29ddd
      
https://github.com/Perl/perl5/commit/1c6df6318ed08092bc54e4e1cdaab465a8a29ddd
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M locale.c

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


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

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

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


  Commit: 43a42d3cb408b050784fe0d66afe27b1dac36b9b
      
https://github.com/Perl/perl5/commit/43a42d3cb408b050784fe0d66afe27b1dac36b9b
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: 8beb1ec7486fcb7e60eabe04c578b546884a57f2
      
https://github.com/Perl/perl5/commit/8beb1ec7486fcb7e60eabe04c578b546884a57f2
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: 16a604d164da2d8a892a4393e963f433aa536ac8
      
https://github.com/Perl/perl5/commit/16a604d164da2d8a892a4393e963f433aa536ac8
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M win32/win32.c

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

These could have races.


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

  Changed paths:
    M pp_sys.c

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


  Commit: 44a317ab8406f29a7901a6e01266074df2d027cc
      
https://github.com/Perl/perl5/commit/44a317ab8406f29a7901a6e01266074df2d027cc
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M util.c

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

per the Posix standard


  Commit: 00e203739a7bb77a7dd63e50f30b1249153152d9
      
https://github.com/Perl/perl5/commit/00e203739a7bb77a7dd63e50f30b1249153152d9
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

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

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


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

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

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


  Commit: 2ea2227d87d4be233b18699d08162b8eebdd140c
      
https://github.com/Perl/perl5/commit/2ea2227d87d4be233b18699d08162b8eebdd140c
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: 6a5b4187573a97a11fca4a54671bc27318fa4db7
      
https://github.com/Perl/perl5/commit/6a5b4187573a97a11fca4a54671bc27318fa4db7
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: 4866f9270912b28c999b7e53c89b59f02bac95c8
      
https://github.com/Perl/perl5/commit/4866f9270912b28c999b7e53c89b59f02bac95c8
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: db5bc7093ab2a487cf30d06bb4764e741557f058
      
https://github.com/Perl/perl5/commit/db5bc7093ab2a487cf30d06bb4764e741557f058
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: 99a5fbe7e7f7ca1351d8bafd2c11b310264d5657
      
https://github.com/Perl/perl5/commit/99a5fbe7e7f7ca1351d8bafd2c11b310264d5657
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

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

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


  Commit: 8160d82d9cd4d7ab80be0d9c8fe636602be8c08d
      
https://github.com/Perl/perl5/commit/8160d82d9cd4d7ab80be0d9c8fe636602be8c08d
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M pod/perlhacktips.pod

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


  Commit: c67be0dab8cb3b1e48f7cc5de9bd3411271e8b38
      
https://github.com/Perl/perl5/commit/c67be0dab8cb3b1e48f7cc5de9bd3411271e8b38
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: 9c7b161e73849ac824e4a6715cd1416a0f75988b
      
https://github.com/Perl/perl5/commit/9c7b161e73849ac824e4a6715cd1416a0f75988b
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M hints/freebsd.sh

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


  Commit: 348d1f3136f1a9d3a4ec320d672980d85682424f
      
https://github.com/Perl/perl5/commit/348d1f3136f1a9d3a4ec320d672980d85682424f
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: 46f385a1b5ebf5d719a722b660e1e09157335fb3
      
https://github.com/Perl/perl5/commit/46f385a1b5ebf5d719a722b660e1e09157335fb3
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M iperlsys.h

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


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

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

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

This reverts commit db16fd717a1c82eac14855982c1967e79d73b719.


  Commit: 3724e0eeb84b1bf431cad6f75068afa4ede35379
      
https://github.com/Perl/perl5/commit/3724e0eeb84b1bf431cad6f75068afa4ede35379
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

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

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


  Commit: 36d388378780efb3589ecba6c6ce8965c41a80df
      
https://github.com/Perl/perl5/commit/36d388378780efb3589ecba6c6ce8965c41a80df
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M ext/POSIX/POSIX.xs
    M handy.h
    M lib/locale_threads.t
    M locale.c
    M pod/perllocale.pod
    M t/loc_tools.pl

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


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

  Changed paths:
    M ext/POSIX/POSIX.xs

  Log Message:
  -----------
  localeconv


  Commit: 032d5fbd3c51aecb6ee01495c8b0d38437054768
      
https://github.com/Perl/perl5/commit/032d5fbd3c51aecb6ee01495c8b0d38437054768
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M dosish.h
    M unixish.h

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

This reverts commit 6b0026ff2baeee76dd03ea8ee5fd85a7c9c7d5df.


  Commit: 69f816a83c9ae7dd00bf509ce682603a88278453
      
https://github.com/Perl/perl5/commit/69f816a83c9ae7dd00bf509ce682603a88278453
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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 lib/locale_threads.t
    M locale.c
    M perl.h
    M pod/perllocale.pod
    M proto.h
    M regexec.c
    M sv.c
    M t/loc_tools.pl
    M t/re/charset.t
    M unixish.h
    M util.c
    M win32/win32.c

  Log Message:
  -----------
  ready to smoke


  Commit: 689bb95d696918851a4bbf6f38bc114eec0e8c91
      
https://github.com/Perl/perl5/commit/689bb95d696918851a4bbf6f38bc114eec0e8c91
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

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

  Log Message:
  -----------
  hp31


  Commit: 7246792b0c012d50693e3c60a8c81ec2c18a5099
      
https://github.com/Perl/perl5/commit/7246792b0c012d50693e3c60a8c81ec2c18a5099
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M embed.fnc
    M embed.h
    M ext/POSIX/POSIX.xs
    M intrpvar.h
    M locale.c
    M makedef.pl
    M perl.h
    M proto.h

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


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

  Changed paths:
    M embed.fnc
    M embed.h
    M ext/POSIX/POSIX.xs
    M inline.h
    M lib/locale_threads.t
    M locale.c
    M pp_sys.c
    M proto.h
    M t/loc_tools.pl
    M thread.h

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


  Commit: e6cb57f3741a363b7d5a48a1d0ba2859de457cef
      
https://github.com/Perl/perl5/commit/e6cb57f3741a363b7d5a48a1d0ba2859de457cef
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: b2f6b09db8544a7042221faa4c5abadbf157cdad
      
https://github.com/Perl/perl5/commit/b2f6b09db8544a7042221faa4c5abadbf157cdad
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: 32f5063b09964fb67294ff1fbf7377a892c79440
      
https://github.com/Perl/perl5/commit/32f5063b09964fb67294ff1fbf7377a892c79440
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: 6b51e878dce14dd330ed06f63510e20d09c4d2e1
      
https://github.com/Perl/perl5/commit/6b51e878dce14dd330ed06f63510e20d09c4d2e1
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M ext/POSIX/POSIX.xs

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

Properly indent some nested preprocessor directives


  Commit: 352db9b7266240cd882e4ed6e3518ba6dd5e225e
      
https://github.com/Perl/perl5/commit/352db9b7266240cd882e4ed6e3518ba6dd5e225e
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: 6c5c55b4b309d52adf2e4c2e497522be08dda3f4
      
https://github.com/Perl/perl5/commit/6c5c55b4b309d52adf2e4c2e497522be08dda3f4
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 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: 962b2b0aa10b082cbf8907b18ff4a6635f030f95
      
https://github.com/Perl/perl5/commit/962b2b0aa10b082cbf8907b18ff4a6635f030f95
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M dist/IO/IO.pm
    M embed.fnc
    M embed.h
    M embedvar.h
    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/loc_tools.pl
    M thread.h
    M util.c

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


  Commit: 051b6f29e45eeebe8faca88b42d5211ad3431f35
      
https://github.com/Perl/perl5/commit/051b6f29e45eeebe8faca88b42d5211ad3431f35
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M embed.fnc
    M ext/I18N-Langinfo/Langinfo.pm
    M lib/locale_threads.t
    M locale.c
    M mg.c
    M perl.h
    M proto.h
    M t/harness

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


  Commit: 393368c547b25c1b2b71b54ce0d6313efe7d3b40
      
https://github.com/Perl/perl5/commit/393368c547b25c1b2b71b54ce0d6313efe7d3b40
  Author: Karl Williamson <[email protected]>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

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

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


Compare: https://github.com/Perl/perl5/compare/5504ac5aedc4...393368c547b2

Reply via email to