Branch: refs/heads/smoke-me/khw-env Home: https://github.com/Perl/perl5 Commit: b8914ecb7d2fcf9a84a920ee57d824cc89b8fbc5 https://github.com/Perl/perl5/commit/b8914ecb7d2fcf9a84a920ee57d824cc89b8fbc5 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 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: a83862b66c093b2c547de55f3021745855f84402 https://github.com/Perl/perl5/commit/a83862b66c093b2c547de55f3021745855f84402 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 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: 3e8c9e530d770e60d3c74110663437be344b925e https://github.com/Perl/perl5/commit/3e8c9e530d770e60d3c74110663437be344b925e Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 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: b43f0e5d4f7a4c0185d610a3bcb0ec4bbdb18e71 https://github.com/Perl/perl5/commit/b43f0e5d4f7a4c0185d610a3bcb0ec4bbdb18e71 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M cpan/Archive-Tar/t/02_methods.t Log Message: ----------- XXX skip Archive-Tar because of symlinks Commit: 730b30b12596093dcaff645ab99e447bca2f8634 https://github.com/Perl/perl5/commit/730b30b12596093dcaff645ab99e447bca2f8634 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M t/porting/cmp_version.t Log Message: ----------- XXX skip cmp_version.t because of sym links Commit: f5278eeb7659adf8f40e9bf3005914b394a134e7 https://github.com/Perl/perl5/commit/f5278eeb7659adf8f40e9bf3005914b394a134e7 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M perl.h Log Message: ----------- XXX temp to test broken lconv on non-Windows Commit: 0651608535eb044e409d3b6ad504035ed2909eaa https://github.com/Perl/perl5/commit/0651608535eb044e409d3b6ad504035ed2909eaa Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 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: 6baad763453094933bb5ba02d61dd71c29a98842 https://github.com/Perl/perl5/commit/6baad763453094933bb5ba02d61dd71c29a98842 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M Configure Log Message: ----------- XXX Configure temporary to get no_nl, etc working Commit: 44b06b709d9a2bcaa56e3616e8576bf8fce463ed https://github.com/Perl/perl5/commit/44b06b709d9a2bcaa56e3616e8576bf8fce463ed Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 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: cea6dab399a3d1f3fa9feb6d56be35af4c4220ae https://github.com/Perl/perl5/commit/cea6dab399a3d1f3fa9feb6d56be35af4c4220ae Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 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: 312aa449aae44bc328e1ded487ac357f85ac998f https://github.com/Perl/perl5/commit/312aa449aae44bc328e1ded487ac357f85ac998f Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 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: 673d167b0f441e3c8a1c020db8c381e9d6eb21be https://github.com/Perl/perl5/commit/673d167b0f441e3c8a1c020db8c381e9d6eb21be Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M uconfig.h Log Message: ----------- config Commit: 593d68cd1faeb7e062f719f570b138bdc50ef79e https://github.com/Perl/perl5/commit/593d68cd1faeb7e062f719f570b138bdc50ef79e Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 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: 0f3e3e72f3438860814858b833a6cf163f9b12ac https://github.com/Perl/perl5/commit/0f3e3e72f3438860814858b833a6cf163f9b12ac Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 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: 7756acce8fdd2dc75319d5a5d075b3c5edc2af7c https://github.com/Perl/perl5/commit/7756acce8fdd2dc75319d5a5d075b3c5edc2af7c Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 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: f9e18ba1660e95b5b074bdee038b954d37685b49 https://github.com/Perl/perl5/commit/f9e18ba1660e95b5b074bdee038b954d37685b49 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 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: f86b16f752a8fe1797099752868b629708e210ea https://github.com/Perl/perl5/commit/f86b16f752a8fe1797099752868b629708e210ea Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M perl.h Log Message: ----------- perl.h: Fake up win32 compile a bit Commit: 931026efe93e1d2545fd8716a0a9c2346ea0e06c https://github.com/Perl/perl5/commit/931026efe93e1d2545fd8716a0a9c2346ea0e06c Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M locale.c Log Message: ----------- ruler Commit: f081847bfe0a6602d1fb4a06d2c689a69a11a2ec https://github.com/Perl/perl5/commit/f081847bfe0a6602d1fb4a06d2c689a69a11a2ec Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 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: 7506b9331ef0f3077a87e335762ca7bd71585aee https://github.com/Perl/perl5/commit/7506b9331ef0f3077a87e335762ca7bd71585aee Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 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: e3862c0500b5599245fc36a0574c95f4d5dded35 https://github.com/Perl/perl5/commit/e3862c0500b5599245fc36a0574c95f4d5dded35 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 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: 566dfa6995f39bd6e0187f65183687830161ddc5 https://github.com/Perl/perl5/commit/566dfa6995f39bd6e0187f65183687830161ddc5 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 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: 02230bde80260b3527dc892f84d949fcfd42c7c9 https://github.com/Perl/perl5/commit/02230bde80260b3527dc892f84d949fcfd42c7c9 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 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: e739ec98a39f10a5a8f51a82edb3c56daa1d2d6c https://github.com/Perl/perl5/commit/e739ec98a39f10a5a8f51a82edb3c56daa1d2d6c Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 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: 1071d135418b9f490ea95c75f53ee2d0ff44fb37 https://github.com/Perl/perl5/commit/1071d135418b9f490ea95c75f53ee2d0ff44fb37 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M t/TEST Log Message: ----------- XXX skip cpan testing Commit: b8b2ef369f7eb77ddb6bd39e792b37508d6f3f2f https://github.com/Perl/perl5/commit/b8b2ef369f7eb77ddb6bd39e792b37508d6f3f2f Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M locale.c Log Message: ----------- locale.c: DEBUG_ Commit: ba1a1db97dad7aa968ffee044112d93a342ba417 https://github.com/Perl/perl5/commit/ba1a1db97dad7aa968ffee044112d93a342ba417 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M locale.c Log Message: ----------- locale.c: debug with thread id Commit: 3c04f961526c2056d1346c71a8ac97a766e8166d https://github.com/Perl/perl5/commit/3c04f961526c2056d1346c71a8ac97a766e8166d Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M sv.c Log Message: ----------- XXX sv.c: temp Debug Commit: 286362a4229601236e6a0cdb3e92166775495d51 https://github.com/Perl/perl5/commit/286362a4229601236e6a0cdb3e92166775495d51 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 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: 2d9b53c2fe2a642e9189ea32e9152a59107f8dc5 https://github.com/Perl/perl5/commit/2d9b53c2fe2a642e9189ea32e9152a59107f8dc5 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M vutil.c Log Message: ----------- vutil.c: Debug Commit: 17db7a2e81ce6b632dd38849d55971ddc2c5793f https://github.com/Perl/perl5/commit/17db7a2e81ce6b632dd38849d55971ddc2c5793f Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 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: b7127f7e6a27a574df80dd45c9feaa5e22fb52c5 https://github.com/Perl/perl5/commit/b7127f7e6a27a574df80dd45c9feaa5e22fb52c5 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 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: 2e705cfa2ace3a5479693e70a4dc98f038ceb97e https://github.com/Perl/perl5/commit/2e705cfa2ace3a5479693e70a4dc98f038ceb97e Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 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: c538682f9816758968260b5ba70a7bc7f2f0e585 https://github.com/Perl/perl5/commit/c538682f9816758968260b5ba70a7bc7f2f0e585 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 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: 7e905feee614617de43104b50f7656c14c3b0876 https://github.com/Perl/perl5/commit/7e905feee614617de43104b50f7656c14c3b0876 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 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: b59f72ebc6e9469c4b714fe2a7f3dfddb487066c https://github.com/Perl/perl5/commit/b59f72ebc6e9469c4b714fe2a7f3dfddb487066c Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 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: 5c6a5cad3c79997dc8806ec3e5059d1d08ed05ed https://github.com/Perl/perl5/commit/5c6a5cad3c79997dc8806ec3e5059d1d08ed05ed Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 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: 689d64b599cb1c0add2b4fc46c1c0ead41838e20 https://github.com/Perl/perl5/commit/689d64b599cb1c0add2b4fc46c1c0ead41838e20 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 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: 6bef09c0a727686799163764ee6be5789c91f6e0 https://github.com/Perl/perl5/commit/6bef09c0a727686799163764ee6be5789c91f6e0 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M cpan/Time-Piece/Piece.xs Log Message: ----------- Time-Piece Commit: 79036410b16d51715a21cd51e0a2482766a459b1 https://github.com/Perl/perl5/commit/79036410b16d51715a21cd51e0a2482766a459b1 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M locale.c M perl.h Log Message: ----------- stdized Commit: e9dd4958168f6cfe71e89f61a5a1b231b87f8084 https://github.com/Perl/perl5/commit/e9dd4958168f6cfe71e89f61a5a1b231b87f8084 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M locale.c Log Message: ----------- use mvrtowc lock Commit: 4685d1f96f698a8279113cd7903d17d579d4f8bb https://github.com/Perl/perl5/commit/4685d1f96f698a8279113cd7903d17d579d4f8bb Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M embed.fnc M proto.h M util.c Log Message: ----------- XXX memlog Commit: a464a7717b40f9f14639c287e8ea118bcaeead2a https://github.com/Perl/perl5/commit/a464a7717b40f9f14639c287e8ea118bcaeead2a Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M locale.c Log Message: ----------- XXX win workaround Commit: c30cfa4e8dd652130c243b7cd573df414942a65d https://github.com/Perl/perl5/commit/c30cfa4e8dd652130c243b7cd573df414942a65d Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M locale.c Log Message: ----------- locale.c: Silence compiler warning This as only emitted on Windows VS before 2015. Commit: e277f2e995f24422b0be3bb4778733c5ac767e12 https://github.com/Perl/perl5/commit/e277f2e995f24422b0be3bb4778733c5ac767e12 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M lib/locale_threads.t M t/run/locale.t Log Message: ----------- locale_threads Commit: b55df4b1a0d71b91ebea269fec2057e7634c4c96 https://github.com/Perl/perl5/commit/b55df4b1a0d71b91ebea269fec2057e7634c4c96 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M dist/threads/threads.xs M perl.h Log Message: ----------- XXX threads NON_tTHX leak maybe fix breakage Commit: 208db0f7a16bc9fdc0e490d80cb2c4179fa58f4c https://github.com/Perl/perl5/commit/208db0f7a16bc9fdc0e490d80cb2c4179fa58f4c Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M perl.h Log Message: ----------- perl.h: Debug locking Commit: ee2cece2083d497c51fc5968caf56f5327c5707e https://github.com/Perl/perl5/commit/ee2cece2083d497c51fc5968caf56f5327c5707e Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M locale.c M perl.h Log Message: ----------- debug thread Commit: 2a666a3d6fcc47b8c50b514165a6b40bd9f5616f https://github.com/Perl/perl5/commit/2a666a3d6fcc47b8c50b514165a6b40bd9f5616f Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M locale.c M perl.h Log Message: ----------- Revert "debug thread" This reverts commit Commit: 6523b7e311df22ec5ddf91bcf25d87099467d2c1 https://github.com/Perl/perl5/commit/6523b7e311df22ec5ddf91bcf25d87099467d2c1 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M dist/threads/threads.xs M inline.h Log Message: ----------- threads.xs DEBUG_U Commit: 134ede2f830c10d176347eb06a9ffdf61e85c9d5 https://github.com/Perl/perl5/commit/134ede2f830c10d176347eb06a9ffdf61e85c9d5 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 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: df9dbe7e84b83bf266788ade1c823e6e191a3c57 https://github.com/Perl/perl5/commit/df9dbe7e84b83bf266788ade1c823e6e191a3c57 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M t/loc_tools.pl Log Message: ----------- loc_tools Commit: a65239e295b1e83bb1fee24ab055914507c19bb7 https://github.com/Perl/perl5/commit/a65239e295b1e83bb1fee24ab055914507c19bb7 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M t/loc_tools.pl Log Message: ----------- XXX t/loc_tools.pl: Temp debug Commit: 765add1220eecf82e55559fbb5a66a612f698047 https://github.com/Perl/perl5/commit/765add1220eecf82e55559fbb5a66a612f698047 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M intrpvar.h M locale.c M makedef.pl M perl.h Log Message: ----------- no PL_CUR_LC_ALL Commit: c7a38d4817f280c7e4410d36ceae48bad617c4d4 https://github.com/Perl/perl5/commit/c7a38d4817f280c7e4410d36ceae48bad617c4d4 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 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: 42d3d8dc301b092eb09cea366840888b804c6de5 https://github.com/Perl/perl5/commit/42d3d8dc301b092eb09cea366840888b804c6de5 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 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: eaaaa57e89709583feacd1d26adf0fee9cfa4e04 https://github.com/Perl/perl5/commit/eaaaa57e89709583feacd1d26adf0fee9cfa4e04 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M makedef.pl M perl.h Log Message: ----------- perl.h: Also recognize -DNO_THREAD_SAFE_LOCALE Commit: 3856bc183697e5d33a5929496cfd76f20d17cfb4 https://github.com/Perl/perl5/commit/3856bc183697e5d33a5929496cfd76f20d17cfb4 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M locale.c Log Message: ----------- locale.c: Comments, white Commit: aa231b47fba6f381c38384ea1ab3e687b7cd3b05 https://github.com/Perl/perl5/commit/aa231b47fba6f381c38384ea1ab3e687b7cd3b05 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 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: 6bdd5205d7f51f6bc9d21232db61cd7061bf8641 https://github.com/Perl/perl5/commit/6bdd5205d7f51f6bc9d21232db61cd7061bf8641 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 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: 4dbd110664ff8e9b7a3a9309a8e11c04d2d8523c https://github.com/Perl/perl5/commit/4dbd110664ff8e9b7a3a9309a8e11c04d2d8523c Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 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: cdd9ba9834e043b49f665e61ba8cee295fb0d763 https://github.com/Perl/perl5/commit/cdd9ba9834e043b49f665e61ba8cee295fb0d763 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 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: 77050e86ba65cf40a75003fff873e7ab816146db https://github.com/Perl/perl5/commit/77050e86ba65cf40a75003fff873e7ab816146db Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 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: 9d3345df30b11b6e110c2769373305c206148df6 https://github.com/Perl/perl5/commit/9d3345df30b11b6e110c2769373305c206148df6 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M perl.h Log Message: ----------- perl.h: White space, comments only Commit: 4f74d78b88e18b64dd6923939e168625cd2f2685 https://github.com/Perl/perl5/commit/4f74d78b88e18b64dd6923939e168625cd2f2685 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M locale.c Log Message: ----------- XXX Bram locale.c: Fix comment Commit: d1aec4081777cc98c7af3b075bdbecc2bfd580f7 https://github.com/Perl/perl5/commit/d1aec4081777cc98c7af3b075bdbecc2bfd580f7 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M hints/solaris_2.sh Log Message: ----------- solaris not thread safe Commit: 00bbd3d69151ad2e2d9a2084539acfd3dc964138 https://github.com/Perl/perl5/commit/00bbd3d69151ad2e2d9a2084539acfd3dc964138 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M hints/freebsd.sh Log Message: ----------- XXX check with freebsd: hints/freebsd.sh Commit: 59d044db65cc0fffac904ba2c55f9cc136d7575a https://github.com/Perl/perl5/commit/59d044db65cc0fffac904ba2c55f9cc136d7575a Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M hints/freebsd.sh Log Message: ----------- XXX freebsd: not thread safe Commit: c9e398ee2b5d2adbb0ac5e9aad6229f6ee77e9dc https://github.com/Perl/perl5/commit/c9e398ee2b5d2adbb0ac5e9aad6229f6ee77e9dc Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M hints/darwin.sh Log Message: ----------- no thread-safe locales on Darwin Commit: 1e4f791ef5de01cb32fee459291e46abf2f009a7 https://github.com/Perl/perl5/commit/1e4f791ef5de01cb32fee459291e46abf2f009a7 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 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: 6dc703f2320e19fcea11bfab7fb2c2775bca0765 https://github.com/Perl/perl5/commit/6dc703f2320e19fcea11bfab7fb2c2775bca0765 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 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: 0917efd25c23aa4d4cbfc9f8db4205c89659a6b5 https://github.com/Perl/perl5/commit/0917efd25c23aa4d4cbfc9f8db4205c89659a6b5 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M t/run/locale.t Log Message: ----------- run/locale.t: diag the list of locales Commit: ca0b1d80472e3b870627cba11b02a26d797031c2 https://github.com/Perl/perl5/commit/ca0b1d80472e3b870627cba11b02a26d797031c2 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M t/run/locale.t Log Message: ----------- run/locale.t: more debug Commit: 7ee5ee1b0630361c96fea088194f8d96b8838034 https://github.com/Perl/perl5/commit/7ee5ee1b0630361c96fea088194f8d96b8838034 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M locale.c Log Message: ----------- config error checking Commit: 98b5743986f9232e850ef7fd7257a9dde255f43d https://github.com/Perl/perl5/commit/98b5743986f9232e850ef7fd7257a9dde255f43d Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M locale.c Log Message: ----------- global locale at init Commit: dd72d77b5964a6b34ac9b7f4c12f011744730e13 https://github.com/Perl/perl5/commit/dd72d77b5964a6b34ac9b7f4c12f011744730e13 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 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: 4d25e6ae54318549745a776de32772f9f2640f7a https://github.com/Perl/perl5/commit/4d25e6ae54318549745a776de32772f9f2640f7a Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M perl.h Log Message: ----------- mingw threadsafe detection, broken localeconv Commit: 76a7b96ba64e89d42cc5bd8430205588f98a1c5a https://github.com/Perl/perl5/commit/76a7b96ba64e89d42cc5bd8430205588f98a1c5a Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M locale.c M perl.h Log Message: ----------- start of runtime configthread detection Commit: cccc1e1aa483ef7f264d7542e2a10f97a7f03264 https://github.com/Perl/perl5/commit/cccc1e1aa483ef7f264d7542e2a10f97a7f03264 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-14 (Sat, 14 Jan 2023) Changed paths: M locale.c M perl.h Log Message: ----------- Revert "start of runtime configthread detection" This reverts commit 196d220949d555ece9b18eb478d5f4ef0f5c99c5. Commit: 471a582fa0cc385837cd0d8004cbdb5631ab12c3 https://github.com/Perl/perl5/commit/471a582fa0cc385837cd0d8004cbdb5631ab12c3 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 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: 0e2a93dcaa61d65e012141d3c5ae819105560d4a https://github.com/Perl/perl5/commit/0e2a93dcaa61d65e012141d3c5ae819105560d4a Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M locale.c M perl.h M pp_sys.c Log Message: ----------- notes Commit: a1f97344bbab199356670a7921cd0b305f3cc4c0 https://github.com/Perl/perl5/commit/a1f97344bbab199356670a7921cd0b305f3cc4c0 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M perl.h Log Message: ----------- perl.h change lock debugging text Commit: 2c1bedb57b33bed759116ccad23e785f8bc16369 https://github.com/Perl/perl5/commit/2c1bedb57b33bed759116ccad23e785f8bc16369 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M locale.c Log Message: ----------- debug Commit: 8635b867d56f4f339fc299bc593668ac4ba9cb77 https://github.com/Perl/perl5/commit/8635b867d56f4f339fc299bc593668ac4ba9cb77 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M perl.h Log Message: ----------- perl.h: Mutex destroy EMUL Commit: 443aa7d51fc9dd8edc540e282073d37a6176517e https://github.com/Perl/perl5/commit/443aa7d51fc9dd8edc540e282073d37a6176517e Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M perl.h Log Message: ----------- Fix double free Commit: e3836268b13b7dd4957365560ed5b00400a0331a https://github.com/Perl/perl5/commit/e3836268b13b7dd4957365560ed5b00400a0331a Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M perl.h Log Message: ----------- perl.h Fixup destroy EMUL MUTEX Commit: 795a342a6168b99f37074812f139a4b62ec3ba4e https://github.com/Perl/perl5/commit/795a342a6168b99f37074812f139a4b62ec3ba4e Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 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: abca7b00472580fd17c0461cea47a9d2faf8f80e https://github.com/Perl/perl5/commit/abca7b00472580fd17c0461cea47a9d2faf8f80e Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M locale.c Log Message: ----------- DEBUG_U Commit: 92c35e7a30762bbcd55b9ec86a671f37c8d73276 https://github.com/Perl/perl5/commit/92c35e7a30762bbcd55b9ec86a671f37c8d73276 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M intrpvar.h Log Message: ----------- Add commented out PL_libc_char_fcn_result Commit: 7177d4d977dc3e22bf997287113e592acd1b9a87 https://github.com/Perl/perl5/commit/7177d4d977dc3e22bf997287113e592acd1b9a87 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M embed.fnc M embed.h M locale.c M proto.h Log Message: ----------- XXX querylocale_l Commit: 1754436ddeecc32e1ba3ef21bda53f81d913b9d2 https://github.com/Perl/perl5/commit/1754436ddeecc32e1ba3ef21bda53f81d913b9d2 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M lib/locale.t Log Message: ----------- XXX temp: lib/locale.t: debug Commit: 6de00d3e9761e8e04b22e25a6ef59bea8c981400 https://github.com/Perl/perl5/commit/6de00d3e9761e8e04b22e25a6ef59bea8c981400 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M lib/locale.t Log Message: ----------- lib/locale.t FILE debug Commit: 7a8ca582b276cce8fc89866f967e56a2ac7fb98a https://github.com/Perl/perl5/commit/7a8ca582b276cce8fc89866f967e56a2ac7fb98a Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M lib/locale.t Log Message: ----------- lib/locale.t Commit: 4dd74bb2569997a0e20a956df849fdab35525bcc https://github.com/Perl/perl5/commit/4dd74bb2569997a0e20a956df849fdab35525bcc Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M handy.h Log Message: ----------- XXX cygwin debugging small macro buf Commit: 094901310d1d78e9e1db896192be40a23ecda6a4 https://github.com/Perl/perl5/commit/094901310d1d78e9e1db896192be40a23ecda6a4 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M iperlsys.h Log Message: ----------- iperlsys.h: TODO need to look at adding mutexes Commit: 71688caeb41bc2ea8f0c131c0a29332554e612c5 https://github.com/Perl/perl5/commit/71688caeb41bc2ea8f0c131c0a29332554e612c5 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M regen/reentr.pl Log Message: ----------- reentr.pl: XXX about needing mutex Commit: 8808143e7f57f712f9141035b23a5e87d0f22d57 https://github.com/Perl/perl5/commit/8808143e7f57f712f9141035b23a5e87d0f22d57 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M regexec.c Log Message: ----------- regexec.c: XXX has cast to U8 for some reason Commit: 22f71368e4fcf13e6d4bbf506b7adf2d087dcf2a https://github.com/Perl/perl5/commit/22f71368e4fcf13e6d4bbf506b7adf2d087dcf2a Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M pod/perllocale.pod Log Message: ----------- perlocale Commit: c5c37f56e5280e6785938c50ac4c5f07995fe388 https://github.com/Perl/perl5/commit/c5c37f56e5280e6785938c50ac4c5f07995fe388 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M dist/ExtUtils-ParseXS/lib/perlxs.pod M t/porting/known_pod_issues.dat Log Message: ----------- perlxs Commit: 3b10015066962148c78a55124e02757cec3467dc https://github.com/Perl/perl5/commit/3b10015066962148c78a55124e02757cec3467dc Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 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: e01d3d268eaa75e42714706824a7c33de89a2513 https://github.com/Perl/perl5/commit/e01d3d268eaa75e42714706824a7c33de89a2513 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M pp.c Log Message: ----------- Debug Windows memory usage in pp_study Commit: c81756051d83febedfb4698969a57dfdea093ab8 https://github.com/Perl/perl5/commit/c81756051d83febedfb4698969a57dfdea093ab8 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M pod/perlmod.pod Log Message: ----------- perlmod Commit: e1e738792606aeff9da04e0f7e45b114a086b412 https://github.com/Perl/perl5/commit/e1e738792606aeff9da04e0f7e45b114a086b412 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M perl.h Log Message: ----------- XXX perl.h: Debugging mutex lock' Commit: 8b2c032269a7f0fc4fd5edeac464d8528cd57bd3 https://github.com/Perl/perl5/commit/8b2c032269a7f0fc4fd5edeac464d8528cd57bd3 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M ext/POSIX/lib/POSIX.pod Log Message: ----------- iXXX check for additions: POSIX.pod: Remove obsolete C89 reference Commit: 25c52f516dcee0a912976b1259d8e173c4c16ba2 https://github.com/Perl/perl5/commit/25c52f516dcee0a912976b1259d8e173c4c16ba2 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M locale.c Log Message: ----------- DEBUG_U Commit: 1a1f877a6a94d6a3edc6fc88b0b96c1942edfab7 https://github.com/Perl/perl5/commit/1a1f877a6a94d6a3edc6fc88b0b96c1942edfab7 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M perl.h Log Message: ----------- perl.h: category_eq_ctype Commit: dcdd7d6da23f44ea1197f6a6440ff2f594359911 https://github.com/Perl/perl5/commit/dcdd7d6da23f44ea1197f6a6440ff2f594359911 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M pod/perlhacktips.pod Log Message: ----------- XXX incomplete perlhacktips: Commit: 1cf7fb7999a580ec56d06ab7c43c02f199729cb8 https://github.com/Perl/perl5/commit/1cf7fb7999a580ec56d06ab7c43c02f199729cb8 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 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: ce423c45ba374fe25cb2a5a04cf9fd3e5ae00e55 https://github.com/Perl/perl5/commit/ce423c45ba374fe25cb2a5a04cf9fd3e5ae00e55 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M sv.c Log Message: ----------- perlapi: Combine sv_eq(), sv_eq_flags() entries Commit: a67f5783187c48b9664d94fea20ad930a33181ca https://github.com/Perl/perl5/commit/a67f5783187c48b9664d94fea20ad930a33181ca Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M locale.c M pod/perldelta.pod Log Message: ----------- XXX split, finish pod, tests: LC_NAME, GNU support Commit: f5995146681e2b62bc4dc8ae89159ce5e34b8734 https://github.com/Perl/perl5/commit/f5995146681e2b62bc4dc8ae89159ce5e34b8734 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M locale.c Log Message: ----------- Norwegian futile Commit: 272fd04d2241aa5ac426350ac1bb0243a9a69181 https://github.com/Perl/perl5/commit/272fd04d2241aa5ac426350ac1bb0243a9a69181 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M locale.c Log Message: ----------- Revert "Norwegian futile" This reverts commit 3d86e1d2c8bb596e3d763047cdf56e336ac1b860. Commit: 911eb65266950afd472ebb84f257723648be701a https://github.com/Perl/perl5/commit/911eb65266950afd472ebb84f257723648be701a Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 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: 06799516c9f7e47c95dfe749c45f032e111657f3 https://github.com/Perl/perl5/commit/06799516c9f7e47c95dfe749c45f032e111657f3 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M t/TEST Log Message: ----------- Revert "XXX skip cpan testing" This reverts commit 1ccf009f5771c7d80e9a7a246ce5ef0518b21b22. Commit: d92ed02a7a344a5110b186cfec10aaf54dacea60 https://github.com/Perl/perl5/commit/d92ed02a7a344a5110b186cfec10aaf54dacea60 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M pp_ctl.c Log Message: ----------- pp_ctl.c: Tighten scope of mutex being locked. Commit: f024b9c31331a25559c8d2e2e091906c15d6a622 https://github.com/Perl/perl5/commit/f024b9c31331a25559c8d2e2e091906c15d6a622 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M util.c Log Message: ----------- util.c: White-space only Properly indent some preprocessor directives Commit: 6f55978ab4e4b144fba5e390820af59392a37833 https://github.com/Perl/perl5/commit/6f55978ab4e4b144fba5e390820af59392a37833 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M perl.h M perlio.c M util.c Log Message: ----------- snprintf Commit: fccd6212036bbcc1c772b080c13c0a545d111b25 https://github.com/Perl/perl5/commit/fccd6212036bbcc1c772b080c13c0a545d111b25 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 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: b9ab58292be4a0f3ea6c8d9933a52e33fa0f8476 https://github.com/Perl/perl5/commit/b9ab58292be4a0f3ea6c8d9933a52e33fa0f8476 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 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: 14fc45c862bb64808381774754ef8e9d7e916bb1 https://github.com/Perl/perl5/commit/14fc45c862bb64808381774754ef8e9d7e916bb1 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 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: 177acb9f22b97f225c941fe5dd05b6e492b9bede https://github.com/Perl/perl5/commit/177acb9f22b97f225c941fe5dd05b6e492b9bede Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M cygwin/cygwin.c Log Message: ----------- cygwin.c: Remove memory leaks These mallocs weren't getting freed. Commit: 876abc331b5cbfffb1a74bab3d06fda782089464 https://github.com/Perl/perl5/commit/876abc331b5cbfffb1a74bab3d06fda782089464 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 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: d9e82037635ee43ecbe56353e489fd53a6e6a490 https://github.com/Perl/perl5/commit/d9e82037635ee43ecbe56353e489fd53a6e6a490 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 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: c34d7a0d9730e01ecef096266de582190576b502 https://github.com/Perl/perl5/commit/c34d7a0d9730e01ecef096266de582190576b502 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 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: 779dd1af09adc098111777b6ba7442beebbfcb92 https://github.com/Perl/perl5/commit/779dd1af09adc098111777b6ba7442beebbfcb92 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 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: 06eeea1dfd0e607176aaa859ed4ba4443395502f https://github.com/Perl/perl5/commit/06eeea1dfd0e607176aaa859ed4ba4443395502f Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 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: 97d0d83901fa5647d53afbdef4cbec5c66e62541 https://github.com/Perl/perl5/commit/97d0d83901fa5647d53afbdef4cbec5c66e62541 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 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: 489031080dc751e3c80a0b67a094b5dfc40310e8 https://github.com/Perl/perl5/commit/489031080dc751e3c80a0b67a094b5dfc40310e8 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M pod/perldiag.pod Log Message: ----------- Add cygwin warning to perldiag Commit: cae78afc4c8afc6fe1829fc9703a6de15887f43f https://github.com/Perl/perl5/commit/cae78afc4c8afc6fe1829fc9703a6de15887f43f Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M cygwin/cygwin.c Log Message: ----------- cygwin.c: Change a size_t value from int to STRLEN Commit: 1e3150a4ccf163ae6b54e16a0291b020d0d903b9 https://github.com/Perl/perl5/commit/1e3150a4ccf163ae6b54e16a0291b020d0d903b9 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 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: 1cd898c00017e23fa9c9b2eb311d2cf45b2e6d7e https://github.com/Perl/perl5/commit/1cd898c00017e23fa9c9b2eb311d2cf45b2e6d7e Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 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: 232f420ed93fdbd2540d017856fe846f866f5850 https://github.com/Perl/perl5/commit/232f420ed93fdbd2540d017856fe846f866f5850 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 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: 4e001a28d506dc1491ab5aa7b02541c5993d5d36 https://github.com/Perl/perl5/commit/4e001a28d506dc1491ab5aa7b02541c5993d5d36 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M cygwin/cygwin.c Log Message: ----------- cygwin.c: Add comments, branch prediction Commit: 1035cfb3f2ce0164e285872e871d05de4f2ec375 https://github.com/Perl/perl5/commit/1035cfb3f2ce0164e285872e871d05de4f2ec375 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 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: 8c14159145dc513ee99d6855fae6deb75888f506 https://github.com/Perl/perl5/commit/8c14159145dc513ee99d6855fae6deb75888f506 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M locale.c Log Message: ----------- l Commit: 47f713e7f7df39f0fd4c92d5529a96b67ef534ed https://github.com/Perl/perl5/commit/47f713e7f7df39f0fd4c92d5529a96b67ef534ed Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M locale.c Log Message: ----------- mingw localeconv Commit: 84ec42a98c24928670539894f357590c42d2c44d https://github.com/Perl/perl5/commit/84ec42a98c24928670539894f357590c42d2c44d Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 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: de9e5c6f2d2a20923dc005423c396a2e71a7e18b https://github.com/Perl/perl5/commit/de9e5c6f2d2a20923dc005423c396a2e71a7e18b Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M perl.h Log Message: ----------- Fix PL_CURLOCALES to be only under emulation Commit: 299286cbe86e63faba11092c351ad573d3ce0396 https://github.com/Perl/perl5/commit/299286cbe86e63faba11092c351ad573d3ce0396 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M locale.c Log Message: ----------- locale.c: Add line_t to debugging Commit: 0ad642c55013aa5a61c57eb49f6a25927b312289 https://github.com/Perl/perl5/commit/0ad642c55013aa5a61c57eb49f6a25927b312289 Author: Karl Williamson <k...@cpan.org> Date: 2023-01-15 (Sun, 15 Jan 2023) Changed paths: M embed.fnc M embed.h M locale.c M proto.h Log Message: ----------- XXX temp more line_t Compare: https://github.com/Perl/perl5/compare/1b62225ffe52...0ad642c55013