[Perl/perl5] 643d07: cast some votes
Branch: refs/heads/maint-votes Home: https://github.com/Perl/perl5 Commit: 643d079721fc4932a3e024e825dec9121705e00f https://github.com/Perl/perl5/commit/643d079721fc4932a3e024e825dec9121705e00f Author: Tony Cook Date: 2024-09-23 (Mon, 23 Sep 2024) Changed paths: M votes-5.38.xml M votes-5.40.xml Log Message: --- cast some votes To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 6ebb3d: perldelta for c7e97f62
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 6ebb3d3fcfc3e658f326744c06be117fe178f3cb https://github.com/Perl/perl5/commit/6ebb3d3fcfc3e658f326744c06be117fe178f3cb Author: Tony Cook Date: 2024-09-13 (Fri, 13 Sep 2024) Changed paths: M pod/perldelta.pod Log Message: --- perldelta for c7e97f62 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 9fba1e: perldelta for 39cf04a2, db19dfaa, 8df7878c
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 9fba1eaf24d421b723cab19aed0b50fcf029f073 https://github.com/Perl/perl5/commit/9fba1eaf24d421b723cab19aed0b50fcf029f073 Author: Tony Cook Date: 2024-09-13 (Fri, 13 Sep 2024) Changed paths: M pod/perldelta.pod Log Message: --- perldelta for 39cf04a2, db19dfaa, 8df7878c To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 39cf04: builtin: test the unary functions see if tail call...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 39cf04a2758735e0c0ed9ee89acc5a2b4d52d627 https://github.com/Perl/perl5/commit/39cf04a2758735e0c0ed9ee89acc5a2b4d52d627 Author: Tony Cook Date: 2024-09-13 (Fri, 13 Sep 2024) Changed paths: M lib/builtin.t Log Message: --- builtin: test the unary functions see if tail call crashes them Commit: db19dfaafcb8344ef45012ae7f90fad964857888 https://github.com/Perl/perl5/commit/db19dfaafcb8344ef45012ae7f90fad964857888 Author: Tony Cook Date: 2024-09-13 (Fri, 13 Sep 2024) Changed paths: M builtin.c M lib/B/Op_private.pm M opcode.h M pp.c M regen/op_private Log Message: --- builtin: fix TARG handling for refaddr, reftype, ceil, floor, trim pp_stringify is a little special in that it is "hot" so I don't fix it here. Commit: 8df7878c8a51a3781b8f8106e4d2d5d419c2d1a1 https://github.com/Perl/perl5/commit/8df7878c8a51a3781b8f8106e4d2d5d419c2d1a1 Author: Tony Cook Date: 2024-09-13 (Fri, 13 Sep 2024) Changed paths: M builtin.c Log Message: --- builtin::stringify: duplicate the implementation for XS I'm not entirely happy with this, but pp_stringify is in pp_hot.c for a reason, so: a) I don't want to move it b) I don't want to complicate it so just duplicate the trivial implementation. Fixes #22542 Compare: https://github.com/Perl/perl5/compare/bd12780ddd3d...8df7878c8a51 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 2a5978: Devel::Peek: fix build warning
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 2a597825b9de5fdcff07575c8b75285b348bb2c7 https://github.com/Perl/perl5/commit/2a597825b9de5fdcff07575c8b75285b348bb2c7 Author: Tony Cook Date: 2024-09-11 (Wed, 11 Sep 2024) Changed paths: M ext/Devel-Peek/Peek.pm M ext/Devel-Peek/Peek.xs Log Message: --- Devel::Peek: fix build warning This was: Peek.xs:415:1: warning: missing initializer for field ‘xop_dump’ of ‘XOP’ {aka ‘const struct custom_op’} [-Wmissing-field-initializers] 415 | }; | ^ In file included from ../../perl.h:4542, from Peek.xs:3: ../../op.h:926:21: note: ‘xop_dump’ declared here 926 | void (*xop_dump)(pTHX_ const OP *o, struct Perl_OpDumpContext *ctx); | ^~~~ To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 67e852: perldelta for 2fe89a7e263f
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 67e852168ec3177f4cc76c2ad00a677ce7479667 https://github.com/Perl/perl5/commit/67e852168ec3177f4cc76c2ad00a677ce7479667 Author: Tony Cook Date: 2024-09-04 (Wed, 04 Sep 2024) Changed paths: M pod/perldelta.pod Log Message: --- perldelta for 2fe89a7e263f To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 2fe89a: ck_open: report bareword dup handles under no feat...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 2fe89a7e263fb1d8a7cb283a4021ded0b35b528f https://github.com/Perl/perl5/commit/2fe89a7e263fb1d8a7cb283a4021ded0b35b528f Author: Tony Cook Date: 2024-09-04 (Wed, 04 Sep 2024) Changed paths: M op.c M t/lib/feature/bareword_filehandles Log Message: --- ck_open: report bareword dup handles under no feature bareword_filehandles To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 273190: bump $XS::APItest::VERSION
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 2731908bfa642997355ee2517f69c2c39e661b11 https://github.com/Perl/perl5/commit/2731908bfa642997355ee2517f69c2c39e661b11 Author: Tony Cook Date: 2024-09-02 (Mon, 02 Sep 2024) Changed paths: M ext/XS-APItest/APItest.pm Log Message: --- bump $XS::APItest::VERSION Commit: 8507f177f68ce0a8a7ae535febb77264d8e4a548 https://github.com/Perl/perl5/commit/8507f177f68ce0a8a7ae535febb77264d8e4a548 Author: Tony Cook Date: 2024-09-02 (Mon, 02 Sep 2024) Changed paths: M pod/perldelta.pod Log Message: --- perldelta for 3d831e8998d Compare: https://github.com/Perl/perl5/compare/3d831e8998da...8507f177f68c To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 3d831e: pp_pack: SvPV_force() pack(p/P, ...) arguments whe...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 3d831e8998dab40881aa457d1027c4f0fe1ef3d2 https://github.com/Perl/perl5/commit/3d831e8998dab40881aa457d1027c4f0fe1ef3d2 Author: Tony Cook Date: 2024-09-02 (Mon, 02 Sep 2024) Changed paths: M ext/XS-APItest/APItest.xs M pp_pack.c M t/op/pack.t Log Message: --- pp_pack: SvPV_force() pack(p/P, ...) arguments when writable pack("p"/"P") is generally pretty awful, but we document that you can pack("P") and then write to the pointer supplied, so make that safer by ensuring the PV isn't shared with other SVs. Since _force() throws on a READONLY SV, and you shouldn't be writing to one, only _force() for a writable SV. This is still broken when magic is involved, but we did document it as usable. Fixes the UUID::FFI part of #22380 Some other modules (and UUID::FFI itself, really) will need XS fixes. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 6c2bf3: perldelta for 30b2d1faae04
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 6c2bf33dc96a631e0d86e584bcce24f001e8a215 https://github.com/Perl/perl5/commit/6c2bf33dc96a631e0d86e584bcce24f001e8a215 Author: Tony Cook Date: 2024-08-29 (Thu, 29 Aug 2024) Changed paths: M pod/perldelta.pod Log Message: --- perldelta for 30b2d1faae04 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 30b2d1: perl5db: distinguish an empty list or undef for w ...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 30b2d1faae0470c5e9330e0fa38b39d90c7f1cb6 https://github.com/Perl/perl5/commit/30b2d1faae0470c5e9330e0fa38b39d90c7f1cb6 Author: Tony Cook Date: 2024-08-29 (Thu, 29 Aug 2024) Changed paths: M lib/perl5db.pl M lib/perl5db.t Log Message: --- perl5db: distinguish an empty list or undef for w expressions The debugger before the re-work around ~2012 discarded any list value returned by the expression beyond the first element, but it did distinguish an empty string from undef for that single value. The re-work attempted to fix that by join()ing the elements returned but this join was done before the filtering to distinguish undef from an empty string, which resulted in watch expressions not stopping on a change from undef to an empty string (or back). So instead, filter each element returned by the watch expression for undef before doing the join. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 1f0630: perldelta for ae78ae4a0f2, smart match removal
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 1f0630cf989a3555b3d5557669e9c838f5ce1993 https://github.com/Perl/perl5/commit/1f0630cf989a3555b3d5557669e9c838f5ce1993 Author: Tony Cook Date: 2024-08-19 (Mon, 19 Aug 2024) Changed paths: M pod/perldelta.pod Log Message: --- perldelta for ae78ae4a0f2, smart match removal Commit: c6e3989aeda92075724e68fa3afaa9e2b64bd1e7 https://github.com/Perl/perl5/commit/c6e3989aeda92075724e68fa3afaa9e2b64bd1e7 Author: Tony Cook Date: 2024-08-19 (Mon, 19 Aug 2024) Changed paths: M pod/perldelta.pod Log Message: --- perldelta: list some switch/smart match modules Compare: https://github.com/Perl/perl5/compare/fd1cda78d9de...c6e3989aeda9 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 857894: B::Deparse::code_list: initialise $re to avoid pro...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 857894b2f4f0cc205da78c67966a4e2a30f5e0f8 https://github.com/Perl/perl5/commit/857894b2f4f0cc205da78c67966a4e2a30f5e0f8 Author: Tony Cook Date: 2024-08-19 (Mon, 19 Aug 2024) Changed paths: M lib/B/Deparse.pm Log Message: --- B::Deparse::code_list: initialise $re to avoid propagating undef Commit: fd1cda78d9debd7755f73d0a03fed61a028d7fe1 https://github.com/Perl/perl5/commit/fd1cda78d9debd7755f73d0a03fed61a028d7fe1 Author: Tony Cook Date: 2024-08-19 (Mon, 19 Aug 2024) Changed paths: M lib/B/Deparse.pm Log Message: --- B::Deparse::builtin1: provide a valid precedence to deparse() Compare: https://github.com/Perl/perl5/compare/10cb2c972eac...fd1cda78d9de To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 10cb2c: perldelta for 0c81a5c9ca0, removal of ' as a name ...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 10cb2c972eac1372466fd93417030f8c4b7cf86f https://github.com/Perl/perl5/commit/10cb2c972eac1372466fd93417030f8c4b7cf86f Author: Tony Cook Date: 2024-08-19 (Mon, 19 Aug 2024) Changed paths: M pod/perldelta.pod Log Message: --- perldelta for 0c81a5c9ca0, removal of ' as a name separator To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] dff518: switch removal: remove given/when/break/continue
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: dff5181acc0f5386556522c0ae4e59f672162f6e https://github.com/Perl/perl5/commit/dff5181acc0f5386556522c0ae4e59f672162f6e Author: Tony Cook Date: 2024-08-15 (Thu, 15 Aug 2024) Changed paths: M MANIFEST M cop.h M dump.c M embed.fnc M embed.h M ext/Opcode/Opcode.pm M gv.c M inline.h M keywords.c M keywords.h M lib/B/Deparse-core.t M lib/B/Deparse.pm M lib/B/Deparse.t M lib/B/Op_private.pm M op.c M opcode.h M opnames.h M perl.h M perly.act M perly.h M perly.tab M perly.y M pod/perldiag.pod M pod/perlguts.pod M pod/perlsyn.pod M pp_ctl.c M pp_proto.h M proto.h M regen/keywords.pl M regen/opcodes M sv.c M t/lib/croak/pp_ctl R t/lib/feature/switch M t/op/coreamp.t M t/op/coresubs.t M t/op/cproto.t M t/op/state.t R t/op/switch.t M t/op/taint.t M toke.c Log Message: --- switch removal: remove given/when/break/continue continue blocks are not removed Commit: cb2167d3785e61e23819ca2c58ac1e89d5e4bf3b https://github.com/Perl/perl5/commit/cb2167d3785e61e23819ca2c58ac1e89d5e4bf3b Author: Tony Cook Date: 2024-08-15 (Thu, 15 Aug 2024) Changed paths: M MANIFEST M embed.fnc M embed.h M ext/Opcode/Opcode.pm M lib/B/Deparse.pm M lib/B/Op_private.pm M lib/overload.pm M lib/overload.t M lib/overload/numbers.pm M op.c M opcode.h M opnames.h M overload.h M overload.inc M pod/perlcheat.pod M pod/perldiag.pod M pod/perlop.pod M pp_ctl.c M pp_proto.h M proto.h M regen/opcodes M regen/overload.pl M sv.c M t/comp/parser.t M t/lib/warnings/9uninit M t/lib/warnings/op M t/lib/warnings/utf8 R t/op/smartmatch.t M t/op/svleak.t M t/op/taint.t M t/op/tie_fetch_count.t M toke.c Log Message: --- switch removal: remove smartmatch Commit: 149bea6edf8c49a1faf4fac124567101172d96bd https://github.com/Perl/perl5/commit/149bea6edf8c49a1faf4fac124567101172d96bd Author: Tony Cook Date: 2024-08-15 (Thu, 15 Aug 2024) Changed paths: M feature.h M lib/B/Deparse.t M lib/feature.pm M regen/feature.pl M t/lib/feature/api M t/lib/feature/removed Log Message: --- switch removal: remove the feature from feature.pm Commit: ffb20d96685800c313481edc0b8823a934ee010f https://github.com/Perl/perl5/commit/ffb20d96685800c313481edc0b8823a934ee010f Author: Tony Cook Date: 2024-08-15 (Thu, 15 Aug 2024) Changed paths: M pod/perldeprecation.pod Log Message: --- switch removal: no longer deprecated, but removed Commit: 901bf8b75b37e48ff4ef383ec7fa55fe3bd42242 https://github.com/Perl/perl5/commit/901bf8b75b37e48ff4ef383ec7fa55fe3bd42242 Author: Tony Cook Date: 2024-08-15 (Thu, 15 Aug 2024) Changed paths: M pod/perlexperiment.pod Log Message: --- switch removal: a completed experiment Fixes #13173 Commit: 18b5dc4c09792eca002cbf4567e66c621c33f214 https://github.com/Perl/perl5/commit/18b5dc4c09792eca002cbf4567e66c621c33f214 Author: Tony Cook Date: 2024-08-15 (Thu, 15 Aug 2024) Changed paths: M perl.c M perl.h M pod/perlrun.pod Log Message: --- switch removal: no need for -DM anymore Commit: 51238ec1e6c1aa1f9aeba63bc4883f5c992963a7 https://github.com/Perl/perl5/commit/51238ec1e6c1aa1f9aeba63bc4883f5c992963a7 Author: Tony Cook Date: 2024-08-15 (Thu, 15 Aug 2024) Changed paths: M t/op/cmpchain.t Log Message: --- switch removal: ~~ no longer an op, so it still cannot chain The test here does a simple eval EXPR to test whether $a op $b op $c errors when trying to chain, and since ~~ is no longer an op, of course the eval errors. Unfortunately both failing to chain and the no longer valid op produce the same error, so we can't easily make the test more robust by validating the error message. Commit: 23f3171141d7fdb4b1fc8639eeabd2770eb82f5c https://github.com/Perl/perl5/commit/23f3171141d7fdb4b1fc8639eeabd2770eb82f5c Author: Tony Cook Date: 2024-08-15 (Thu, 15 Aug 2024) Changed paths: M dist/Safe/Safe.pm M dist/Safe/t/safeops.t Log Message: --- switch removal: Safe t/safeops.t This test only runs in core, so removing smartmatch can match core. Commit: ae78ae4a0f218e6b49c8bff7641686735fa5c685 https://github.com/Perl/perl5/commit/ae78ae4a0f218e6b49c8bff7641686735fa5c685 Author: Tony Cook Date: 2024-08-15 (Thu, 15 Aug 2024) Changed paths: M MANIFEST M cop.h M dist/Safe/Safe.pm M dist/Safe/t/safeops.t M dump.c M embed.fnc M embed.h M ext/Opcode/Opcode.pm M feature.h M gv.c M inline.h M keywords.c M keywords.h M lib/B/Dep
[Perl/perl5] ce1383: remove use of ' as a package separator
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: ce1383eae4cd16b18ff9df6cecb54582e0c689ab https://github.com/Perl/perl5/commit/ce1383eae4cd16b18ff9df6cecb54582e0c689ab Author: Tony Cook Date: 2024-08-12 (Mon, 12 Aug 2024) Changed paths: M embed.fnc M embed.h M gv.c M lib/overload.t M mg.c M op.c M pod/perldata.pod M pod/perldiag.pod M pod/perlmod.pod M proto.h M t/comp/package.t M t/comp/parser.t M t/lib/croak/toke M t/lib/warnings/toke M t/op/magic.t M t/op/method.t M t/op/ref.t M t/op/sort.t M t/op/stash.t M t/op/stash_parse_gv.t M t/uni/package.t M t/uni/parser.t M t/uni/stash.t M t/uni/variables.t M toke.c Log Message: --- remove use of ' as a package separator In general for tests I translate them to using :: if the test wasn't specifically for ', and the test didn't duplicate a similar test that did test ::. This doesn't just change the parsing stage from accepting ' instead of :: in names, but also removes the translation from ' to :: done in several places, but that's really there to support the syntax. Commit: 87e1ec10b4ba12f40e63b7c3cc3389d40781 https://github.com/Perl/perl5/commit/87e1ec10b4ba12f40e63b7c3cc3389d40781 Author: Tony Cook Date: 2024-08-12 (Mon, 12 Aug 2024) Changed paths: M cpan/Scalar-List-Utils/ListUtil.xs M cpan/Scalar-List-Utils/lib/List/Util.pm M cpan/Scalar-List-Utils/lib/List/Util/XS.pm M cpan/Scalar-List-Utils/lib/Scalar/Util.pm M cpan/Scalar-List-Utils/lib/Sub/Util.pm M cpan/Scalar-List-Utils/t/exotic_names.t Log Message: --- Scalar::List::Utils: ' not special in names from v5.41 Commit: 83d4e742eb83e1e6c50fb82e3c7ac1a366337909 https://github.com/Perl/perl5/commit/83d4e742eb83e1e6c50fb82e3c7ac1a366337909 Author: Tony Cook Date: 2024-08-12 (Mon, 12 Aug 2024) Changed paths: M cpan/parent/lib/parent.pm M cpan/parent/t/compile-time-file.t Log Message: --- parent: don't test ' in names from 5.41. Commit: 0c81a5c9ca0287c0ee954a71b1bffdeb2cb3e9c8 https://github.com/Perl/perl5/commit/0c81a5c9ca0287c0ee954a71b1bffdeb2cb3e9c8 Author: Tony Cook Date: 2024-08-12 (Mon, 12 Aug 2024) Changed paths: M cpan/Scalar-List-Utils/ListUtil.xs M cpan/Scalar-List-Utils/lib/List/Util.pm M cpan/Scalar-List-Utils/lib/List/Util/XS.pm M cpan/Scalar-List-Utils/lib/Scalar/Util.pm M cpan/Scalar-List-Utils/lib/Sub/Util.pm M cpan/Scalar-List-Utils/t/exotic_names.t M cpan/parent/lib/parent.pm M cpan/parent/t/compile-time-file.t M embed.fnc M embed.h M gv.c M lib/overload.t M mg.c M op.c M pod/perldata.pod M pod/perldiag.pod M pod/perlmod.pod M proto.h M t/comp/package.t M t/comp/parser.t M t/lib/croak/toke M t/lib/warnings/toke M t/op/magic.t M t/op/method.t M t/op/ref.t M t/op/sort.t M t/op/stash.t M t/op/stash_parse_gv.t M t/uni/package.t M t/uni/parser.t M t/uni/stash.t M t/uni/variables.t M toke.c Log Message: --- remove use of ' as a package separator Compare: https://github.com/Perl/perl5/compare/3e14b2fcf59b...0c81a5c9ca02 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 75eec1: threads.xs: only access the pool values when we ho...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 75eec19ee8e3a316a6747b988eadebdeed9c035a https://github.com/Perl/perl5/commit/75eec19ee8e3a316a6747b988eadebdeed9c035a Author: Tony Cook Date: 2024-08-07 (Wed, 07 Aug 2024) Changed paths: M dist/threads/lib/threads.pm M dist/threads/threads.xs Log Message: --- threads.xs: only access the pool values when we hold the mutex Coverity complained specifically about accessing detached_threads and joinable_threads since we consistently otherwise hold the mutex when accessing them, but this code accesses those values for the warning without the mutex held. running_threads has a similar issue. fixes cid 498878, cid 498883 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 4ad6ec: op.c: prevent -Wconversion warnings from the opsla...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 4ad6ec8d50fcb500c581366cd3ca61454b798c2a https://github.com/Perl/perl5/commit/4ad6ec8d50fcb500c581366cd3ca61454b798c2a Author: Tony Cook Date: 2024-08-07 (Wed, 07 Aug 2024) Changed paths: M embed.fnc M embed.h M op.c M proto.h Log Message: --- op.c: prevent -Wconversion warnings from the opslab code To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] c9e569: add tests for #21661
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: c9e5693c3bd5a506e29ece21256a1c07a6668a8e https://github.com/Perl/perl5/commit/c9e5693c3bd5a506e29ece21256a1c07a6668a8e Author: Tony Cook Date: 2024-08-04 (Sun, 04 Aug 2024) Changed paths: M t/re/pat.t Log Message: --- add tests for #21661 Commit: 388bf71121e682302397a8b7d9f56fef5ba2559e https://github.com/Perl/perl5/commit/388bf71121e682302397a8b7d9f56fef5ba2559e Author: Tony Cook Date: 2024-08-04 (Sun, 04 Aug 2024) Changed paths: M regcomp.c M regcomp_internal.h Log Message: --- safer cleanup when failing to compile regexps Prior to this commit when producing a warning the regexp compiler would check if the warning category was marked as FATAL, and if it was it would add clean up to the save stack to release buffers used during compilation and to release the working REGEXP SV. This causes two type of problems: - if an error was already queued, Perl_ck_warner() returns even if the warning is fatal, this meant that the normal clean up code Perl_re_op_compile() would also run, resulting in a double free of the buffers. - without fatal warnings, if a $SIG{__WARN__} handler died, the buffers and the working REGEXP SV would leak. Avoid this by using SAVEDESTRUCTOR_X() to release the memory and optionally the SV at the end of scope. Fixes #21661 Commit: e05687f9599be2a5ba8f9ab06ad078cc8fe33d7e https://github.com/Perl/perl5/commit/e05687f9599be2a5ba8f9ab06ad078cc8fe33d7e Author: Tony Cook Date: 2024-08-04 (Sun, 04 Aug 2024) Changed paths: M regcomp_internal.h Log Message: --- regcomp_internal.h: simplify vFAIL*() macros These can be simpler, and since we allow use of __VA_ARGS__ we can consolidate Simple_vFAIL[1-4]() into Simple_vFAILn() Commit: eb62f8dc576210ca9a302f9fa6072e444077bd3d https://github.com/Perl/perl5/commit/eb62f8dc576210ca9a302f9fa6072e444077bd3d Author: Tony Cook Date: 2024-08-04 (Sun, 04 Aug 2024) Changed paths: M regcomp_internal.h Log Message: --- regcomp_internal.h: removed unused PREPARE_TO_DIE We are now always prepared for death. Compare: https://github.com/Perl/perl5/compare/b1632160a5ae...eb62f8dc5762 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 8a9d53: add tests for #21661
Branch: refs/heads/smoke-me/tonyc/21661-no-warn-ck Home: https://github.com/Perl/perl5 Commit: 8a9d5369db8e9f9849f3e1d20205e8a630ae106b https://github.com/Perl/perl5/commit/8a9d5369db8e9f9849f3e1d20205e8a630ae106b Author: Tony Cook Date: 2024-08-03 (Sat, 03 Aug 2024) Changed paths: M t/re/pat.t Log Message: --- add tests for #21661 Commit: 4455107d0252d863b9b4dc267af94ce412eadf42 https://github.com/Perl/perl5/commit/4455107d0252d863b9b4dc267af94ce412eadf42 Author: Tony Cook Date: 2024-08-03 (Sat, 03 Aug 2024) Changed paths: M regcomp.c M regcomp_internal.h Log Message: --- safer cleanup when failing to compile regexps Prior to this commit when producing a warning the regexp compiler would check if the warning category was marked as FATAL, and if it was it would add clean up to the save stack to release buffers used during compilation and to release the working REGEXP SV. This causes two type of problems: - if an error was already queued, Perl_ck_warner() returns even if the warning is fatal, this meant that the normal clean up code Perl_re_op_compile() would also run, resulting in a double free of the buffers. - without fatal warnings, if a $SIG{__WARN__} handler died, the buffers and the working REGEXP SV would leak. Avoid this by using SAVEDESTRUCTOR_X() to release the memory and optionally the SV at the end of scope. Fixes #21661 Commit: a77c059910062e1fcb84ab33a185e5de09b77b3d https://github.com/Perl/perl5/commit/a77c059910062e1fcb84ab33a185e5de09b77b3d Author: Tony Cook Date: 2024-08-03 (Sat, 03 Aug 2024) Changed paths: M regcomp_internal.h Log Message: --- regcomp_internal.h: simplify vFAIL*() macros These can be simpler, and since we allow use of __VA_ARGS__ we can consolidate Simple_vFAIL[1-4]() into Simple_vFAILn() Commit: ce34730d09ad8e6e38363d378e576205c5ed7f84 https://github.com/Perl/perl5/commit/ce34730d09ad8e6e38363d378e576205c5ed7f84 Author: Tony Cook Date: 2024-08-03 (Sat, 03 Aug 2024) Changed paths: M regcomp_internal.h Log Message: --- regcomp_internal.h: removed unused PREPARE_TO_DIE We are now always prepared for death. Compare: https://github.com/Perl/perl5/compare/2016cd189774...ce34730d09ad To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] ba648d: perldelta for 300daee11
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: ba648dfb0f2ec6aec5ada06872a0d4459d462613 https://github.com/Perl/perl5/commit/ba648dfb0f2ec6aec5ada06872a0d4459d462613 Author: Tony Cook Date: 2024-07-29 (Mon, 29 Jul 2024) Changed paths: M pod/perldelta.pod Log Message: --- perldelta for 300daee11 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 300dae: readdir() etc: better warning if called on handle ...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 300daee115d7db34046e449a893aafc0e34b368c https://github.com/Perl/perl5/commit/300daee115d7db34046e449a893aafc0e34b368c Author: Tony Cook Date: 2024-07-29 (Mon, 29 Jul 2024) Changed paths: M embed.fnc M embed.h M pod/perldiag.pod M pp_sys.c M proto.h M t/op/readdir.t Log Message: --- readdir() etc: better warning if called on handle open()ed as file Fixes #22394 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] cdc26f: perldelta for de5c773a8f0b
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: cdc26f786ed336e8d9234b8b03ea02061aea71ce https://github.com/Perl/perl5/commit/cdc26f786ed336e8d9234b8b03ea02061aea71ce Author: Tony Cook Date: 2024-07-23 (Tue, 23 Jul 2024) Changed paths: M pod/perldelta.pod Log Message: --- perldelta for de5c773a8f0b To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 0fbaa6: hints/cygwin.sh: don't touch system symbol __STRIC...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 0fbaa61cadd4107aa1e9737266b985742949004c https://github.com/Perl/perl5/commit/0fbaa61cadd4107aa1e9737266b985742949004c Author: Tony Cook Date: 2024-07-23 (Tue, 23 Jul 2024) Changed paths: M hints/cygwin.sh Log Message: --- hints/cygwin.sh: don't touch system symbol __STRICT_ANSI__ Adding _GNU_SOURCE, which was done much later, should give us the GNU-ish symbols (though POSIX_C_SOURCE would be more general.) I couldn't find the reason for this being added, but the C++ headers react badly to it: In file included from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/iostream:38, from source.cpp:1: /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/x86_64-pc-cygwin/bits/c++config.h:573:2: warning: #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" [-Wcpp] 573 | #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" | ^~~ In file included from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/bits/max_size_type.h:37, from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/bits/ranges_base.h:38, from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/string_view:48, from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/bits/basic_string.h:48, from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/string:55, from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/bits/locale_classes.h:40, from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/bits/ios_base.h:41, from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/ios:42, from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/ostream:38, from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/iostream:39, from source.cpp:1: /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/numbers:139:9: error: unable to find numeric literal operator 'operator""Q' 139 | = 2.718281828459045235360287471352662498Q; | ^~~ ... Commit: de5c773a8f0b6ad68db300ffd18117f078bbdb5a https://github.com/Perl/perl5/commit/de5c773a8f0b6ad68db300ffd18117f078bbdb5a Author: Tony Cook Date: 2024-07-23 (Tue, 23 Jul 2024) Changed paths: M MANIFEST A t/porting/cpphdrcheck.t Log Message: --- porting/cpphdrcheck.t: test perl's headers with C++ compilers This searches for a C++ compiler based on the supplied C compiler, and checks that compiler for any options controlling the C++ standard requested, including simple checks that the compiler supports that standard. If a C++ compiler is found, test compilation of the same simple code as above but with the perl headers included after any C++ headers. Ideally we'd also test runtime, but would require more complex test code, which I leave to later contributors (which may still be me). Tested at various times with: - MSVC - gcc - clang - Oracle/Sun Development Workshop cc (CC is the C++ compiler), on Oracle Linux - Intel oneAPI compiler (llvm based apparently, and now free to use) - Intel classic compiler (discontinued) Currently this probes the compiler for C++ sanity with the perl ccflags, since icc (Intel classic) would successfully build the sample without perl's ccflags, but then fail with both the headers and perl's ccflags. It turned out to fail with just the ccflags, and since the primary intent is to test the headers, I probe *with* ccflags. The Sun Workshop compiler failed to build the C++11 or 14 sample at all in my testing, which may have been due to an installation problem. Compare: https://github.com/Perl/perl5/compare/27fb3da4282f...de5c773a8f0b To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 27fb3d: perldelta for 6507a1d24b, 0b035daf24666
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 27fb3da4282fb1e71f7b7cd08eb5687db6a714ef https://github.com/Perl/perl5/commit/27fb3da4282fb1e71f7b7cd08eb5687db6a714ef Author: Tony Cook Date: 2024-07-23 (Tue, 23 Jul 2024) Changed paths: M pod/perldelta.pod Log Message: --- perldelta for 6507a1d24b, 0b035daf24666 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 27974f: perl5db.pl: it fiddles with %sub, not @sub
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 27974fe813200d3d61d223418d942f70ba772563 https://github.com/Perl/perl5/commit/27974fe813200d3d61d223418d942f70ba772563 Author: Tony Cook Date: 2024-07-23 (Tue, 23 Jul 2024) Changed paths: M lib/perl5db.pl Log Message: --- perl5db.pl: it fiddles with %sub, not @sub Commit: 6507a1d24b17b1807ae1bb8ddec26f7ee2778a48 https://github.com/Perl/perl5/commit/6507a1d24b17b1807ae1bb8ddec26f7ee2778a48 Author: Tony Cook Date: 2024-07-23 (Tue, 23 Jul 2024) Changed paths: M lib/perl5db.pl M lib/perl5db.t Log Message: --- perl5db.pl: b subname and c subname break on first executable line This currently doesn't try to handle "b postpone subname" since that internally has an offset function that doesn't really work with this implementation. This is a partial fix for #799 Commit: 0b035daf2466608dcac4f5051711e1708d9e5db4 https://github.com/Perl/perl5/commit/0b035daf2466608dcac4f5051711e1708d9e5db4 Author: Tony Cook Date: 2024-07-23 (Tue, 23 Jul 2024) Changed paths: M lib/perl5db.pl M lib/perl5db.t Log Message: --- perl5db.pl: apply the "break on first line" fix to b postpone subname and just plain fix "b postpone subname", which didn't stop at all on my postponed sub test code at all as far back at 5.10. Fixes #799 Commit: fd9c3b24b97c29cdc2ebbc5d7467a61a7b8c6b25 https://github.com/Perl/perl5/commit/fd9c3b24b97c29cdc2ebbc5d7467a61a7b8c6b25 Author: Tony Cook Date: 2024-07-23 (Tue, 23 Jul 2024) Changed paths: M lib/perl5db.t Log Message: --- perl5db.t: add a test for "b compile subname" I've just been looking at the implementation, and there's no test, so add one. Compare: https://github.com/Perl/perl5/compare/352ca4bc58b6...fd9c3b24b97c To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5]
Branch: refs/heads/smartmatch-removal Home: https://github.com/Perl/perl5 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 995f06: switch removal: remove given/when/break/continue
Branch: refs/heads/smartmatch-removal Home: https://github.com/Perl/perl5 Commit: 995f0662f4f3f5e0ba82ccba6a9c8948c01d4b6c https://github.com/Perl/perl5/commit/995f0662f4f3f5e0ba82ccba6a9c8948c01d4b6c Author: Tony Cook Date: 2024-07-18 (Thu, 18 Jul 2024) Changed paths: M MANIFEST M cop.h M dump.c M embed.fnc M embed.h M ext/Opcode/Opcode.pm M gv.c M inline.h M keywords.c M keywords.h M lib/B/Deparse-core.t M lib/B/Deparse.pm M lib/B/Deparse.t M lib/B/Op_private.pm M op.c M opcode.h M opnames.h M perl.h M perly.act M perly.h M perly.tab M perly.y M pod/perldiag.pod M pod/perlguts.pod M pod/perlsyn.pod M pp_ctl.c M pp_proto.h M proto.h M regen/keywords.pl M regen/opcodes M sv.c M t/lib/croak/pp_ctl R t/lib/feature/switch M t/op/coreamp.t M t/op/coresubs.t M t/op/cproto.t M t/op/state.t R t/op/switch.t M t/op/taint.t M toke.c Log Message: --- switch removal: remove given/when/break/continue continue blocks are not removed Commit: fb7c6d762195075209f099bcef6261b2ab6ffd67 https://github.com/Perl/perl5/commit/fb7c6d762195075209f099bcef6261b2ab6ffd67 Author: Tony Cook Date: 2024-07-18 (Thu, 18 Jul 2024) Changed paths: M MANIFEST M embed.fnc M embed.h M ext/Opcode/Opcode.pm M lib/B/Deparse.pm M lib/B/Op_private.pm M lib/overload.pm M lib/overload.t M lib/overload/numbers.pm M op.c M opcode.h M opnames.h M overload.h M overload.inc M pod/perlcheat.pod M pod/perldiag.pod M pod/perlop.pod M pp_ctl.c M pp_proto.h M proto.h M regen/opcodes M regen/overload.pl M sv.c M t/lib/warnings/9uninit M t/lib/warnings/op M t/lib/warnings/utf8 R t/op/smartmatch.t M t/op/svleak.t M t/op/taint.t M t/op/tie_fetch_count.t M toke.c Log Message: --- switch removal: remove smartmatch Commit: c88bef28cad881fb3b6b2dea0e84a53326158979 https://github.com/Perl/perl5/commit/c88bef28cad881fb3b6b2dea0e84a53326158979 Author: Tony Cook Date: 2024-07-18 (Thu, 18 Jul 2024) Changed paths: M feature.h M lib/B/Deparse.t M lib/feature.pm M regen/feature.pl M t/lib/feature/api M t/lib/feature/removed Log Message: --- smartmatch removal: remove the feature from feature.pm Compare: https://github.com/Perl/perl5/compare/995f0662f4f3%5E...c88bef28cad8 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 411ade: perldelta for 08962c5467e2a7e
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 411ade5162317467d6c4142737a77f65b68620e8 https://github.com/Perl/perl5/commit/411ade5162317467d6c4142737a77f65b68620e8 Author: Tony Cook Date: 2024-07-17 (Wed, 17 Jul 2024) Changed paths: M pod/perldelta.pod Log Message: --- perldelta for 08962c5467e2a7e To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 08962c: cpan/Win32: import PR 39
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 08962c5467e2a7e68626052bc8d9c66670992f9a https://github.com/Perl/perl5/commit/08962c5467e2a7e68626052bc8d9c66670992f9a Author: Tony Cook Date: 2024-07-17 (Wed, 17 Jul 2024) Changed paths: M cpan/Win32/Win32.pm M cpan/Win32/Win32.xs Log Message: --- cpan/Win32: import PR 39 https://github.com/perl-libwin32/win32/pull/37 was submitted in June 2022, it fixes a bug that causes tests to fail for Win32.pm for 32-bit builds on windows, including in perl (and in 5.40.) Jan requested a minor change to that PR which wasn't followed up on, so I submitted https://github.com/perl-libwin32/win32/pull/39 which includes that requested change in August 2023. This still hasn't been acted on. So import this change into blead. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] f4a775: test-dist-modules.pl: make separate installation t...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: f4a775ea785a27dbeb069cb8cff699cd5d91d8ec https://github.com/Perl/perl5/commit/f4a775ea785a27dbeb069cb8cff699cd5d91d8ec Author: Tony Cook Date: 2024-07-17 (Wed, 17 Jul 2024) Changed paths: M .github/workflows/testsuite.yml M Porting/test-dist-modules.pl Log Message: --- test-dist-modules.pl: make separate installation the default This avoids the dangerous default of overwriting installed modules. Commit: 0cd3930a5eda46cc0852b128988c46becbce7512 https://github.com/Perl/perl5/commit/0cd3930a5eda46cc0852b128988c46becbce7512 Author: Tony Cook Date: 2024-07-17 (Wed, 17 Jul 2024) Changed paths: M .github/workflows/testsuite.yml Log Message: --- testsuite.yml: test dist/ modules on threaded perls too This originally also tested on Windows, but Storable fails a test on 5.24, and several other modules fail on 5.10 and 5.8. Commit: d033adf874e9a1054ff816d8986d570821e2f440 https://github.com/Perl/perl5/commit/d033adf874e9a1054ff816d8986d570821e2f440 Author: Tony Cook Date: 2024-07-17 (Wed, 17 Jul 2024) Changed paths: M dist/Devel-PPPort/PPPort_pm.PL M dist/Devel-PPPort/parts/inc/misc Log Message: --- Devel::PPPort: add PERL_STACK_REALIGN This was causing build failures when building threads.pm against older perls. Commit: 0637dad265e6fa21c2357c565cb35d487d092d55 https://github.com/Perl/perl5/commit/0637dad265e6fa21c2357c565cb35d487d092d55 Author: Tony Cook Date: 2024-07-17 (Wed, 17 Jul 2024) Changed paths: M dist/threads/lib/threads.pm M dist/threads/threads.xs Log Message: --- threads: thread_locale_init/term() needs 5.27.9 or later Commit: baab724ded8d628c1edf89829361ce4bba281ade https://github.com/Perl/perl5/commit/baab724ded8d628c1edf89829361ce4bba281ade Author: Tony Cook Date: 2024-07-17 (Wed, 17 Jul 2024) Changed paths: M dist/Storable/ChangeLog M dist/Storable/Storable.pm M dist/Storable/t/utf8.t Log Message: --- Storable: add test names to t/utf8.t Commit: 65dbd0e2bd3ce74617a363a5e448b5730df1c136 https://github.com/Perl/perl5/commit/65dbd0e2bd3ce74617a363a5e448b5730df1c136 Author: Tony Cook Date: 2024-07-17 (Wed, 17 Jul 2024) Changed paths: M dist/Devel-PPPort/parts/inc/SvREFCNT M dist/threads/threads.xs Log Message: --- Devel::PPPort: threads-shared needs SvREFCNT_dec_NN() and threads.xs no longer needs to define SvREFCNT_dec_NN() Commit: 6a83e0d27f2871f248fa35afcae2897ca20488a3 https://github.com/Perl/perl5/commit/6a83e0d27f2871f248fa35afcae2897ca20488a3 Author: Tony Cook Date: 2024-07-17 (Wed, 17 Jul 2024) Changed paths: M Porting/test-dist-modules.pl Log Message: --- test-dist-modules.pl: update usage(), exit on usage Commit: ca8d60d1b5b3bdf135a6c8eba9ced89fbb74fbb5 https://github.com/Perl/perl5/commit/ca8d60d1b5b3bdf135a6c8eba9ced89fbb74fbb5 Author: Tony Cook Date: 2024-07-17 (Wed, 17 Jul 2024) Changed paths: M Porting/test-dist-modules.pl Log Message: --- test-dist-modules.pl: add some POD Compare: https://github.com/Perl/perl5/compare/1f92987284f5...ca8d60d1b5b3 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 9cc725: perldelta for e3d27bea9a4
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 9cc725b301b978dd8c9d4afdfeacfe232290beed https://github.com/Perl/perl5/commit/9cc725b301b978dd8c9d4afdfeacfe232290beed Author: Tony Cook Date: 2024-07-11 (Thu, 11 Jul 2024) Changed paths: M pod/perldelta.pod Log Message: --- perldelta for e3d27bea9a4 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5]
Branch: refs/heads/rework-dist-modules Home: https://github.com/Perl/perl5 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 4cc962: test-dist-modules.pl: make separate installation t...
Branch: refs/heads/rework-dist-modules Home: https://github.com/Perl/perl5 Commit: 4cc962b236da9e8e68bc067d94cda1e340e1fb81 https://github.com/Perl/perl5/commit/4cc962b236da9e8e68bc067d94cda1e340e1fb81 Author: Tony Cook Date: 2024-07-09 (Tue, 09 Jul 2024) Changed paths: M .github/workflows/testsuite.yml M Porting/test-dist-modules.pl Log Message: --- test-dist-modules.pl: make separate installation the default This avoids the default of overwriting installed modules. Commit: 87969216497f0850498b89bb8dfa2ef2511042e2 https://github.com/Perl/perl5/commit/87969216497f0850498b89bb8dfa2ef2511042e2 Author: Tony Cook Date: 2024-07-09 (Tue, 09 Jul 2024) Changed paths: M Porting/test-dist-modules.pl Log Message: --- Tony is dumb Compare: https://github.com/Perl/perl5/compare/4cc962b236da%5E...87969216497f To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] d3994c: t/op/require_errors.t, t/op/stat.t: skip permissio...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: d3994ca46180eb619f2533130d4b9d8d68aff005 https://github.com/Perl/perl5/commit/d3994ca46180eb619f2533130d4b9d8d68aff005 Author: Tony Cook Date: 2024-07-04 (Thu, 04 Jul 2024) Changed paths: M t/op/require_errors.t M t/op/stat.t Log Message: --- t/op/require_errors.t, t/op/stat.t: skip permissions test on AFS Fixes #22068 Fixes #22067 Commit: 7ea9cde9d9e0d812b65ff3b248bc30ebc980958f https://github.com/Perl/perl5/commit/7ea9cde9d9e0d812b65ff3b248bc30ebc980958f Author: Tony Cook Date: 2024-07-04 (Thu, 04 Jul 2024) Changed paths: M ext/POSIX/t/termios.t Log Message: --- POSIX/t/termios.t: AFS doesn't report ENOTTY as it should Fixes #22079 Compare: https://github.com/Perl/perl5/compare/fe31e2a9c1cd...7ea9cde9d9e0 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 9facb6: perldelta for 2e9c7c448d234
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 9facb6a5a02ebe1ca10c3fd03a90c05a51657429 https://github.com/Perl/perl5/commit/9facb6a5a02ebe1ca10c3fd03a90c05a51657429 Author: Tony Cook Date: 2024-07-04 (Thu, 04 Jul 2024) Changed paths: M pod/perldelta.pod Log Message: --- perldelta for 2e9c7c448d234 Commit: fe31e2a9c1cd273637aed576e9a99b30021f91c8 https://github.com/Perl/perl5/commit/fe31e2a9c1cd273637aed576e9a99b30021f91c8 Author: Tony Cook Date: 2024-07-04 (Thu, 04 Jul 2024) Changed paths: M .mailmap Log Message: --- Tux has a new from line (porting/authors was complaining) Compare: https://github.com/Perl/perl5/compare/d1e7b8b8aae5...fe31e2a9c1cd To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 2e9c7c: Perl_call_argv(): clean up the temps it creates wh...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 2e9c7c448d234fba91c5bc097476f4622408b945 https://github.com/Perl/perl5/commit/2e9c7c448d234fba91c5bc097476f4622408b945 Author: Tony Cook Date: 2024-07-04 (Thu, 04 Jul 2024) Changed paths: M ext/XS-APItest/APItest.pm M ext/XS-APItest/APItest.xs M ext/XS-APItest/t/call.t M perl.c Log Message: --- Perl_call_argv(): clean up the temps it creates when G_DISCARD is set We can only do this clean up for G_DISCARD since otherwise we might free the return values on the stack. Fixes #22255 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 625fd6: Remove smartmatch, given, when, default and non-lo...
Branch: refs/heads/smoke-me/tonyc/smartmatch-removal Home: https://github.com/Perl/perl5 Commit: 625fd6d710a442eb42a26bb29604a9dfb89fd309 https://github.com/Perl/perl5/commit/625fd6d710a442eb42a26bb29604a9dfb89fd309 Author: Tony Cook Date: 2024-07-01 (Mon, 01 Jul 2024) Changed paths: M MANIFEST M cop.h M dump.c M embed.fnc M embed.h M ext/Opcode/Opcode.pm M feature.h M gv.c M inline.h M keywords.c M keywords.h M lib/B/Deparse-core.t M lib/B/Deparse.pm M lib/B/Deparse.t M lib/B/Op_private.pm M lib/feature.pm M lib/overload.pm M lib/overload.t M lib/overload/numbers.pm M op.c M opcode.h M opnames.h M overload.h M overload.inc M perl.h M perly.act M perly.h M perly.tab M perly.y M pod/perlcheat.pod M pod/perldiag.pod M pod/perlguts.pod M pod/perlop.pod M pod/perlsyn.pod M pp_ctl.c M pp_proto.h M proto.h M regen/feature.pl M regen/keywords.pl M regen/opcodes M regen/overload.pl M sv.c M t/lib/croak/pp_ctl M t/lib/feature/api M t/lib/feature/removed R t/lib/feature/switch M t/lib/warnings/9uninit M t/lib/warnings/op M t/lib/warnings/utf8 M t/op/coreamp.t M t/op/coresubs.t M t/op/cproto.t R t/op/smartmatch.t M t/op/state.t M t/op/svleak.t R t/op/switch.t M t/op/taint.t M t/op/tie_fetch_count.t M toke.c Log Message: --- Remove smartmatch, given, when, default and non-loop continue This removes the switch feature, which covers smartmatch, and the given/when structure. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] f6691a: POSIX: win32 calls "putenv" "_putenv"
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: f6691a84dfa9fe39c67d0f974bf4663aefe26695 https://github.com/Perl/perl5/commit/f6691a84dfa9fe39c67d0f974bf4663aefe26695 Author: Tony Cook Date: 2024-06-24 (Mon, 24 Jun 2024) Changed paths: M ext/POSIX/POSIX.xs Log Message: --- POSIX: win32 calls "putenv" "_putenv" This produced build errors with gcc 14. Commit: 95d19e0063352ead71bb8a3d54ee329bc06d6f86 https://github.com/Perl/perl5/commit/95d19e0063352ead71bb8a3d54ee329bc06d6f86 Author: Tony Cook Date: 2024-06-24 (Mon, 24 Jun 2024) Changed paths: M pod/perlguts.pod Log Message: --- perlguts: PTR2ul() is unsafe For a 64-bit build on Windows, pointers are 64-bits, while long is 32-bits, so PTR2ul() discards some bits. Commit: 6c10350f7c0e4fe55f8b4a332c7cc7b227f996b2 https://github.com/Perl/perl5/commit/6c10350f7c0e4fe55f8b4a332c7cc7b227f996b2 Author: Tony Cook Date: 2024-06-24 (Mon, 24 Jun 2024) Changed paths: M perl.h Log Message: --- isnan (long double): always use the C99 version C99 requires that isnan() is a generic macro that accepts the standard floating point types (float, double, long double). We always include math.h eventually, so this macro should be available. This is complicated by C++. C++98 depends on C89, which does not require isnan(), but since we do require C99, I think we need to require a minimum of C++11, which follows C99. C++11 does *not* define isnan() as a macro, but as a set of overloaded functions, which produces almost the same result, the difference being that the macro test that was done by this code is no longer valid. The old code would fail to build with C++ long double builds with gcc on Window: ..\sv.c: In function 'size_t S_infnan_2pv(NV, char*, size_t, char)': ..\perl.h:2680:34: error: 'isnanl' was not declared in this scope; did you mean 'isnan'? 2680 | # define Perl_isnan(x) isnanl(x) | ^~ ..\sv.c:2882:14: note: in expansion of macro 'Perl_isnan' 2882 | else if (Perl_isnan(nv)) { | ^~ ..\sv.c: In function 'U8* S_hextract(NV, int*, bool*, U8*, U8*)': ..\perl.h:2680:34: error: 'isnanl' was not declared in this scope; did you mean 'isnan'? 2680 | # define Perl_isnan(x) isnanl(x) | ^~ ..\perl.h:8605:69: note: in expansion of macro 'Perl_isnan' 8605 | # define Perl_fp_class_denorm(x) ((x) != 0.0 && !Perl_isinf(x) && !Perl_isnan(x) && PERL_ABS(x) < NV_MIN) | ^~ ..\sv.c:11604:49: note: in expansion of macro 'Perl_fp_class_denorm' 11604 | #define HEXTRACT_GET_SUBNORMAL(nv) *subnormal = Perl_fp_class_denorm(nv) | ^~~~ ..\sv.c:11672:9: note: in expansion of macro 'HEXTRACT_GET_SUBNORMAL' 11672 | HEXTRACT_GET_SUBNORMAL(nv); | ^~ and with gcc 14.2, which requires prototypes per C99: In file included from ..\sv.c:32: ..\sv.c: In function 'S_infnan_2pv': ..\perl.h:2680:34: error: implicit declaration of function 'isnanl'; did you mean 'isnan'? [-Wimplicit-function-declaration] 2680 | # define Perl_isnan(x) isnanl(x) | ^~ ..\sv.c:2882:14: note: in expansion of macro 'Perl_isnan' 2882 | else if (Perl_isnan(nv)) { | ^~ gmake: *** [GNUmakefile:1430: mini\sv.o] Error 1 Commit: cbe01cd7d9efb68071360368fbf035d3014d6d30 https://github.com/Perl/perl5/commit/cbe01cd7d9efb68071360368fbf035d3014d6d30 Author: Tony Cook Date: 2024-06-24 (Mon, 24 Jun 2024) Changed paths: M ext/POSIX/POSIX.xs Log Message: --- POSIX: mingw64 doesn't make the bessel functions visible with -std=c99 And doesn't provide a way to make them visible, even though they are visible by default for MSVC UCRT builds. The __MINGW32__ macro is set for both 32-bit and 64-bit MINGW builds. Commit: 0fdc16a98b54de021d921da8e32fe67e2fb6ffd3 https://github.com/Perl/perl5/commit/0fdc16a98b54de021d921da8e32fe67e2fb6ffd3 Author: Tony Cook Date: 2024-06-24 (Mon, 24 Jun 2024) Changed paths: M win32/config.gc M win32/config.vc M win32/config_H.gc M win32/config_H.vc Log Message: --- win32/config*: all the supported compilers have isfinite() Commit: 56d5b6ef820802cd4c57fc2cfd8301a3f5d7af04 https://github.com/Perl/perl5/commit/56d5b6ef820802cd4c57fc2cfd8301a3f5d7af04 Author: Tony Cook Date: 2024-06-24 (Mon, 24 Jun 2024) Changed paths: M ext/POSIX/t/math.t Log Message: --- POSIX: add simple bessel function tests Compare: https://github.com/Perl/perl5/compare/fddbca21db8e...56d5b6ef8208 To unsubscribe from these emails, change your notification
[Perl/perl5] fddbca: the macos-11 runner is deprecated and retires 28 J...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: fddbca21db8e30526486afd7046037aaff8986df https://github.com/Perl/perl5/commit/fddbca21db8e30526486afd7046037aaff8986df Author: Tony Cook Date: 2024-06-24 (Mon, 24 Jun 2024) Changed paths: M .github/workflows/testsuite.yml Log Message: --- the macos-11 runner is deprecated and retires 28 June 2024 https://github.blog/changelog/2024-05-20-actions-upcoming-changes-to-github-hosted-macos-runners/ The brownouts described here appear to be causing some failures. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 39dd28: class.c: store the stash in the constructor CV sta...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 39dd28f9eafb1932132c9d1099532d371c913923 https://github.com/Perl/perl5/commit/39dd28f9eafb1932132c9d1099532d371c913923 Author: Tony Cook Date: 2024-06-20 (Thu, 20 Jun 2024) Changed paths: M class.c Log Message: --- class.c: store the stash in the constructor CV stash slot This code previously stored the stash for the class in the CV's any_cv slot, and marked that to be released when the CV is released. But it does not bump the reference count of the stash that I can see. When I tried releasing the constructor SV while working on #22169 I found perl would crash, incrementing the stash reference count prevents that, but leaves us with a reference loop. But it turns out that CVs already have a slot to store their stash in and an API that correctly handles reference counting for that slot. So use CvSTASH_set()/CvSTASH() to manage the stash for "$class::new" methods. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] dbaf52: my_strnlen(): eliminate unneeded casting away of c...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: dbaf52f602f7474231460fe8930b3c5564df10c5 https://github.com/Perl/perl5/commit/dbaf52f602f7474231460fe8930b3c5564df10c5 Author: Tony Cook Date: 2024-06-18 (Tue, 18 Jun 2024) Changed paths: M inline.h Log Message: --- my_strnlen(): eliminate unneeded casting away of const Noticed this while reviewing #22271. If you build with: ./Configure -des -Dusedevel -Ud_strnlen -Accflags=-Wcast-qual -Dcc=g++ you will see amongst many other warnings: inline.h: In function ‘size_t Perl_my_strnlen(const char*, size_t)’: inline.h:4220:23: warning: cast from type ‘const void*’ to type ‘char*’ casts away qualifiers [-Wcast-qual] 4220 | const char *end = (char *) memchr(str, '\0', maxlen); | ^~ The cast itself is only needed on C++ to cast from "const void *", C doesn't require any cast here. Commit: ca81be37067e1358d98f77b8f7df53cc22a554b6 https://github.com/Perl/perl5/commit/ca81be37067e1358d98f77b8f7df53cc22a554b6 Author: Tony Cook Date: 2024-06-18 (Tue, 18 Jun 2024) Changed paths: M utf8.h Log Message: --- UTF8_CHK_SKIP: eliminate casting away const Seen with: ./Configure -des -Dusedevel -Accflags=-Wcast-qual mathoms.c: In function ‘Perl_utf8_to_uvchr’: utf8.h:804:53: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 804 |(UNLIKELY(s[0] == '\0') ? 1 : my_strnlen((char *) (s), UTF8SK IP(s))) | ^ embed.h:792:87: note: in definition of macro ‘utf8_to_uvchr_buf_helper’ 792 | # define utf8_to_uvchr_buf_helper(a,b,c)Perl_utf8_to_uvchr_buf_h elper(aTHX_ a,b,c) | ^ mathoms.c:970:12: note: in expansion of macro ‘utf8_to_uvchr_buf’ 970 | return utf8_to_uvchr_buf(s, s + UTF8_CHK_SKIP(s), retlen); |^ mathoms.c:970:37: note: in expansion of macro ‘UTF8_CHK_SKIP’ 970 | return utf8_to_uvchr_buf(s, s + UTF8_CHK_SKIP(s), retlen); | ^ mathoms.c seems to be the only user of this macro. This came up when reviewing #22271 Compare: https://github.com/Perl/perl5/compare/6c1a9be7c8b2...ca81be37067e To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 3ede54: POSIX: win32 calls "putenv" "_putenv"
Branch: refs/heads/smoke-me/tonyc/22211-gcc-posix-build-issues Home: https://github.com/Perl/perl5 Commit: 3ede54cc250ec70c356e22bad1996cc7fea6acdc https://github.com/Perl/perl5/commit/3ede54cc250ec70c356e22bad1996cc7fea6acdc Author: Tony Cook Date: 2024-05-27 (Mon, 27 May 2024) Changed paths: M ext/POSIX/POSIX.xs Log Message: --- POSIX: win32 calls "putenv" "_putenv" This produced build errors with gcc 14. Commit: 0d3f242d1acc84f375f2cd74d20ea5bb60d2bb16 https://github.com/Perl/perl5/commit/0d3f242d1acc84f375f2cd74d20ea5bb60d2bb16 Author: Tony Cook Date: 2024-05-27 (Mon, 27 May 2024) Changed paths: M pod/perlguts.pod Log Message: --- perlguts: PTR2ul() is unsafe For a 64-bit build on Windows, pointers are 64-bits, while long is 32-bits, so PTR2ul() discards some bits. Commit: c3c9c12d6a4e2db8c49aa8c0a53ac65fcfe1c89d https://github.com/Perl/perl5/commit/c3c9c12d6a4e2db8c49aa8c0a53ac65fcfe1c89d Author: Tony Cook Date: 2024-05-27 (Mon, 27 May 2024) Changed paths: M perl.h Log Message: --- isnan (long double): always use the C99 version C99 requires that isnan() is a generic macro that accepts the standard floating point types (float, double, long double). We always include math.h eventually, so this macro should be available. This is complicated by C++. C++98 depends on C89, which does not require isnan(), but since we do require C99, I think we need to require a minimum of C++11, which follows C99. C++11 does *not* define isnan() as a macro, but as a set of overloaded functions, which produces almost the same result, the difference being that the macro test that was done by this code is no longer valid. The old code would fail to build with long double builds C++ builds with gcc on Window: ..\sv.c: In function 'size_t S_infnan_2pv(NV, char*, size_t, char)': ..\perl.h:2680:34: error: 'isnanl' was not declared in this scope; did you mean 'isnan'? 2680 | # define Perl_isnan(x) isnanl(x) | ^~ ..\sv.c:2882:14: note: in expansion of macro 'Perl_isnan' 2882 | else if (Perl_isnan(nv)) { | ^~ ..\sv.c: In function 'U8* S_hextract(NV, int*, bool*, U8*, U8*)': ..\perl.h:2680:34: error: 'isnanl' was not declared in this scope; did you mean 'isnan'? 2680 | # define Perl_isnan(x) isnanl(x) | ^~ ..\perl.h:8605:69: note: in expansion of macro 'Perl_isnan' 8605 | # define Perl_fp_class_denorm(x) ((x) != 0.0 && !Perl_isinf(x) && !Perl_isnan(x) && PERL_ABS(x) < NV_MIN) | ^~ ..\sv.c:11604:49: note: in expansion of macro 'Perl_fp_class_denorm' 11604 | #define HEXTRACT_GET_SUBNORMAL(nv) *subnormal = Perl_fp_class_denorm(nv) | ^~~~ ..\sv.c:11672:9: note: in expansion of macro 'HEXTRACT_GET_SUBNORMAL' 11672 | HEXTRACT_GET_SUBNORMAL(nv); | ^~ and with gcc 14.2, which requires prototypes per C99: In file included from ..\sv.c:32: ..\sv.c: In function 'S_infnan_2pv': ..\perl.h:2680:34: error: implicit declaration of function 'isnanl'; did you mean 'isnan'? [-Wimplicit-function-declaration] 2680 | # define Perl_isnan(x) isnanl(x) | ^~ ..\sv.c:2882:14: note: in expansion of macro 'Perl_isnan' 2882 | else if (Perl_isnan(nv)) { | ^~ gmake: *** [GNUmakefile:1430: mini\sv.o] Error 1 Commit: 193399ae1fc80bfd1b914374e87c0728a0f02c50 https://github.com/Perl/perl5/commit/193399ae1fc80bfd1b914374e87c0728a0f02c50 Author: Tony Cook Date: 2024-05-27 (Mon, 27 May 2024) Changed paths: M ext/POSIX/POSIX.xs Log Message: --- POSIX: mingw64 doesn't make the bessel functions visible with -std=c99 And doesn't provide a way to make them visible, even though they are visible by default for MSVC UCRT builds. The __MINGW32__ macro is set for both 32-bit and 64-bit MINGW builds. Commit: 9e68950a61cf61dc5bf2f3eeb7369b532e1ab600 https://github.com/Perl/perl5/commit/9e68950a61cf61dc5bf2f3eeb7369b532e1ab600 Author: Tony Cook Date: 2024-05-27 (Mon, 27 May 2024) Changed paths: M win32/config.gc M win32/config.vc M win32/config_H.gc M win32/config_H.vc Log Message: --- win32/config*: all the supported compilers have isfinite() Commit: 4991f5a24486ff562184953e11728ca073bc6cc3 https://github.com/Perl/perl5/commit/4991f5a24486ff562184953e11728ca073bc6cc3 Author: Tony Cook Date: 2024-05-27 (Mon, 27 May 2024) Changed paths: M ext/POSIX/t/math.t Log Message: --- POSIX: add simple bessel function tests Compare: https://github.com/Perl/perl5/compare/3ede54cc250e%5E...4991f5a24486 To unsubsc
[Perl/perl5] 46f8c6: hints/linux.sh: handle the Intel oneAPI compiler
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 46f8c658ab2332b5c4b2279f53cfcdd4fc161d47 https://github.com/Perl/perl5/commit/46f8c658ab2332b5c4b2279f53cfcdd4fc161d47 Author: Tony Cook Date: 2024-05-23 (Thu, 23 May 2024) Changed paths: M hints/linux.sh Log Message: --- hints/linux.sh: handle the Intel oneAPI compiler This failed some floating point tests, so the hints add fp-model=precise Also capture the compiler version. Fixes #22209 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] ac23c4: porting/cpphdrcheck.t: test perl's headers with C+...
Branch: refs/heads/smoke-me/tonyc/cpp-header-porting Home: https://github.com/Perl/perl5 Commit: ac23c4f0003367e2fd1178fc4bb2264ffdee8c39 https://github.com/Perl/perl5/commit/ac23c4f0003367e2fd1178fc4bb2264ffdee8c39 Author: Tony Cook Date: 2024-05-20 (Mon, 20 May 2024) Changed paths: M MANIFEST A t/porting/cpphdrcheck.t Log Message: --- porting/cpphdrcheck.t: test perl's headers with C++ compilers This searches for a C++ compiler based on the supplied C compiler, and checks that compiler for any options controlling the C++ standard requested, including simple checks that the compiler supports that standard. If a C++ compiler is found, test compilation of the same simple code as above but with the perl headers included after any C++ headers. Ideally we'd also test runtime, but would require more complex test code, which I leave to later contributors (which may still be me). Tested at various times with: - MSVC - gcc - clang - Oracle/Sun Development Workshop cc (CC is the C++ compiler), on Oracle Linux - Intel oneAPI compiler (llvm based apparently, and now free to use) - Intel classic compiler (discontinued) Currently this probes the compiler for C++ sanity with the perl ccflags, since icc (Intel classic) would successfully build the sample without perl's ccflags, but then fail with both the headers and perl's ccflags. It turned out to fail with just the ccflags, and since the primary intent is to test the headers, I probe *with* ccflags. The Sun Workshop compiler failed to build the C++11 or 14 sample at all in my testing, which may have been due to an installation problem. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] ac01d5: hints/cygwin.sh: don't touch system symbol __STRIC...
Branch: refs/heads/smoke-me/tonyc/cpp-header-porting Home: https://github.com/Perl/perl5 Commit: ac01d5389adafc80f4c7209453919fd155aead76 https://github.com/Perl/perl5/commit/ac01d5389adafc80f4c7209453919fd155aead76 Author: Tony Cook Date: 2024-05-20 (Mon, 20 May 2024) Changed paths: M hints/cygwin.sh Log Message: --- hints/cygwin.sh: don't touch system symbol __STRICT_ANSI__ Adding _GNU_SOURCE, which was done much later, should give us the GNU-ish symbols (though POSIX_C_SOURCE would be more general.) I couldn't find the reason for this being added, but the C++ headers react badly to it: In file included from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/iostream:38, from source.cpp:1: /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/x86_64-pc-cygwin/bits/c++config.h:573:2: warning: #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" [-Wcpp] 573 | #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" | ^~~ In file included from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/bits/max_size_type.h:37, from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/bits/ranges_base.h:38, from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/string_view:48, from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/bits/basic_string.h:48, from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/string:55, from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/bits/locale_classes.h:40, from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/bits/ios_base.h:41, from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/ios:42, from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/ostream:38, from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/iostream:39, from source.cpp:1: /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/numbers:139:9: error: unable to find numeric literal operator 'operator""Q' 139 | = 2.718281828459045235360287471352662498Q; | ^~~ ... Commit: 379de51ef89f42e368fc04db5a27d4e27aac0ac7 https://github.com/Perl/perl5/commit/379de51ef89f42e368fc04db5a27d4e27aac0ac7 Author: Tony Cook Date: 2024-05-20 (Mon, 20 May 2024) Changed paths: M MANIFEST A t/porting/cpphdrcheck.t Log Message: --- porting/cpphdrcheck.t: test perl's headers with C++ compilers t/porting/cpphdrcheck.t: fix finding config.h on windows t/porting/cpphdrcheck.t: actually use ccflags improve error reporting t/porting/cpphdrcheck.t: improve error reporting and make not finding a C++ compiler fail for now, to make it easier to see the cases where we don't find one but expected to find one. cpphdrcheck.t: capture -V output, and fix Intel compiler match cpphdrcheck: test without -std too cpphdrcheck: test even without -std found cpphdrcheck: handle cc with arguments also, do the test builds with ccflags, since I had some strange results from the test builds, the test code would build without ccflags, but not with, with errors deep within the system headers. cpphdrcheck: support cc already being a C++ compiler requires that the name contains "++" Commit: 0ada1362ce407acc883357cdfe5e2899d6c7a0cc https://github.com/Perl/perl5/commit/0ada1362ce407acc883357cdfe5e2899d6c7a0cc Author: Tony Cook Date: 2024-05-20 (Mon, 20 May 2024) Changed paths: M t/porting/cpphdrcheck.t Log Message: --- cpphdrcheck: move reporting out of the probe functions also remove fatality for not finding the C++ compiler Compare: https://github.com/Perl/perl5/compare/e8501fbdc9d7...0ada1362ce40 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] c99ca7: cpphdrcheck: handle cc with arguments
Branch: refs/heads/smoke-me/tonyc/cpp-header-porting Home: https://github.com/Perl/perl5 Commit: c99ca76a699dabe6202b8f2fad801f70284a22fe https://github.com/Perl/perl5/commit/c99ca76a699dabe6202b8f2fad801f70284a22fe Author: Tony Cook Date: 2024-05-15 (Wed, 15 May 2024) Changed paths: M t/porting/cpphdrcheck.t Log Message: --- cpphdrcheck: handle cc with arguments also, do the test builds with ccflags, since I had some strange results from the test builds, the test code would build without ccflags, but not with, with errors deep within the system headers. Commit: e8501fbdc9d7764fc836bc1247c7f40dd9d6657e https://github.com/Perl/perl5/commit/e8501fbdc9d7764fc836bc1247c7f40dd9d6657e Author: Tony Cook Date: 2024-05-15 (Wed, 15 May 2024) Changed paths: M t/porting/cpphdrcheck.t Log Message: --- cpphdrcheck: support cc already being a C++ compiler requires that the name contains "++" Compare: https://github.com/Perl/perl5/compare/7941cce171c7...e8501fbdc9d7 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 7941cc: cpphdrcheck: test even without -std found
Branch: refs/heads/smoke-me/tonyc/cpp-header-porting Home: https://github.com/Perl/perl5 Commit: 7941cce171c772c479e436577a7e8b7e771ec5be https://github.com/Perl/perl5/commit/7941cce171c772c479e436577a7e8b7e771ec5be Author: Tony Cook Date: 2024-05-13 (Mon, 13 May 2024) Changed paths: M t/porting/cpphdrcheck.t Log Message: --- cpphdrcheck: test even without -std found To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] c808c1: cpphdrcheck.t: capture -V output, and fix Intel co...
Branch: refs/heads/smoke-me/tonyc/cpp-header-porting Home: https://github.com/Perl/perl5 Commit: c808c1690e3c042ce31278c0a843685581542d3e https://github.com/Perl/perl5/commit/c808c1690e3c042ce31278c0a843685581542d3e Author: Tony Cook Date: 2024-05-09 (Thu, 09 May 2024) Changed paths: M t/porting/cpphdrcheck.t Log Message: --- cpphdrcheck.t: capture -V output, and fix Intel compiler match Commit: 6f83d2933fb13d55d99f8a4818bcf63c73f5309d https://github.com/Perl/perl5/commit/6f83d2933fb13d55d99f8a4818bcf63c73f5309d Author: Tony Cook Date: 2024-05-13 (Mon, 13 May 2024) Changed paths: M t/porting/cpphdrcheck.t Log Message: --- cpphdrcheck: test without -std too Compare: https://github.com/Perl/perl5/compare/435e917efb0e...6f83d2933fb1 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5]
Branch: refs/heads/c++-header-porting Home: https://github.com/Perl/perl5 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 435e91: t/porting/cpphdrcheck.t: improve error reporting
Branch: refs/heads/smoke-me/tonyc/cpp-header-porting Home: https://github.com/Perl/perl5 Commit: 435e917efb0edeac2667066b0faef6aa90ab5d69 https://github.com/Perl/perl5/commit/435e917efb0edeac2667066b0faef6aa90ab5d69 Author: Tony Cook Date: 2024-05-08 (Wed, 08 May 2024) Changed paths: M t/porting/cpphdrcheck.t Log Message: --- t/porting/cpphdrcheck.t: improve error reporting and make not finding a C++ compiler fail for now, to make it easier to see the cases where we don't find one but expected to find one. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] de470c: improve error reporting
Branch: refs/heads/smoke-me/tonyc/cpp-header-porting Home: https://github.com/Perl/perl5 Commit: de470c74038d699dc809b0645ac391b897c0db76 https://github.com/Perl/perl5/commit/de470c74038d699dc809b0645ac391b897c0db76 Author: Tony Cook Date: 2024-05-07 (Tue, 07 May 2024) Changed paths: M t/porting/cpphdrcheck.t Log Message: --- improve error reporting Commit: 82777c7e89a97ea134c4514897cb34765bdff38b https://github.com/Perl/perl5/commit/82777c7e89a97ea134c4514897cb34765bdff38b Author: Tony Cook Date: 2024-05-08 (Wed, 08 May 2024) Changed paths: M hints/cygwin.sh Log Message: --- hints/cygwin.sh: don't touch system symbol __STRICT_ANSI__ Adding _GNU_SOURCE, which was done much later, should give us the GNU-ish symbols (though POSIX_C_SOURCE would be more general.) I couldn't find the reason for this being added, but the C++ headers react badly to it: In file included from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/iostream:38, from source.cpp:1: /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/x86_64-pc-cygwin/bits/c++config.h:573:2: warning: #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" [-Wcpp] 573 | #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" | ^~~ In file included from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/bits/max_size_type.h:37, from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/bits/ranges_base.h:38, from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/string_view:48, from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/bits/basic_string.h:48, from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/string:55, from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/bits/locale_classes.h:40, from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/bits/ios_base.h:41, from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/ios:42, from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/ostream:38, from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/iostream:39, from source.cpp:1: /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/numbers:139:9: error: unable to find numeric literal operator 'operator""Q' 139 | = 2.718281828459045235360287471352662498Q; | ^~~ ... Compare: https://github.com/Perl/perl5/compare/31f622baab79...82777c7e89a9 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] de470c: improve error reporting
Branch: refs/heads/c++-header-porting Home: https://github.com/Perl/perl5 Commit: de470c74038d699dc809b0645ac391b897c0db76 https://github.com/Perl/perl5/commit/de470c74038d699dc809b0645ac391b897c0db76 Author: Tony Cook Date: 2024-05-07 (Tue, 07 May 2024) Changed paths: M t/porting/cpphdrcheck.t Log Message: --- improve error reporting Commit: 82777c7e89a97ea134c4514897cb34765bdff38b https://github.com/Perl/perl5/commit/82777c7e89a97ea134c4514897cb34765bdff38b Author: Tony Cook Date: 2024-05-08 (Wed, 08 May 2024) Changed paths: M hints/cygwin.sh Log Message: --- hints/cygwin.sh: don't touch system symbol __STRICT_ANSI__ Adding _GNU_SOURCE, which was done much later, should give us the GNU-ish symbols (though POSIX_C_SOURCE would be more general.) I couldn't find the reason for this being added, but the C++ headers react badly to it: In file included from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/iostream:38, from source.cpp:1: /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/x86_64-pc-cygwin/bits/c++config.h:573:2: warning: #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" [-Wcpp] 573 | #warning "__STRICT_ANSI__ seems to have been undefined; this is not supported" | ^~~ In file included from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/bits/max_size_type.h:37, from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/bits/ranges_base.h:38, from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/string_view:48, from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/bits/basic_string.h:48, from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/string:55, from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/bits/locale_classes.h:40, from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/bits/ios_base.h:41, from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/ios:42, from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/ostream:38, from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/iostream:39, from source.cpp:1: /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/numbers:139:9: error: unable to find numeric literal operator 'operator""Q' 139 | = 2.718281828459045235360287471352662498Q; | ^~~ ... Compare: https://github.com/Perl/perl5/compare/de470c74038d%5E...82777c7e89a9 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 6f2be1: porting/cpphdrcheck.t: test perl's headers with C+...
Branch: refs/heads/smoke-me/tonyc/cpp-header-porting Home: https://github.com/Perl/perl5 Commit: 6f2be18f4239c3ad0c75902cfb24aecdd1e6d511 https://github.com/Perl/perl5/commit/6f2be18f4239c3ad0c75902cfb24aecdd1e6d511 Author: Tony Cook Date: 2024-05-06 (Mon, 06 May 2024) Changed paths: M MANIFEST A t/porting/cpphdrcheck.t Log Message: --- porting/cpphdrcheck.t: test perl's headers with C++ compilers Commit: d0d2562e56619a7e0959adefddb8aebdb181fe2d https://github.com/Perl/perl5/commit/d0d2562e56619a7e0959adefddb8aebdb181fe2d Author: Tony Cook Date: 2024-05-06 (Mon, 06 May 2024) Changed paths: M t/porting/cpphdrcheck.t Log Message: --- t/porting/cpphdrcheck.t: fix finding config.h on windows Commit: 31f622baab7948f471bfa9676ffabe75eeecd772 https://github.com/Perl/perl5/commit/31f622baab7948f471bfa9676ffabe75eeecd772 Author: Tony Cook Date: 2024-05-06 (Mon, 06 May 2024) Changed paths: M t/porting/cpphdrcheck.t Log Message: --- t/porting/cpphdrcheck.t: actually use ccflags Compare: https://github.com/Perl/perl5/compare/6f2be18f4239%5E...31f622baab79 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 20fe13: hints/netbsd.sh: prevent noise when checking for -...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 20fe1382965ae05938569abde22746b73012fdb6 https://github.com/Perl/perl5/commit/20fe1382965ae05938569abde22746b73012fdb6 Author: Tony Cook Date: 2024-05-04 (Sat, 04 May 2024) Changed paths: M hints/netbsd.sh Log Message: --- hints/netbsd.sh: prevent noise when checking for --whole-archive https://www.nntp.perl.org/group/perl.perl5.porters/2024/04/msg268141.html To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 0d9e3b: perly LSTOPSUB: prevent a double op free between p...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 0d9e3bc6dbe88da0464ba4b77219ed5b7c276340 https://github.com/Perl/perl5/commit/0d9e3bc6dbe88da0464ba4b77219ed5b7c276340 Author: Tony Cook Date: 2024-05-02 (Thu, 02 May 2024) Changed paths: M MANIFEST M perly.act M perly.h M perly.tab M perly.y A t/lib/croak/parser Log Message: --- perly LSTOPSUB: prevent a double op free between parse stack and CV The reeproducer resulted in the "block" OP being both on the parser stack and attacked to the CV. If an error occurred while parsing the rest of the list operator clean up would release the OP as attached to the CV, and the same OP on the parse stack, resulting in a double free. It's unclear to me whether bison is intended to support modifying the parse stack entry like this, but it appears to work here. Fixes #21724 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 6fafc5: Revert "testsuite.yml: workaround cygwin base addr...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 6fafc5042465478722cf21a0d46cbe5679be6750 https://github.com/Perl/perl5/commit/6fafc5042465478722cf21a0d46cbe5679be6750 Author: Tony Cook Date: 2024-05-02 (Thu, 02 May 2024) Changed paths: M .github/workflows/testsuite.yml Log Message: --- Revert "testsuite.yml: workaround cygwin base address conflict in 5.39.10" This reverts commit c635fa2209aa81381fc45f5e89f5b16144056521. With the 5.39.11 version bump there's no longer any risk of this collision. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] ed87f9: hints/dragonfly.sh: actually disable the POSIX 200...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: ed87f9270c45de838606a888d758bac000c334c8 https://github.com/Perl/perl5/commit/ed87f9270c45de838606a888d758bac000c334c8 Author: Tony Cook Date: 2024-04-30 (Tue, 30 Apr 2024) Changed paths: M hints/dragonfly.sh Log Message: --- hints/dragonfly.sh: actually disable the POSIX 2008 locale API ae3e9dd0b was intended to disable this API, due to a leak in the DragonflyBSD implementation, but the wrong macro was used, which I missed in review. Use the right macro. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 0598e4: perldelta for 6b628002d8
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 0598e47f3370dd1ec767ac5234803dcb75995dbb https://github.com/Perl/perl5/commit/0598e47f3370dd1ec767ac5234803dcb75995dbb Author: Tony Cook Date: 2024-04-24 (Wed, 24 Apr 2024) Changed paths: M pod/perldelta.pod Log Message: --- perldelta for 6b628002d8 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 5b2c91: regcomp_study.c: merged value only used under -DDE...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 5b2c91c3c57e411ffed2b23039f769f30abb4d9f https://github.com/Perl/perl5/commit/5b2c91c3c57e411ffed2b23039f769f30abb4d9f Author: Tony Cook Date: 2024-04-24 (Wed, 24 Apr 2024) Changed paths: M regcomp_study.c Log Message: --- regcomp_study.c: merged value only used under -DDEBUGGING For a non-debugging build this would warn with clang 17: regcomp_study.c:1067:9: warning: variable 'merged' set but not used [-Wunused-but-set-variable] 1067 | U32 merged = 0; | ^ Commit: 122500c227656f4f9334ca280614d721dcabacba https://github.com/Perl/perl5/commit/122500c227656f4f9334ca280614d721dcabacba Author: Tony Cook Date: 2024-04-24 (Wed, 24 Apr 2024) Changed paths: M regcomp_trie.c Log Message: --- regcomp_trie: prevent wordlen value not used warning This occurs with clang-17, and possibly other versions: regcomp_trie.c:667:13: warning: variable 'wordlen' set but not used [-Wunused-but-set-variable] 667 | U32 wordlen = 0; /* required init */ | ^ This happens because while the first loop in Perl_make_trie calculates wordlen, mostly via the TRIE_READ_CHAR macro, that calculated value isn't used. The later loops do use the value of wordlen via the TRIE_HANDLE_WORD() macro. Unfortunately the use in TRIE_READ_CHAR() means we can't remove this first definition, so suppress the warning. Compare: https://github.com/Perl/perl5/compare/c37e28edf736...122500c22765 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] c37e28: allow porting/diag.t to detect messages from XSUBs...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: c37e28edf73655f7085d46bad8060a781d1bdfed https://github.com/Perl/perl5/commit/c37e28edf73655f7085d46bad8060a781d1bdfed Author: Tony Cook Date: 2024-04-24 (Wed, 24 Apr 2024) Changed paths: M pod/perldiag.pod M t/porting/diag.t Log Message: --- allow porting/diag.t to detect messages from XSUBs in class.c and briefly document the undocumented messages it found. Note that the "Odd number of arguments" message isn't suppressible, I do not know if that is by design: $ ./perl -Ilib -Mfeature=class -e 'no warnings; class C { field $x:param; } C->new("x")' Odd number of arguments passed to "C" constructor at -e line 1. Discovered when porting/diag.t didn't warn about my new message in the fix for #22159 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 6b6280: report an error when making an object of an incomp...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 6b628002d8c3b4f27498101e8ec682207d5aa466 https://github.com/Perl/perl5/commit/6b628002d8c3b4f27498101e8ec682207d5aa466 Author: Tony Cook Date: 2024-04-24 (Wed, 24 Apr 2024) Changed paths: M class.c M pod/perldiag.pod M t/lib/croak/class Log Message: --- report an error when making an object of an incomplete class instead of asserting or crashing Fixes #22159 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 67164c: perldelta updates
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 67164c39687a916908b6322d361cdf3d86df59ac https://github.com/Perl/perl5/commit/67164c39687a916908b6322d361cdf3d86df59ac Author: Tony Cook Date: 2024-04-18 (Thu, 18 Apr 2024) Changed paths: M pod/perldelta.pod Log Message: --- perldelta updates To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 3b03ff: allow perl to build with the re extension is static
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 3b03ffb49b24a05e8de3844ea7e754df141b39cf https://github.com/Perl/perl5/commit/3b03ffb49b24a05e8de3844ea7e754df141b39cf Author: Tony Cook Date: 2024-04-17 (Wed, 17 Apr 2024) Changed paths: M ext/re/Makefile.PL M regcomp.h Log Message: --- allow perl to build with the re extension is static Previously configuring with -Uusedl built successfully, but didn't with -Dstatic_ext=re, now both build successfully. Fixes #21550 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 93ed5f: yyl_dollar: we don't need to diagnose tick-in-id here
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 93ed5f02b2505f3c4d5c6e24c317b5b92e5dcd5f https://github.com/Perl/perl5/commit/93ed5f02b2505f3c4d5c6e24c317b5b92e5dcd5f Author: Tony Cook Date: 2024-04-17 (Wed, 17 Apr 2024) Changed paths: M t/lib/warnings/toke M toke.c Log Message: --- yyl_dollar: we don't need to diagnose tick-in-id here when scanning for an id for a heuristic. Fixes #22145 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] eff57c: hv_undef_flags: eliminate spurious -Warray-bounds ...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: eff57c4d73898d2174f80490cb2efe2821f5ea46 https://github.com/Perl/perl5/commit/eff57c4d73898d2174f80490cb2efe2821f5ea46 Author: Tony Cook Date: 2024-04-15 (Mon, 15 Apr 2024) Changed paths: M hv.c Log Message: --- hv_undef_flags: eliminate spurious -Warray-bounds warning Eliminates: In file included from perl.h:6205, from hv.c:35: hv.c: In function ‘Perl_hv_undef_flags’: hv.h:460:26: warning: array subscript [0, 9223372036854775807] is outside array bounds of ‘char[0]’ [-Warray-bounds] 460 | #define HEK_FLAGS(hek) (*((unsigned char *)(HEK_KEY(hek))+HEK_LEN(hek)+1)) | ~^~ embed.h:292:78: note: in definition of macro ‘hv_common’ 292 | mmon(a,b,c,d,e,f,g,h) Perl_hv_common(aTHX_ a,b,c,d,e,f,g,h) |^ hv.h:474:34: note: in expansion of macro ‘HEK_FLAGS’ 474 | #define HEK_UTF8(hek) (HEK_FLAGS(hek) & HVhek_UTF8) | ^ hv.h:579:55: note: in expansion of macro ‘HEK_UTF8’ 579 | hv_common((hv), NULL, HEK_KEY(hek), HEK_LEN(hek), HEK_UTF8(hek), \ | ^~~~ hv.c:2268:19: note: in expansion of macro ‘hv_deletehek’ 2268 | (void)hv_deletehek(PL_stashcache, HvNAME_HEK(hv), G_DISCARD); | ^~~~ This does appear to be spurious, the gcc documentation claims not to check array bounds on trailing 1 element arrays for backward compatibility. This warning would be reasonable if the hek itself was allocated on the stack, part of an array of HEKs, or embedded in another struct, but HvNAME_HEK() returns a pointer to a HEK, for which gcc has no knowledge of the source. This warning only appears in debugging builds, but the only difference from non-debugging builds is the HEKfARG() within the DEBUG_o(), which is a simple cast to (void *), which I don't see having an effect on whether the compiler considers HEK itself as part of a structure, or of unknown origin. So I expect it's just a gcc bug, and there are know issues with this warning. Commit: 1edc2b4ee3077fc72d6364edfe0281ea10aab252 https://github.com/Perl/perl5/commit/1edc2b4ee3077fc72d6364edfe0281ea10aab252 Author: Tony Cook Date: 2024-04-15 (Mon, 15 Apr 2024) Changed paths: M locale.c Log Message: --- toggle_locale_i: eliminate NULL for %s format warning The C99 printf() family of functions do not permit a NULL pointer for the %s format specifier. In this case, there's a NULL check done immediately afterwards, allowing the compiler to detect that locale_to_restore_to could be NULL. While PerlIO_printf() (via sv_vcatpvfn_flags()) does allow NULL, it isn't permitted by the standard implementation, so gcc warns. Ideally the compiler would provide customisation hooks for this warning, but it doesn't, and since the -Wformat family of warnings are useful, do the minimal change to prevent it in this case. Compare: https://github.com/Perl/perl5/compare/a7b106d5563e...1edc2b4ee307 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] a7b106: perlhacktips: point at some more tools
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: a7b106d5563e1b4fb906b378d558d9c68abba69e https://github.com/Perl/perl5/commit/a7b106d5563e1b4fb906b378d558d9c68abba69e Author: Tony Cook Date: 2024-04-15 (Mon, 15 Apr 2024) Changed paths: M pod/perlhacktips.pod Log Message: --- perlhacktips: point at some more tools To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] a742fa: allow building with high-water mark to be independ...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: a742fa0e6169e9ee5576a516293d015390c2444d https://github.com/Perl/perl5/commit/a742fa0e6169e9ee5576a516293d015390c2444d Author: Tony Cook Date: 2024-04-15 (Mon, 15 Apr 2024) Changed paths: M cop.h M dump.c M ext/XS-APItest/APItest.pm M ext/XS-APItest/APItest.xs M ext/XS-APItest/t/extend.t M op.c M perl.c M perl.h M pp.h M pp_hot.c M scope.c M sv.c Log Message: --- allow building with high-water mark to be independent of -DDEBUGGING This allows a debugging perl to be built with the high water mark checks disabled, or a non-debugging perl to be built with the high water marks enabled. This should allow Debian, the reporter for #16607 to build both their normal perl and debugperl with the same state of high water mark checks and avoid the mismatch between a debugperl and non-debug dynamic extension. Fixes #16607 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 224c53: win32.c: suppress -Wcast-function-type warnings
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 224c53df969893d76a3d94c4ce4e3684925f36a8 https://github.com/Perl/perl5/commit/224c53df969893d76a3d94c4ce4e3684925f36a8 Author: Tony Cook Date: 2024-04-15 (Mon, 15 Apr 2024) Changed paths: M win32/win32.c Log Message: --- win32.c: suppress -Wcast-function-type warnings This appears to be the only place these warnings are produced even though win32/win32.c contains several other function type casts. None of the non-warning casts use the "void (*)(void)" type that is documented to suppress the warning, and adding such a cast to the lines warning seems less safe to me, cast from a stdcall function pointer to a cdecl function pointer and back. So, just suppress the warning where I saw it. Commit: a33729fe9919fce96c2a5fd196825c4208b2cbe2 https://github.com/Perl/perl5/commit/a33729fe9919fce96c2a5fd196825c4208b2cbe2 Author: Tony Cook Date: 2024-04-15 (Mon, 15 Apr 2024) Changed paths: M win32/win32.c Log Message: --- win32.c: don't call wcscpy() with in == out Since both the input and output parameters are restrict qualified, this would be invalid, and it is possibe for PerlDir_mapW() to return its parameter. This warned on gcc: win32.c: In function 'win32_link': win32.c:3712:40: warning: passing argument 1 to 'restrict'-qualified parameter aliases with argument 2 [-Wrestrict] 3712 | ((aTHXa(PERL_GET_THX)), wcscpy(wOldName, PerlDir_mapW(wOldName)), |^~~~ Compare: https://github.com/Perl/perl5/compare/0e766d6b46e9...a33729fe9919 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 0e766d: perlrun: document the exit status for the -c option
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 0e766d6b46e909a7f6bdb02c724ce0b051a47056 https://github.com/Perl/perl5/commit/0e766d6b46e909a7f6bdb02c724ce0b051a47056 Author: Tony Cook Date: 2024-04-15 (Mon, 15 Apr 2024) Changed paths: M pod/perlrun.pod Log Message: --- perlrun: document the exit status for the -c option Fixes #21686 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] cab7c3: Configure: eliminate some left over debug output
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: cab7c329680aa887117b3e0568f000f7e5acf605 https://github.com/Perl/perl5/commit/cab7c329680aa887117b3e0568f000f7e5acf605 Author: Tony Cook Date: 2024-04-12 (Fri, 12 Apr 2024) Changed paths: M Configure Log Message: --- Configure: eliminate some left over debug output The LC_ALL syntax detection wrote some of what it detected to the console with no labels. On Linux this was: "=;" for both lines, but I've seen more complex output on other systems. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] c635fa: testsuite.yml: workaround cygwin base address conf...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: c635fa2209aa81381fc45f5e89f5b16144056521 https://github.com/Perl/perl5/commit/c635fa2209aa81381fc45f5e89f5b16144056521 Author: Tony Cook Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M .github/workflows/testsuite.yml Log Message: --- testsuite.yml: workaround cygwin base address conflict in 5.39.10 Workaround for #22104 This will likely be reverted for 5.39.11 Commit: 748d5f47d4c7fe30742f4d7dcef2ee27a2d613f2 https://github.com/Perl/perl5/commit/748d5f47d4c7fe30742f4d7dcef2ee27a2d613f2 Author: Tony Cook Date: 2024-04-02 (Tue, 02 Apr 2024) Changed paths: M pod/perldelta.pod Log Message: --- perldelta: note the address space conflict on cygwin Compare: https://github.com/Perl/perl5/compare/e2c324f7a9d3...748d5f47d4c7 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 49650d: perldelta for a2b66c25985f, save PL_comppad safely
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 49650dc5422d71c3b8b8c29867d9f1af6a246a43 https://github.com/Perl/perl5/commit/49650dc5422d71c3b8b8c29867d9f1af6a246a43 Author: Tony Cook Date: 2024-03-25 (Mon, 25 Mar 2024) Changed paths: M pod/perldelta.pod Log Message: --- perldelta for a2b66c25985f, save PL_comppad safely To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] a2b66c: prepare_export_lexical: save PL_comppad safely
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: a2b66c25985f6e0bb428250eaa31ef1d288f7785 https://github.com/Perl/perl5/commit/a2b66c25985f6e0bb428250eaa31ef1d288f7785 Author: Tony Cook Date: 2024-03-25 (Mon, 25 Mar 2024) Changed paths: M builtin.c M lib/builtin.t Log Message: --- prepare_export_lexical: save PL_comppad safely When the pad being saved and the pad for PL_compcv is the same, in some cases the actual exports would result in reallocating the AvARRAY() for the saved PL_comppad. The LEAVE in finish_export_lexical() would restore the old PL_comppad (which is fine) and the pre-reallocation PL_curpad (which isn't fine). This would later panic. SAVECOMPPAD; restores PL_comppad on LEAVE and then restores PL_curpad from PL_comppad, preventing the desync between those values. It's unclear to me why only the save_BEGINs; causes this, but the fix does fix a real problem and prevents the panics that I'm aware of here. Fixes #21981 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 4ec23d: Revert "testsuite.yml: fix ASAN build tests"
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 4ec23de8b38b3a0432d4c73e4c13f7a1c1f7cd6c https://github.com/Perl/perl5/commit/4ec23de8b38b3a0432d4c73e4c13f7a1c1f7cd6c Author: Tony Cook Date: 2024-03-25 (Mon, 25 Mar 2024) Changed paths: M .github/workflows/testsuite.yml Log Message: --- Revert "testsuite.yml: fix ASAN build tests" This reverts commit d1971b5f57c5a31b1d61d7b2e5816942d69ed954. ctions/runner-images#9491 has been fixed. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] d1971b: testsuite.yml: fix ASAN build tests
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: d1971b5f57c5a31b1d61d7b2e5816942d69ed954 https://github.com/Perl/perl5/commit/d1971b5f57c5a31b1d61d7b2e5816942d69ed954 Author: Tony Cook Date: 2024-03-18 (Mon, 18 Mar 2024) Changed paths: M .github/workflows/testsuite.yml Log Message: --- testsuite.yml: fix ASAN build tests This works around actions/runner-images#9491 Apparently a recent Ubuntu update changed the ASLR entropy to use more bits which is incompatible with ASAN as shipped with Ubuntu. This adjusts the entropy bits to be compatible with ASAN. Thanks to ilmari who found the ticket linked above. To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 9213b2: Silence compilation warnings (PR 21925).
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 9213b22726eeed2117a341ff34d7f0eadeb734c3 https://github.com/Perl/perl5/commit/9213b22726eeed2117a341ff34d7f0eadeb734c3 Author: sisyphus Date: 2024-03-06 (Wed, 06 Mar 2024) Changed paths: M win32/win32.c Log Message: --- Silence compilation warnings (PR 21925). To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] abac09: bump $DynaLoader::VERSION
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: abac0992d7f83a488e5ef71af60b424cd52d47e1 https://github.com/Perl/perl5/commit/abac0992d7f83a488e5ef71af60b424cd52d47e1 Author: Tony Cook Date: 2024-02-29 (Thu, 29 Feb 2024) Changed paths: M ext/DynaLoader/DynaLoader_pm.PL Log Message: --- bump $DynaLoader::VERSION To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] d3f42b: DynaLoader: dl_dyld.xs: don't undef bool
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: d3f42b8d3823ce40f4f62758562ad4c02ffa3e27 https://github.com/Perl/perl5/commit/d3f42b8d3823ce40f4f62758562ad4c02ffa3e27 Author: Tony Cook Date: 2024-02-29 (Thu, 29 Feb 2024) Changed paths: M ext/DynaLoader/dl_dyld.xs Log Message: --- DynaLoader: dl_dyld.xs: don't undef bool I expect this was added when we added our own bool, and before we used bool so liberally ourselves. Now dl_dyld.xs fails to compile, since MY_CXT_CLONE indirectly uses UNLIKELY() which casts to bool. Tested locally with: ./Configure -des -Dusedevel -Dusethreads -Ddlsrc=dl_dyld.xs on a modern Darwin, which failed before this change and builds after. Based on work done by Sevan Janiyan in #21751. Fixes #21751 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5]
Branch: refs/heads/smoke-me/tonyc/21661-no-warn-ckdead Home: https://github.com/Perl/perl5 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5]
Branch: refs/heads/smoke-me/tonyc/21661-no-warn-ck Home: https://github.com/Perl/perl5 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 30f39e: add tests for #21661
Branch: refs/heads/smoke-me/tonyc/21661-no-warn-ckdead Home: https://github.com/Perl/perl5 Commit: 30f39e5b9b181d9a7897f946ba8f8dbe91b31d4d https://github.com/Perl/perl5/commit/30f39e5b9b181d9a7897f946ba8f8dbe91b31d4d Author: Tony Cook Date: 2024-02-22 (Thu, 22 Feb 2024) Changed paths: M t/re/pat.t Log Message: --- add tests for #21661 Commit: 13d5ca7ee2d8a60bbe4d836cc7642499932625d2 https://github.com/Perl/perl5/commit/13d5ca7ee2d8a60bbe4d836cc7642499932625d2 Author: Tony Cook Date: 2024-02-22 (Thu, 22 Feb 2024) Changed paths: M regcomp.c M regcomp_internal.h Log Message: --- safer cleanup when failing to compile regexps Prior to this commit when producing a warning the regexp compiler would check if the warning category was marked as FATAL, and if it was it would add clean up to the save stack to release buffers used during compilation and to release the working REGEXP SV. This causes two type of problems: - if an error was already queued, Perl_ck_warner() returns even if the warning is fatal, this meant that the normal clean up code Perl_re_op_compile() would also run, resulting in a double free of the buffers. - without fatal warnings, if a $SIG{__WARN__} handler died, the buffers and the working REGEXP SV would leak. Avoid this by using SAVEDESTRUCTOR_X() to release the memory and optionally the SV at the end of scope. Fixes #21661 Commit: 1d8b2c654a9e60c4d8c64eb46056bc52001d0575 https://github.com/Perl/perl5/commit/1d8b2c654a9e60c4d8c64eb46056bc52001d0575 Author: Tony Cook Date: 2024-02-22 (Thu, 22 Feb 2024) Changed paths: M regcomp_internal.h Log Message: --- regcomp_internal.h: simplify vFAIL*() macros These can be simpler, and since we allow use of __VA_ARGS__ we can consolidate Simple_vFAIL[1-4]() into Simple_vFAILn() Commit: 2016cd18977423d9e66d50214e319a6ee6702298 https://github.com/Perl/perl5/commit/2016cd18977423d9e66d50214e319a6ee6702298 Author: Tony Cook Date: 2024-02-22 (Thu, 22 Feb 2024) Changed paths: M regcomp_internal.h Log Message: --- regcomp_internal.h: removed unused PREPARE_TO_DIE We are now always prepared for death. Compare: https://github.com/Perl/perl5/compare/30f39e5b9b18%5E...2016cd189774 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 293793: perldelta f2d6099: no "bareword_filehandles" and c...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 293793e69904e5f58f12e4ce7088be431021e49b https://github.com/Perl/perl5/commit/293793e69904e5f58f12e4ce7088be431021e49b Author: Tony Cook Date: 2024-02-22 (Thu, 22 Feb 2024) Changed paths: M pod/perldelta.pod Log Message: --- perldelta f2d6099: no "bareword_filehandles" and class barewords To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] f2d609: no bareword_filehandes: don't look up class barewo...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: f2d609912578dcbaf0c2c9a8901724f72bb276c4 https://github.com/Perl/perl5/commit/f2d609912578dcbaf0c2c9a8901724f72bb276c4 Author: Tony Cook Date: 2024-02-22 (Thu, 22 Feb 2024) Changed paths: M embed.fnc M embed.h M lib/B/Op_private.pm M op.c M opcode.h M pp_hot.c M proto.h M regen/op_private M t/lib/feature/bareword_filehandles Log Message: --- no bareword_filehandes: don't look up class barewords as handles This prevents SomeBareword from being looked up as a filehandle: no feature "bareword_filehandles"; SomeBareword->method(); Since "bareword_filehandles" is explicitly about bareword handles, it does not prevent other string to object/class look ups from resolving the class as a filehandle, eg for the following: "SomeLiteral"->method(); my $x = "SomeVariable"; $x->method(); both are looked up as file handles per normal. Note that in any of these cases, with or without the bareword_filehandles feature, if the name is a bareword that has been resolved as a class name since the last time the stash cache was cleared, it will be resolved as a class name, not a filehandle. Fixes #19426 # Conflicts: # opcode.h # Conflicts: # opcode.h To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 391c8c: perldelta 4fc2379: make a new stub to clone into w...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 391c8c36f64175c2247756f4cef3dc27b4798265 https://github.com/Perl/perl5/commit/391c8c36f64175c2247756f4cef3dc27b4798265 Author: Tony Cook Date: 2024-02-21 (Wed, 21 Feb 2024) Changed paths: M pod/perldelta.pod Log Message: --- perldelta 4fc2379: make a new stub to clone into when pushing a new pad To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] 4fc237: make a new stub to clone into when pushing a new pad
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 4fc2379a01266cf71da777023e603d44e5cccf6e https://github.com/Perl/perl5/commit/4fc2379a01266cf71da777023e603d44e5cccf6e Author: Tony Cook Date: 2024-02-20 (Tue, 20 Feb 2024) Changed paths: M pad.c M t/op/lexsub.t Log Message: --- make a new stub to clone into when pushing a new pad This previously put the same CV into the inner pad, so on a recursive call into the owning sub, from this sub, this CV would still be active, and the attempt to clone into the still busy CV would throw an error. Fixes #18606 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
[Perl/perl5] b1b37a: perlfunc: document relationship between wait() and...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: b1b37a9c9acbf977eaca8b5dcf6a4ccfa257b503 https://github.com/Perl/perl5/commit/b1b37a9c9acbf977eaca8b5dcf6a4ccfa257b503 Author: Tony Cook Date: 2024-02-15 (Thu, 15 Feb 2024) Changed paths: M pod/perlfunc.pod Log Message: --- perlfunc: document relationship between wait() and waitpid() Finally fixes #15108, which was mostly fixed by mauke in a6b6b8e and 237516c.
[Perl/perl5] 6ea84e: pad_add_name_pvn(): the name is in UTF-8
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 6ea84ede02e57601e75b337921ae58f895d8a21c https://github.com/Perl/perl5/commit/6ea84ede02e57601e75b337921ae58f895d8a21c Author: Tony Cook Date: 2024-02-14 (Wed, 14 Feb 2024) Changed paths: M pad.c Log Message: --- pad_add_name_pvn(): the name is in UTF-8 This came up in discussion for #21927
[Perl/perl5] 07a53d: win32/GNUmakefile: only use gcc warnings for the p...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 07a53dca6ee0b9c82acfb8d777fe4e7cc6aae661 https://github.com/Perl/perl5/commit/07a53dca6ee0b9c82acfb8d777fe4e7cc6aae661 Author: Tony Cook Date: 2024-02-05 (Mon, 05 Feb 2024) Changed paths: M win32/GNUmakefile Log Message: --- win32/GNUmakefile: only use gcc warnings for the perl binary sources Fixes #21873
[Perl/perl5] 12bfaf: [inline.h] Silence "[-Wunknown-pragmas]" warnings ...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 12bfaf55b1cd5d72a7381be53a14e480fa3e70da https://github.com/Perl/perl5/commit/12bfaf55b1cd5d72a7381be53a14e480fa3e70da Author: sisyphus Date: 2024-01-31 (Wed, 31 Jan 2024) Changed paths: M inline.h Log Message: --- [inline.h] Silence "[-Wunknown-pragmas]" warnings in MinGW builds.
[Perl/perl5] 94664d: XS::APItest: don't allow a NULL AV * through
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 94664de147ae2d0866c8f79a7dce7ea237bc880a https://github.com/Perl/perl5/commit/94664de147ae2d0866c8f79a7dce7ea237bc880a Author: Tony Cook Date: 2024-01-31 (Wed, 31 Jan 2024) Changed paths: M ext/XS-APItest/APItest.xs Log Message: --- XS::APItest: don't allow a NULL AV * through e6c95c59c changed how av is initialised in multicall_return, leaving it possible for it to be NULL after the switch. Of course the values of "context" for that are invalid, so throw an error. This should also resolve this for Coverity and perhaps other static analysis. cid 480208
[Perl/perl5] 527e76: win32/GNUmakefile: enable warnings for gcc
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 527e765cf579b4374cbeb60151f3d7bbb138bdf1 https://github.com/Perl/perl5/commit/527e765cf579b4374cbeb60151f3d7bbb138bdf1 Author: Tony Cook Date: 2024-01-17 (Wed, 17 Jan 2024) Changed paths: M win32/GNUmakefile Log Message: --- win32/GNUmakefile: enable warnings for gcc Warnings are already enabled for MSVC, so enable them for GCC too. -Wformat is disabled since the default "__printf__" format checker doesn't understand the C99-isms like "%zd", resulting in many spurious warnings. The __gnu_printf__ checker does understand them, but it doesn't understand the Windows specific "%I64d" and similar formats.
[Perl/perl5] 745153: perldelta for 11c545feea
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 745153a54e6f83aa095b21c98a19677792d8843b https://github.com/Perl/perl5/commit/745153a54e6f83aa095b21c98a19677792d8843b Author: Tony Cook Date: 2024-01-11 (Thu, 11 Jan 2024) Changed paths: M pod/perldelta.pod Log Message: --- perldelta for 11c545feea
[Perl/perl5] 11c545: XSUB.h: use Stack_off_t for AX and items
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 11c545feeab1b822b7ebf4fca92645a4bfcf49b5 https://github.com/Perl/perl5/commit/11c545feeab1b822b7ebf4fca92645a4bfcf49b5 Author: Tony Cook Date: 2024-01-11 (Thu, 11 Jan 2024) Changed paths: M XSUB.h M embed.fnc M proto.h M util.c Log Message: --- XSUB.h: use Stack_off_t for AX and items I hadn't expected code to be taking pointers or references to AX, which turned out to be wrong, so make them Stack_off_t. This allows XS::Framework or similar code to build with a default build of perl, but it will still fail to build if perl is built with -DPERL_STACK_OFFSET_SSIZET, which can only be fixed by updating XS::Framework to use Stack_off_t itself. Fixes #21782
[Perl/perl5] afe3e6: allow some basic infrastructure to load with -Duse...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: afe3e67fb0863443a08b1e2f0d9aada21c79a279 https://github.com/Perl/perl5/commit/afe3e67fb0863443a08b1e2f0d9aada21c79a279 Author: Tony Cook Date: 2024-01-04 (Thu, 04 Jan 2024) Changed paths: M TestInit.pm M regen/embed_lib.pl M t/test.pl Log Message: --- allow some basic infrastructure to load with -Dusedefaultstrict The changes to t/test.pl appear to be real bugs. This allows `make test_harness` to run, but many tests will still fail under -Dusedefaultstrict This addresses #21732 but does not fix it. I'm unsure how supported that build option is.
[Perl/perl5] 06c1b7: pp_backtick: remove RC_STACK wrapper and use the n...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 06c1b785f4f2327eaae8427ba0077b1c3675df93 https://github.com/Perl/perl5/commit/06c1b785f4f2327eaae8427ba0077b1c3675df93 Author: Tony Cook Date: 2024-01-04 (Thu, 04 Jan 2024) Changed paths: M pp_sys.c Log Message: --- pp_backtick: remove RC_STACK wrapper and use the new APIs
[Perl/perl5] 539477: return doesn't allow an indirect object
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 539477602f9633bb277ebc3d244b50958df79b0f https://github.com/Perl/perl5/commit/539477602f9633bb277ebc3d244b50958df79b0f Author: Tony Cook Date: 2023-12-19 (Tue, 19 Dec 2023) Changed paths: M op.c M pod/perldiag.pod M t/lib/croak/op Log Message: --- return doesn't allow an indirect object Since return isn't actually a function, I didn't think the "function" part of the original message applied. Fixes #21716 Commit: f41b73e7bcd775aff00cf861911c45b196feed39 https://github.com/Perl/perl5/commit/f41b73e7bcd775aff00cf861911c45b196feed39 Author: Tony Cook Date: 2023-12-19 (Tue, 19 Dec 2023) Changed paths: M pod/perldelta.pod Log Message: --- perldelta for the #21716 fix Compare: https://github.com/Perl/perl5/compare/e1e351e89a16...f41b73e7bcd7
[Perl/perl5] 973d1d: win32/Makefiles: don't try to be clever with modif...
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 973d1d344ff666b7e375724e8c1054e524171066 https://github.com/Perl/perl5/commit/973d1d344ff666b7e375724e8c1054e524171066 Author: Tony Cook Date: 2023-12-12 (Tue, 12 Dec 2023) Changed paths: M MANIFEST M win32/GNUmakefile M win32/Makefile R win32/set_depend_modtime.pl Log Message: --- win32/Makefiles: don't try to be clever with modification times When I re-worked this I tried to reduce the amount of rebuilding needed in some cases, but this has caused other problems, so simplify. Fixes #21680
[Perl/perl5] 4fe5e3: win32/GNUmakefile: disable the .y to .c implicit rule
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 4fe5e3d24be0f367ee174df0a683b7c8b3d2d9ed https://github.com/Perl/perl5/commit/4fe5e3d24be0f367ee174df0a683b7c8b3d2d9ed Author: Tony Cook Date: 2023-12-11 (Mon, 11 Dec 2023) Changed paths: M win32/GNUmakefile Log Message: --- win32/GNUmakefile: disable the .y to .c implicit rule If perly.y happens to be newer than perly.c gmake 4.4.1 wouldn't bother trying to build the .c from .y, but it would delete the .c as an intermediate anyway. Fixes #21651
[Perl/perl5] b75ca1: perldelta for 01b60077c518
Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: b75ca11bea6a96aed3fcd32839f97d5c18e4c58f https://github.com/Perl/perl5/commit/b75ca11bea6a96aed3fcd32839f97d5c18e4c58f Author: Tony Cook Date: 2023-12-08 (Fri, 08 Dec 2023) Changed paths: M pod/perldelta.pod Log Message: --- perldelta for 01b60077c518