Branch: refs/heads/smoke-me/khw-env Home: https://github.com/Perl/perl5 Commit: efe9061473e0f113dc906ca963bbd1211ba5bdbd https://github.com/Perl/perl5/commit/efe9061473e0f113dc906ca963bbd1211ba5bdbd Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023)
Changed paths: M perl.h Log Message: ----------- perl.h: Make sure PERL_IMPLICIT_CONTEXT doesn't come back This is an obsolete name, retained for back compat with cpan. Make sure the core doesn't have it defined. Commit: 89fca64c04b9032168080bad73568f971bf91091 https://github.com/Perl/perl5/commit/89fca64c04b9032168080bad73568f971bf91091 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M pp.c Log Message: ----------- pp.c: Need to lock NUMERIC category only This was doing a general locale lock, but only LC_NUMERIC is needed, and a future commit will want to know that it is specifically LC_NUMERIC that is affected. Commit: 8f4083dafff82fb6c5bac0123e556559f6d24494 https://github.com/Perl/perl5/commit/8f4083dafff82fb6c5bac0123e556559f6d24494 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M t/porting/customized.dat M vutil.c Log Message: ----------- vutil.c: Clean up white space Change tabs to blanks; Fix indentation; chomp trailing white space Remove some blank lines that don't contribute to readability Commit: eabc7160c5fd47fe8e7374c055e2499d095c7285 https://github.com/Perl/perl5/commit/eabc7160c5fd47fe8e7374c055e2499d095c7285 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M cpan/Archive-Tar/t/02_methods.t Log Message: ----------- XXX skip Archive-Tar because of symlinks Commit: 23b13423103313a8ccc2dd9b0c914195ef9b72a8 https://github.com/Perl/perl5/commit/23b13423103313a8ccc2dd9b0c914195ef9b72a8 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M t/porting/cmp_version.t Log Message: ----------- XXX skip cmp_version.t because of sym links Commit: 89cc1dbbf8346767035b064e8b21145ef6cc1cf1 https://github.com/Perl/perl5/commit/89cc1dbbf8346767035b064e8b21145ef6cc1cf1 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M perl.h Log Message: ----------- XXX temp to test broken lconv on non-Windows Commit: 1f57a12ca2a26c785648b8547d588e88f94664e0 https://github.com/Perl/perl5/commit/1f57a12ca2a26c785648b8547d588e88f94664e0 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M cpan/Sys-Syslog/t/syslog-inet-udp.t M cpan/Sys-Syslog/t/syslog.t Log Message: ----------- XXX skip syslog tests because fail without LC_TIME Commit: cfb54328d7920413182c6c47ef61b435cb35c96e https://github.com/Perl/perl5/commit/cfb54328d7920413182c6c47ef61b435cb35c96e Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M Configure Log Message: ----------- XXX Configure temporary to get no_nl, etc working Commit: 87bed301a1ceea2e2581b080f1b7c81f5c52c4a4 https://github.com/Perl/perl5/commit/87bed301a1ceea2e2581b080f1b7c81f5c52c4a4 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M Configure M win32/config_H.gc M win32/config_H.vc Log Message: ----------- Regenerate Configure after metaconfig backports applied Commit: 18e5c4690f29c573c78384285a66f5bcca4fd2a6 https://github.com/Perl/perl5/commit/18e5c4690f29c573c78384285a66f5bcca4fd2a6 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M Configure M config_h.SH M uconfig.h M win32/config_H.gc M win32/config_H.vc Log Message: ----------- Regenerate Configure after rm thread-safe nl_langinfo_l Commit: aa037a70461258ab3b2abe5be00204a4bc84150b https://github.com/Perl/perl5/commit/aa037a70461258ab3b2abe5be00204a4bc84150b Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M Configure M Cross/config.sh-arm-linux M Cross/config.sh-arm-linux-n770 M Porting/config.sh M config_h.SH M configure.com M metaconfig.h M plan9/config_sh.sample M uconfig.h M uconfig.sh M uconfig64.sh M win32/config.gc M win32/config.vc M win32/config_H.gc M win32/config_H.vc Log Message: ----------- No count Regenerate Configure after LC_ALL Commit: 8274400263fd30a5a05fbaf494e4f4752da7bdd8 https://github.com/Perl/perl5/commit/8274400263fd30a5a05fbaf494e4f4752da7bdd8 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M uconfig.h Log Message: ----------- config Commit: 2ea9d238852649b79017e6780c1128369923f5ac https://github.com/Perl/perl5/commit/2ea9d238852649b79017e6780c1128369923f5ac Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M perl.h Log Message: ----------- perl.h: Refactor some locale defines This combines two related sets of #defines into one, for easier maintenance. Commit: e6e8a6aff687935c5e70dac215af611c558553df https://github.com/Perl/perl5/commit/e6e8a6aff687935c5e70dac215af611c558553df Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M perl.h Log Message: ----------- perl.h: Count locale categories defined by the system Just because a platform defines a locale category doesn't mean Perl pays attention to it. This is Configurable, and there may be various reasons to disable a category, such as the libc is defective. A future commit will want to know how many categories the system actually has. Commit: d518b8fc795af19dc77bc3e954c5bf6eee2c0cf9 https://github.com/Perl/perl5/commit/d518b8fc795af19dc77bc3e954c5bf6eee2c0cf9 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M intrpvar.h M perl.c M perl.h Log Message: ----------- locale: Create some mnemonic #defines for sync across files Commit: 3bbcfc3db07bc5b5cb8aaf0033bf588f619933e5 https://github.com/Perl/perl5/commit/3bbcfc3db07bc5b5cb8aaf0033bf588f619933e5 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M makedef.pl M perl.h Log Message: ----------- XXX some way to know LC_ALL is defined NO_LC_ALL, undef others f lcall Commit: e73c5d368217bd9cdda4b5ef93010f97f68671c1 https://github.com/Perl/perl5/commit/e73c5d368217bd9cdda4b5ef93010f97f68671c1 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M perl.h Log Message: ----------- perl.h: Fake up win32 compile a bit Commit: 957e6d03f16c9531f352bf94ef7f3d94c7ed5818 https://github.com/Perl/perl5/commit/957e6d03f16c9531f352bf94ef7f3d94c7ed5818 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M locale.c Log Message: ----------- ruler Commit: f7a9ceb69490028f2613f35a10ef0b3e1f4170ba https://github.com/Perl/perl5/commit/f7a9ceb69490028f2613f35a10ef0b3e1f4170ba Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M sv.c Log Message: ----------- newSVbool(): Fix compiler warning The parameter was declared const in embed.fnc, but not in the function prototype Commit: 3a5472f20b366a43fad812c62e4e4fd8e24c8fa4 https://github.com/Perl/perl5/commit/3a5472f20b366a43fad812c62e4e4fd8e24c8fa4 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M embed.fnc M proto.h Log Message: ----------- regnode_after(): Fix compiler warning A parameter to this function was declared const in its prototype but not in embed.fnc. Commit: e250369f08604b2a89af2a48b0910aafbcc659b7 https://github.com/Perl/perl5/commit/e250369f08604b2a89af2a48b0910aafbcc659b7 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M embed.fnc M proto.h Log Message: ----------- pv_escape(): Fix compiler warning A parameter to this function was declared const in embed.fnc, but it isn't const Commit: 53c22e5e085c7103d12ef75810e8178dea6f89d2 https://github.com/Perl/perl5/commit/53c22e5e085c7103d12ef75810e8178dea6f89d2 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M embed.fnc M proto.h M utf8.c Log Message: ----------- uvoffuni_to_utf8_flags_msgs(): Fix compiler warning A parameter to this function was declared const in embed.fnc, but isn't const. This commit also adds a const to another parameter that is constant. Commit: 77faab25805d40f2c3107f4dc5580eacecea63da https://github.com/Perl/perl5/commit/77faab25805d40f2c3107f4dc5580eacecea63da Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M embed.fnc M proto.h Log Message: ----------- S_clear_placeholders(): Fix compiler warning A parameter to this function was declared const in its prototype but not in embed.fnc, and had a different name Commit: cc7677b686b6cf895d6acd09ac19ac7855c6fdd1 https://github.com/Perl/perl5/commit/cc7677b686b6cf895d6acd09ac19ac7855c6fdd1 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M embed.fnc M proto.h Log Message: ----------- S_stdize_locale(): Fix compiler warning A parameter to this function was declared const in its prototype but not in embed.fnc. Commit: f2dbcf5364dd0bd2ebcb58d733743de850496c5b https://github.com/Perl/perl5/commit/f2dbcf5364dd0bd2ebcb58d733743de850496c5b Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M t/TEST Log Message: ----------- XXX skip cpan testing Commit: e351bd7fc54fc2bb5fedefd14dbd70a8376cfdb7 https://github.com/Perl/perl5/commit/e351bd7fc54fc2bb5fedefd14dbd70a8376cfdb7 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M locale.c Log Message: ----------- locale.c: DEBUG_ Commit: 4c23f5efccbdafdcfc1de639095ca734c8047beb https://github.com/Perl/perl5/commit/4c23f5efccbdafdcfc1de639095ca734c8047beb Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M locale.c Log Message: ----------- locale.c: debug with thread id Commit: fda5805a64173e42cbcb9ccfc40c623958867fec https://github.com/Perl/perl5/commit/fda5805a64173e42cbcb9ccfc40c623958867fec Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M sv.c Log Message: ----------- XXX sv.c: temp Debug Commit: 8171021aab29932341daad7997ff1eae90ea8eac https://github.com/Perl/perl5/commit/8171021aab29932341daad7997ff1eae90ea8eac Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M t/porting/customized.dat M vutil.c Log Message: ----------- vutil.c: Simplify locale handling I read the code over and realized that there was a much simpler way to do things. Commit: 28cc8a4fe2c73bf056664ac3abdea41f0b7395c7 https://github.com/Perl/perl5/commit/28cc8a4fe2c73bf056664ac3abdea41f0b7395c7 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M vutil.c Log Message: ----------- vutil.c: Debug Commit: b62904aa9d4ab39d340f98a1161acd32a236ffe7 https://github.com/Perl/perl5/commit/b62904aa9d4ab39d340f98a1161acd32a236ffe7 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M cpan/version/t/07locale.t Log Message: ----------- version::07locale.t: Use I18N::Langinfo, not POSIX::localeconv() The former is always present; the latter might not be. Commit: 31596d49d43464e37e7a1d028fe0d9841a1f3899 https://github.com/Perl/perl5/commit/31596d49d43464e37e7a1d028fe0d9841a1f3899 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M cpan/version/t/07locale.t Log Message: ----------- version 07locale.t should use LC_NUMERIC, not ALL These outliers don't belong. This file is working on LC_NUMERIC only. Commit: 1d270ee81795f8e776524cb31531b417b727bdb6 https://github.com/Perl/perl5/commit/1d270ee81795f8e776524cb31531b417b727bdb6 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M win32/GNUmakefile M win32/Makefile Log Message: ----------- GNUmakefile: Remove file before rename 'rename' in Windows fails if the destination file exists, unlike the Unix 'mv'. Prior to this commit the make failed if a previous one had gotten this far to create the file that is now being re-created. Commit: 1c37c2c09389a6ae866fa7a508236226c64868cc https://github.com/Perl/perl5/commit/1c37c2c09389a6ae866fa7a508236226c64868cc Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M cpan/Time-Piece/Piece.pm M cpan/Time-Piece/Piece.xs Log Message: ----------- XXX cpan PR Time-Piece: Add locks This add mutex locking around some unsafe thread operations to make this module thread-safe. Commit: ae1c808c0c15e46eb49f4333d38d7ff0bc60783e https://github.com/Perl/perl5/commit/ae1c808c0c15e46eb49f4333d38d7ff0bc60783e Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M cpan/Time-Piece/Piece.xs Log Message: ----------- Time-Piece: Use foldEQ_locale() if available This supported core function is thread-safe and knows about Perl internals, so is preferable to the similar libc function, which is now used only as a fallback. This commit also bomb proofs the code by adding an additional fallback, specified in C89, which isn't a great substituted, but far better than nothing. Commit: 618aeec6c80a7b82dd08243eca1304b43ab9bd89 https://github.com/Perl/perl5/commit/618aeec6c80a7b82dd08243eca1304b43ab9bd89 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M cpan/Time-Piece/Piece.xs Log Message: ----------- Time-Piece: Use isSPACE, not isspace The latter gives results that are dependent on the program's underlying locale, and so may be inconsistent. If locale dependence is actually desired, isSPACE_LC should be used, as it knows about various things the module writer shouldn't have to concern themselves with. It is supported since 5.004 Commit: d41b679430ab97ea768f731a6db8f834220e9662 https://github.com/Perl/perl5/commit/d41b679430ab97ea768f731a6db8f834220e9662 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M cpan/Time-Piece/Piece.xs Log Message: ----------- Time-Piece: Use isDIGIT, not isdigit The latter gives results that are dependent on the program's underlying locale, and so may be inconsistent. If locale dependence is actually desired, isDIGIT_LC should be used, as it knows about various things the module writer shouldn't have to concern themselves with. It is supported since 5.004 Commit: db4d3c7a4f46ef2cc139c225357b9a224efad2d3 https://github.com/Perl/perl5/commit/db4d3c7a4f46ef2cc139c225357b9a224efad2d3 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M cpan/Time-Piece/Piece.xs Log Message: ----------- Time-Piece: Use isUPPER, not isupper The latter gives results that are dependent on the program's underlying locale, and so may be inconsistent. If locale dependence is actually desired, isUPPER_LC should be used, as it knows about various things the module writer shouldn't have to concern themselves with. It is supported since 5.004 Commit: 2dca341d53b62bf09f5594ac0772985271a0427e https://github.com/Perl/perl5/commit/2dca341d53b62bf09f5594ac0772985271a0427e Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M cpan/Time-Piece/Piece.xs Log Message: ----------- Time-Piece Commit: 9436d74050fc7fe00bc4a13c39870e8205993647 https://github.com/Perl/perl5/commit/9436d74050fc7fe00bc4a13c39870e8205993647 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M locale.c M perl.h Log Message: ----------- stdized Commit: 4acc4bc4f306c5bb368801333cffd55dbc7999ea https://github.com/Perl/perl5/commit/4acc4bc4f306c5bb368801333cffd55dbc7999ea Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M locale.c Log Message: ----------- use mvrtowc lock Commit: ef364f3a8cb6b843ce452a78c8ab7862aa11e042 https://github.com/Perl/perl5/commit/ef364f3a8cb6b843ce452a78c8ab7862aa11e042 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M embed.fnc M proto.h M util.c Log Message: ----------- XXX memlog Commit: 49cb37fea23f23591732679c6abf92f4f6a0871b https://github.com/Perl/perl5/commit/49cb37fea23f23591732679c6abf92f4f6a0871b Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M locale.c Log Message: ----------- XXX win workaround Commit: 60e2765fae7eed877fd8ac5140521d6cbedb5001 https://github.com/Perl/perl5/commit/60e2765fae7eed877fd8ac5140521d6cbedb5001 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M locale.c Log Message: ----------- locale.c: Silence compiler warning This as only emitted on Windows VS before 2015. Commit: 0c067f36e984424d54d82db95419484227cf3e85 https://github.com/Perl/perl5/commit/0c067f36e984424d54d82db95419484227cf3e85 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M lib/locale_threads.t M t/run/locale.t Log Message: ----------- locale_threads Commit: 4c706b7b332e4f913380228bc3188cd354478a22 https://github.com/Perl/perl5/commit/4c706b7b332e4f913380228bc3188cd354478a22 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M dist/threads/threads.xs M perl.h Log Message: ----------- XXX threads NON_tTHX leak maybe fix breakage Commit: 31355a9761393f3cb3ab78568bd814490503ad1c https://github.com/Perl/perl5/commit/31355a9761393f3cb3ab78568bd814490503ad1c Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M perl.h Log Message: ----------- perl.h: Debug locking Commit: 4da93b5d3815da6a033f857a37e3bb817cda0ec8 https://github.com/Perl/perl5/commit/4da93b5d3815da6a033f857a37e3bb817cda0ec8 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M locale.c M perl.h Log Message: ----------- debug thread Commit: b3f6c03cc326e1863bc442d7f8b8e83c89936586 https://github.com/Perl/perl5/commit/b3f6c03cc326e1863bc442d7f8b8e83c89936586 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M locale.c M perl.h Log Message: ----------- Revert "debug thread" This reverts commit Commit: 37624b8abcfcad4b51c332bb92d2e4775f059930 https://github.com/Perl/perl5/commit/37624b8abcfcad4b51c332bb92d2e4775f059930 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M dist/threads/threads.xs M inline.h Log Message: ----------- threads.xs DEBUG_U Commit: 4dbc20008372e1b311a62a109606c14a900cfdc9 https://github.com/Perl/perl5/commit/4dbc20008372e1b311a62a109606c14a900cfdc9 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M locale.c Log Message: ----------- locale.c: Omit final ';' in LC_ALL composite locale When locales for categories differ, LC_ALL needs a way to express the individual components. Prior to this commit, the aggregation ended with a semi-colon, which is unnecessary. This commit removes that. It also moves a loop counter declaration into the loops, now that we have C99, and avoids an extra strlen() call. Commit: b4e9e8eb0dce83952943e19086c36598a226dd6c https://github.com/Perl/perl5/commit/b4e9e8eb0dce83952943e19086c36598a226dd6c Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M t/loc_tools.pl Log Message: ----------- loc_tools Commit: 8b3ad3144a5726f808042db6cbd0a17e337a977d https://github.com/Perl/perl5/commit/8b3ad3144a5726f808042db6cbd0a17e337a977d Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M t/loc_tools.pl Log Message: ----------- XXX t/loc_tools.pl: Temp debug Commit: 245ecd075fc3e0e9d1415bfe16d3f83ba8e98308 https://github.com/Perl/perl5/commit/245ecd075fc3e0e9d1415bfe16d3f83ba8e98308 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M intrpvar.h M locale.c M makedef.pl M perl.h Log Message: ----------- no PL_CUR_LC_ALL Commit: f4404c6415622e471ef3535d901bbb4bc88e0ade https://github.com/Perl/perl5/commit/f4404c6415622e471ef3535d901bbb4bc88e0ade Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M locale.c Log Message: ----------- XXX tests: sync_locale() Make sure to get info from global locale This function is supposed to copy the global locale state to the per-thread one, but until this commit, if the current locale being used was the per-thread one, it would be a no-op. This is an edge case that rarely would occur in practice, as the point of this function is when you are in the global locale, so wouldn't generally be called otherwise. But it should handle the edge case properly. Commit: b34ce0586f6b97fe480485f2912f92934cd3c48f https://github.com/Perl/perl5/commit/b34ce0586f6b97fe480485f2912f92934cd3c48f Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M perl.h Log Message: ----------- perl.h: define locale mutex under more cirumstances Prior to this commit, it wasn't defined if we aren't paying attention to locales; but that doesn't mean they don't exist, and the operations that affect them are still callable; so they should have a mutex to prevent one thread from overwriting another's. Commit: f8614745c1690d323eea1cf595e48bb3a13a247f https://github.com/Perl/perl5/commit/f8614745c1690d323eea1cf595e48bb3a13a247f Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M makedef.pl M perl.h Log Message: ----------- perl.h: Also recognize -DNO_THREAD_SAFE_LOCALE Commit: 44e9fa560dbeb2e9726140e914a262b1da63bd25 https://github.com/Perl/perl5/commit/44e9fa560dbeb2e9726140e914a262b1da63bd25 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M locale.c Log Message: ----------- locale.c: Comments, white Commit: 454c71107ae24cb9a507f8585a361282a36a5299 https://github.com/Perl/perl5/commit/454c71107ae24cb9a507f8585a361282a36a5299 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M locale.c Log Message: ----------- locale.c: Move #ifdef DEBUGGING Move the #ifdef to include more code that already doesn't compile unless DEBUGGING is enabled. This just makes it more obvious. Commit: 1fcbd863e3a437a552eb2743cb3e8e10be69d48b https://github.com/Perl/perl5/commit/1fcbd863e3a437a552eb2743cb3e8e10be69d48b Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M locale.c Log Message: ----------- locale.c: Move some code to a bit later This is in preparation for a future commit to make the critical section this comes after a bit larger, so move it to after what will be the new critical section. Commit: 81313b61c3421262b61891597fe21c989cfb32dd https://github.com/Perl/perl5/commit/81313b61c3421262b61891597fe21c989cfb32dd Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M perl.h Log Message: ----------- perl.h: Turn mutex warning into a panic This was my attempt to keep going and try to recover after a problem was found: an unbalanced number of locks/unlocks. However, in looking at a many-million line execution trace, I realized that the recovery likely doesn't lead to correct results, and we should quit immediately when it happens. Commit: 4d404478c411f5c933322b40fb5b2369e37aaeed https://github.com/Perl/perl5/commit/4d404478c411f5c933322b40fb5b2369e37aaeed Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M makedef.pl Log Message: ----------- makedef.pl: Don't use locale items unless using locale If we are configured to not look at locales at all, we shouldn't be looking at threaded locales nor POSIX 2008 ones. This commit fixes a situation that is not likely at all to show up in real life, but I stumbeled across it in testing weird configurations. Commit: c29399d2b97326b46b3949a3466cd95a266b4fb2 https://github.com/Perl/perl5/commit/c29399d2b97326b46b3949a3466cd95a266b4fb2 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M makedef.pl Log Message: ----------- makedef.pl: Remove redundant set This ||= is useless, as just above we've already set MULTIPLICITY if USE_ITHREADS is set. Commit: 88ee93c9753dd82fa6798a4e94743fd5b408e9a8 https://github.com/Perl/perl5/commit/88ee93c9753dd82fa6798a4e94743fd5b408e9a8 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M perl.h Log Message: ----------- perl.h: White space, comments only Commit: 57beefba5a3c7f9cad3d2a74f37ac453d3d0ebcb https://github.com/Perl/perl5/commit/57beefba5a3c7f9cad3d2a74f37ac453d3d0ebcb Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M locale.c Log Message: ----------- XXX Bram locale.c: Fix comment Commit: 40dc248962307eed8b107e31ea2c4e865c72079a https://github.com/Perl/perl5/commit/40dc248962307eed8b107e31ea2c4e865c72079a Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M hints/solaris_2.sh Log Message: ----------- solaris not thread safe Commit: 4ee2a7b8f17b4d7568c4ba8d666cb29105819b7f https://github.com/Perl/perl5/commit/4ee2a7b8f17b4d7568c4ba8d666cb29105819b7f Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M hints/freebsd.sh Log Message: ----------- XXX check with freebsd: hints/freebsd.sh Commit: 3b81c8a1607b46f922e7cf2a351ac6b5c001d404 https://github.com/Perl/perl5/commit/3b81c8a1607b46f922e7cf2a351ac6b5c001d404 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M hints/freebsd.sh Log Message: ----------- XXX freebsd: not thread safe Commit: 7168c677b2dc708c8e6d4b04604b7b24b3ec0f6e https://github.com/Perl/perl5/commit/7168c677b2dc708c8e6d4b04604b7b24b3ec0f6e Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M hints/darwin.sh Log Message: ----------- no thread-safe locales on Darwin Commit: af8bdd55c5c14a1f733b81fba9600da8c25588b4 https://github.com/Perl/perl5/commit/af8bdd55c5c14a1f733b81fba9600da8c25588b4 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M makedef.pl Log Message: ----------- XXX: UCRT mingw is not likely locale-thread safe In order for mingw to be locale-thread safe, it needs UCRT which current packages don't tend to have. But this commit adds a XXX -DUCRT Commit: 2b8a7c0f5d355a39803c589cba5383758696749e https://github.com/Perl/perl5/commit/2b8a7c0f5d355a39803c589cba5383758696749e Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M t/run/locale.t Log Message: ----------- run/locale.t: Use 'is' not 'ok' for a test 'is' is a more modern, better options Commit: 080e6d14cabde590e74897dd330c2ad108cf1ef8 https://github.com/Perl/perl5/commit/080e6d14cabde590e74897dd330c2ad108cf1ef8 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M t/run/locale.t Log Message: ----------- run/locale.t: diag the list of locales Commit: a471a455aaf1883eec300b3d0a06e7231a49d2ec https://github.com/Perl/perl5/commit/a471a455aaf1883eec300b3d0a06e7231a49d2ec Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M t/run/locale.t Log Message: ----------- run/locale.t: more debug Commit: c06493277323a4acbe80bd813d62df0e5600f352 https://github.com/Perl/perl5/commit/c06493277323a4acbe80bd813d62df0e5600f352 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M locale.c Log Message: ----------- config error checking Commit: 238ce5d1bd1f5b57d1e9860448670e0831672bf6 https://github.com/Perl/perl5/commit/238ce5d1bd1f5b57d1e9860448670e0831672bf6 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M locale.c Log Message: ----------- global locale at init Commit: a120b234245c30bf7e8312a714be99025e4f48c3 https://github.com/Perl/perl5/commit/a120b234245c30bf7e8312a714be99025e4f48c3 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M embed.fnc M embed.h M locale.c M makedef.pl M perl.h M perlvars.h M proto.h Log Message: ----------- native query Commit: 3010dd486460e5d31164699b9d96432cbc24733c https://github.com/Perl/perl5/commit/3010dd486460e5d31164699b9d96432cbc24733c Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M perl.h Log Message: ----------- mingw threadsafe detection, broken localeconv Commit: d69acb798c0d9d7440d93465b89e1b50a400e5e1 https://github.com/Perl/perl5/commit/d69acb798c0d9d7440d93465b89e1b50a400e5e1 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M locale.c M perl.h Log Message: ----------- start of runtime configthread detection Commit: f32c7d36ae83efbf2dcc96e52e6979523be94569 https://github.com/Perl/perl5/commit/f32c7d36ae83efbf2dcc96e52e6979523be94569 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M locale.c M perl.h Log Message: ----------- Revert "start of runtime configthread detection" This reverts commit 196d220949d555ece9b18eb478d5f4ef0f5c99c5. Commit: 8c07e285d0f68d158f556fc98ec0472c232ba730 https://github.com/Perl/perl5/commit/8c07e285d0f68d158f556fc98ec0472c232ba730 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M embed.fnc M embed.h M embedvar.h M handy.h M inline.h M intrpvar.h M locale.c M makedef.pl M mg.c M perl.c M perl.h M perlvars.h M proto.h M sv.c Log Message: ----------- emul Commit: eae6a558e6a9147c01ca03997480eb98f8730f7b https://github.com/Perl/perl5/commit/eae6a558e6a9147c01ca03997480eb98f8730f7b Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M locale.c M perl.h M pp_sys.c Log Message: ----------- notes Commit: 56f81f5904bdb4971aa4ccba6b332a5fad560d48 https://github.com/Perl/perl5/commit/56f81f5904bdb4971aa4ccba6b332a5fad560d48 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M perl.h Log Message: ----------- perl.h change lock debugging text Commit: b00955e0b633cbee4862a02bcb5e8529b2777053 https://github.com/Perl/perl5/commit/b00955e0b633cbee4862a02bcb5e8529b2777053 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M locale.c Log Message: ----------- debug Commit: 2da0b52b5b7c4755d1d194af49e7992ad16ebc2c https://github.com/Perl/perl5/commit/2da0b52b5b7c4755d1d194af49e7992ad16ebc2c Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M perl.h Log Message: ----------- perl.h: Mutex destroy EMUL Commit: 48fcd0b4199bdb1a8f6c32b6c770302841eb4388 https://github.com/Perl/perl5/commit/48fcd0b4199bdb1a8f6c32b6c770302841eb4388 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M perl.h Log Message: ----------- Fix double free Commit: baa9b83ff7fed76abd613915484aa138171faa98 https://github.com/Perl/perl5/commit/baa9b83ff7fed76abd613915484aa138171faa98 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M perl.h Log Message: ----------- perl.h Fixup destroy EMUL MUTEX Commit: a66ce08e832b6b5515f4e7690287f13358a4bbbb https://github.com/Perl/perl5/commit/a66ce08e832b6b5515f4e7690287f13358a4bbbb Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M locale.c M perl.h Log Message: ----------- Rename SETLOCALE_LOCK to LOCALE_LOCK This mutex isn't just about the setlocale function; it applies to all locale related critical sections. Commit: 6972ef1673abd830f9585651cbc0c30381a5c0b4 https://github.com/Perl/perl5/commit/6972ef1673abd830f9585651cbc0c30381a5c0b4 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M locale.c Log Message: ----------- DEBUG_U Commit: ace28568f99b0988b35d4a9e7cf75042965f3e54 https://github.com/Perl/perl5/commit/ace28568f99b0988b35d4a9e7cf75042965f3e54 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M intrpvar.h Log Message: ----------- Add commented out PL_libc_char_fcn_result Commit: 44e807f128460ac898e4e6ee0cf7a8c2566b0bf8 https://github.com/Perl/perl5/commit/44e807f128460ac898e4e6ee0cf7a8c2566b0bf8 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M embed.fnc M embed.h M locale.c M proto.h Log Message: ----------- XXX querylocale_l Commit: 844458f29e2dabf7091bb868a0a2c45b62370402 https://github.com/Perl/perl5/commit/844458f29e2dabf7091bb868a0a2c45b62370402 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M lib/locale.t Log Message: ----------- XXX temp: lib/locale.t: debug Commit: 0dc259ad0db47a4ead1c38d6dfc20343d54f2ee5 https://github.com/Perl/perl5/commit/0dc259ad0db47a4ead1c38d6dfc20343d54f2ee5 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M lib/locale.t Log Message: ----------- lib/locale.t FILE debug Commit: 909d9ff7de9b7f6e7c5579021e1268c434e05f81 https://github.com/Perl/perl5/commit/909d9ff7de9b7f6e7c5579021e1268c434e05f81 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M lib/locale.t Log Message: ----------- lib/locale.t Commit: 32b6b54c559f32385b2ec0a6db707aaaae1e79cd https://github.com/Perl/perl5/commit/32b6b54c559f32385b2ec0a6db707aaaae1e79cd Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M handy.h Log Message: ----------- XXX cygwin debugging small macro buf Commit: 88d56f83399f0a381a3f2dd569cc19cd95bdff1e https://github.com/Perl/perl5/commit/88d56f83399f0a381a3f2dd569cc19cd95bdff1e Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M iperlsys.h Log Message: ----------- iperlsys.h: TODO need to look at adding mutexes Commit: d6c94172f86c0004704635fb10ca022836598187 https://github.com/Perl/perl5/commit/d6c94172f86c0004704635fb10ca022836598187 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M regen/reentr.pl Log Message: ----------- reentr.pl: XXX about needing mutex Commit: 9f41757c3d97576bdd7650da6837379865288147 https://github.com/Perl/perl5/commit/9f41757c3d97576bdd7650da6837379865288147 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M regexec.c Log Message: ----------- regexec.c: XXX has cast to U8 for some reason Commit: 1901d1143f8a6ba2b7cdaf85cca69489329fdddc https://github.com/Perl/perl5/commit/1901d1143f8a6ba2b7cdaf85cca69489329fdddc Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M pod/perllocale.pod Log Message: ----------- perlocale Commit: fd00e53b3f6053f37a6703de148092ac82c4e80e https://github.com/Perl/perl5/commit/fd00e53b3f6053f37a6703de148092ac82c4e80e Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M dist/ExtUtils-ParseXS/lib/perlxs.pod M t/porting/known_pod_issues.dat Log Message: ----------- perlxs Commit: 69093ab434315221139c2e9fd3b20916e48d8ed7 https://github.com/Perl/perl5/commit/69093ab434315221139c2e9fd3b20916e48d8ed7 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M dist/IO/IO.xs Log Message: ----------- XXX check if using ppport IO.xs: Remove fallback code furnished by ppport Commit: 4d3c9a8ae0b1cad04dedb378fe993064f093e34d https://github.com/Perl/perl5/commit/4d3c9a8ae0b1cad04dedb378fe993064f093e34d Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M pp.c Log Message: ----------- Debug Windows memory usage in pp_study Commit: 9b5883dc94850d3b67bf1439c25e241cc4973f18 https://github.com/Perl/perl5/commit/9b5883dc94850d3b67bf1439c25e241cc4973f18 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M pod/perlmod.pod Log Message: ----------- perlmod Commit: 86d6691ee80074310ea1cc1e44a025d2f3f05599 https://github.com/Perl/perl5/commit/86d6691ee80074310ea1cc1e44a025d2f3f05599 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M perl.h Log Message: ----------- XXX perl.h: Debugging mutex lock' Commit: 21e14563d8e1dc85c31c3e3e3b386d0c25bfc6e0 https://github.com/Perl/perl5/commit/21e14563d8e1dc85c31c3e3e3b386d0c25bfc6e0 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M ext/POSIX/lib/POSIX.pod Log Message: ----------- iXXX check for additions: POSIX.pod: Remove obsolete C89 reference Commit: 0fbd96be74b479bd4bd246053efc8dba6c419515 https://github.com/Perl/perl5/commit/0fbd96be74b479bd4bd246053efc8dba6c419515 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M locale.c Log Message: ----------- DEBUG_U Commit: 94f3bd5d9dc8c770725efd023cd3b3afdaeac564 https://github.com/Perl/perl5/commit/94f3bd5d9dc8c770725efd023cd3b3afdaeac564 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M perl.h Log Message: ----------- perl.h: category_eq_ctype Commit: 7ecb0ab092831f7a31e1bede26b7dae111c6b50e https://github.com/Perl/perl5/commit/7ecb0ab092831f7a31e1bede26b7dae111c6b50e Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M pod/perlhacktips.pod Log Message: ----------- XXX incomplete perlhacktips: Commit: 2c29f650d67bc141d5adfcb64d6612fb0e3d1a98 https://github.com/Perl/perl5/commit/2c29f650d67bc141d5adfcb64d6612fb0e3d1a98 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M embed.fnc M embed.h M locale.c M proto.h Log Message: ----------- locale.c: Split a static function in two A future commit will want to use just the first part of the function. Commit: 5f4af56e029c0b9c9a32fae790780646a1bd40ce https://github.com/Perl/perl5/commit/5f4af56e029c0b9c9a32fae790780646a1bd40ce Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M sv.c Log Message: ----------- perlapi: Combine sv_eq(), sv_eq_flags() entries Commit: 2f6a53e836c1806fcd8923a87957b24f415556ad https://github.com/Perl/perl5/commit/2f6a53e836c1806fcd8923a87957b24f415556ad Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M locale.c M pod/perldelta.pod Log Message: ----------- XXX split, finish pod, tests: LC_NAME, GNU support Commit: 58ea447ad1cb89dec3c1a33f8b2d4510f2640e8c https://github.com/Perl/perl5/commit/58ea447ad1cb89dec3c1a33f8b2d4510f2640e8c Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M locale.c Log Message: ----------- Norwegian futile Commit: e89af27e1583bfc73f78fb863cee0e3883431501 https://github.com/Perl/perl5/commit/e89af27e1583bfc73f78fb863cee0e3883431501 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M locale.c Log Message: ----------- Revert "Norwegian futile" This reverts commit 3d86e1d2c8bb596e3d763047cdf56e336ac1b860. Commit: eca5bd8e1ddb7654642d8e3da6bcdf56ceb778d9 https://github.com/Perl/perl5/commit/eca5bd8e1ddb7654642d8e3da6bcdf56ceb778d9 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M embed.fnc M embed.h M locale.c M proto.h Log Message: ----------- locale.c: Define S_update_PL_curlocales_i under more conditions This is in preparation for a future commit Commit: 8ac2fe2412a293ed6d46bbd34e7db6192841033d https://github.com/Perl/perl5/commit/8ac2fe2412a293ed6d46bbd34e7db6192841033d Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M pp_ctl.c Log Message: ----------- pp_ctl.c: Tighten scope of mutex being locked. Commit: bb47d1918171c454a46193253d77ddd66ea725ff https://github.com/Perl/perl5/commit/bb47d1918171c454a46193253d77ddd66ea725ff Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M util.c Log Message: ----------- util.c: White-space only Properly indent some preprocessor directives Commit: 508c94918ddee576125389eae41dec4a69c94ce4 https://github.com/Perl/perl5/commit/508c94918ddee576125389eae41dec4a69c94ce4 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M perl.h M perlio.c M util.c Log Message: ----------- snprintf Commit: b5285f4096c842991f2b64fd8422e8791e66023c https://github.com/Perl/perl5/commit/b5285f4096c842991f2b64fd8422e8791e66023c Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M locale.c M perl.h Log Message: ----------- locale.c: Remove use of nl_langinfo_l() I was wrong that it was feasible to determine at Configure time if this was a thread safe implementation or not. What could be determined was if it was obviously not thread-safe. lThe major advantage of using this, is hence not valid, so remove the code that handled it specially. perl.h comments are updated Commit: 9ba1911a924a739290a3c3cc2c7b31fe7e6825a3 https://github.com/Perl/perl5/commit/9ba1911a924a739290a3c3cc2c7b31fe7e6825a3 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M cygwin/cygwin.c Log Message: ----------- cygwin.c: Use mnemonic instead of repeating expr This expression is repeated in several places; best to name it for clarity and ease of change. Commit: 147da98eb1b612f19be22333f0ac19f1b8bbbcf2 https://github.com/Perl/perl5/commit/147da98eb1b612f19be22333f0ac19f1b8bbbcf2 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M cygwin/cygwin.c Log Message: ----------- cygwin.c: Remove misleading comments cygwin works on UTF-16, not UCS-2, nor UTF-8 Commit: 753fcfd299c0b3aef84a6c290c67768a92540f73 https://github.com/Perl/perl5/commit/753fcfd299c0b3aef84a6c290c67768a92540f73 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M cygwin/cygwin.c Log Message: ----------- cygwin.c: Remove memory leaks These mallocs weren't getting freed. Commit: f41692391fe1e639a4f863075a4df7b85bc9f5e1 https://github.com/Perl/perl5/commit/f41692391fe1e639a4f863075a4df7b85bc9f5e1 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M cygwin/cygwin.c Log Message: ----------- cygwin.c: Change wide_to_utf8() to call utf16_to_utf8() The latter function is in the core, and doesn't require the locale to be changed, unlike before. Commit: a85557af9a4a81973900724cea59c0a070aa0d1a https://github.com/Perl/perl5/commit/a85557af9a4a81973900724cea59c0a070aa0d1a Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M cygwin/cygwin.c Log Message: ----------- cygwin.c: Call wide_to_utf8() There are two places that do the same thing as wide_to_utf8(), in different ways. Use the single, common function Commit: ebed5ebd0208ace596b1bf8ca137108b66328567 https://github.com/Perl/perl5/commit/ebed5ebd0208ace596b1bf8ca137108b66328567 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M cygwin/cygwin.c Log Message: ----------- cygwin.c: Narrow scope of setlocale The previous commit caused the locale not to have to be changed and locked for as long as before. Narrow the change to the scope needed. Commit: 62cda86a3470ac7b8c13623bcee4034e458bc38c https://github.com/Perl/perl5/commit/62cda86a3470ac7b8c13623bcee4034e458bc38c Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M cygwin/cygwin.c Log Message: ----------- cygwin.c: Change variable names This makes the names consistent in the two parallel functions, in preparation for folding the two into one. This maps win_path => converted_path wbuf => wsrc wpath => wconverted Commit: fa0ec14f6d5b62ae3148fbabbcc6c5ef0dcca09f https://github.com/Perl/perl5/commit/fa0ec14f6d5b62ae3148fbabbcc6c5ef0dcca09f Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M cygwin/cygwin.c Log Message: ----------- cygwin.c: Refactor some expressions These cause the long flag name to only be mentioned once. Commit: 5a845cdcdaf58b20e84bf09c38ab1765f6945e83 https://github.com/Perl/perl5/commit/5a845cdcdaf58b20e84bf09c38ab1765f6945e83 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M cygwin/cygwin.c Log Message: ----------- cygwin.c: Use SvPVx in both places One function uses this form; the parallel function doesn't. Not having delved into the details, the 'x' form is safer, so should be used in the same situation in both functions. Commit: 033f0a818d9329e57dbbb8f0ed9f95078b38b61d https://github.com/Perl/perl5/commit/033f0a818d9329e57dbbb8f0ed9f95078b38b61d Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M pod/perldiag.pod Log Message: ----------- Add cygwin warning to perldiag Commit: 4d1d0054ab77bef62a41911869cce9520b8a9ef9 https://github.com/Perl/perl5/commit/4d1d0054ab77bef62a41911869cce9520b8a9ef9 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M cygwin/cygwin.c Log Message: ----------- cygwin.c: Change a size_t value from int to STRLEN Commit: db2e60ca2e81acfcceebcf90663b435cbbb6c6bc https://github.com/Perl/perl5/commit/db2e60ca2e81acfcceebcf90663b435cbbb6c6bc Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M cygwin/cygwin.c Log Message: ----------- cygwin.c: Fold two nearly identical functions into one These functions are to convert from a windows path to posix, and vice versa. Except for the direction, the process is identical. But the two functions that go in a single direction have diverged slightly over time. The previous few commits were integrating the changes in one version into the opposite one. The two versions are now sufficiently alike, with only white-space, comment, and directionality differences, so the functions can be combined. A new common function is created, and the other two functions merely wrap it, calling it with a parameter to indicate the direction. The result includes the union of all the comments from the two sides. Commit: dc8935dfbcc52567615ba380c167b72b5fb199f5 https://github.com/Perl/perl5/commit/dc8935dfbcc52567615ba380c167b72b5fb199f5 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M cygwin/cygwin.c Log Message: ----------- cygwin: Convert to use utf8_to_utf16() This now-core function simplifies things, and removes the need for changing the locale. Commit: 726464befbe0f85ba99b1835bbfc290e3ba9f505 https://github.com/Perl/perl5/commit/726464befbe0f85ba99b1835bbfc290e3ba9f505 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M cygwin/cygwin.c Log Message: ----------- cygwin.c: Add utf8_to_wide_extra_len() This function is like utf8_to_wide, but has an additional parameter that reserves extra space. It thus is a superset of utf8_to_wide() which changes to use it with 0 extra space needed. And there is other code that parallels utf8_to_wide() but needs extra space reserved. That code is converted to use this (new, now common) function, thus simplifying things. Commit: 69d4321636a88276dce1a35c63ad5fdaef7d9c15 https://github.com/Perl/perl5/commit/69d4321636a88276dce1a35c63ad5fdaef7d9c15 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M cygwin/cygwin.c Log Message: ----------- cygwin.c: Add comments, branch prediction Commit: c04c88b31d8372279957e1f6d450f4a9e0cb3742 https://github.com/Perl/perl5/commit/c04c88b31d8372279957e1f6d450f4a9e0cb3742 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M cygwin/cygwin.c Log Message: ----------- cygwin.c: Fold two similar code paths into one These differ only in which source they operate on. Commit: 57a0af6425c018704bb981eece2ab83c3a16b787 https://github.com/Perl/perl5/commit/57a0af6425c018704bb981eece2ab83c3a16b787 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M locale.c Log Message: ----------- l Commit: cd74598e95087e79ee2d0174e526a4859842f10b https://github.com/Perl/perl5/commit/cd74598e95087e79ee2d0174e526a4859842f10b Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M locale.c Log Message: ----------- mingw localeconv Commit: 94793371a7a50c8bebab690965bca454a0d790ad https://github.com/Perl/perl5/commit/94793371a7a50c8bebab690965bca454a0d790ad Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M cpan/version/t/07locale.t Log Message: ----------- XXX Shouldn't panic which CI does: cpan/version/t/07locale.t: Don't persist if broken locale Commit: 6db3866ce4e9b3544870b9bf638676a405d7b11f https://github.com/Perl/perl5/commit/6db3866ce4e9b3544870b9bf638676a405d7b11f Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M perl.h Log Message: ----------- Fix PL_CURLOCALES to be only under emulation Commit: 3b3803a43f1487c372802dc557c22b2a355edfca https://github.com/Perl/perl5/commit/3b3803a43f1487c372802dc557c22b2a355edfca Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M locale.c Log Message: ----------- locale.c: Add line_t to debugging Commit: 3f5151a0cc85e7b6df58d0143e6701b46968cebc https://github.com/Perl/perl5/commit/3f5151a0cc85e7b6df58d0143e6701b46968cebc Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M embed.fnc M embed.h M locale.c M proto.h Log Message: ----------- XXX temp more line_t Commit: da34173913b0bc103c1a1c279817672e9fe593cc https://github.com/Perl/perl5/commit/da34173913b0bc103c1a1c279817672e9fe593cc Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M embed.fnc M embed.h M locale.c M proto.h Log Message: ----------- Revert "XXX temp more line_t" This reverts commit 317ba7be2ed04311a6360521c99e8058dbf7f7f3. Commit: cfddc8058e767365278a97c8c4a83cb6dc49bc2b https://github.com/Perl/perl5/commit/cfddc8058e767365278a97c8c4a83cb6dc49bc2b Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M locale.c Log Message: ----------- Revert "locale.c: Add line_t to debugging" This reverts commit 2333eb8cfcb7000d42d3cb2919449952b010889a. Commit: 4b1d2b4ec364b4aeb68bf21496db59fd18ae8116 https://github.com/Perl/perl5/commit/4b1d2b4ec364b4aeb68bf21496db59fd18ae8116 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M t/test.pl Log Message: ----------- XXX test.pl: dont unlink temps Commit: 5347aed2d9ec8b1c15baa39fffc2d3d14f277eda https://github.com/Perl/perl5/commit/5347aed2d9ec8b1c15baa39fffc2d3d14f277eda Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M t/test.pl Log Message: ----------- Revert "XXX test.pl: dont unlink temps" This reverts commit 1579ce0dbce549cb594214ba27d4e2fa389f891b. Commit: 5232580df3e73a86f1abef12948e02f835ab86cc https://github.com/Perl/perl5/commit/5232580df3e73a86f1abef12948e02f835ab86cc Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M t/porting/libperl.t Log Message: ----------- XXX libperl.t: Allow strcat Commit: 880531c3f1d8e7bc7fce74b1ebe61d9531e27a15 https://github.com/Perl/perl5/commit/880531c3f1d8e7bc7fce74b1ebe61d9531e27a15 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-19 (Thu, 19 Jan 2023) Changed paths: M embed.fnc M embed.h M intrpvar.h M lib/locale_threads.t M locale.c M perl.c M perl.h M proto.h Log Message: ----------- l Compare: https://github.com/Perl/perl5/compare/0ad642c55013...880531c3f1d8