Branch: refs/heads/ilmari/smoke-me/pl-origfilename-const-char
Home: https://github.com/Perl/perl5
Commit: b6cb77481a6a2672e7a2176d4efe00f4e4d4309f
https://github.com/Perl/perl5/commit/b6cb77481a6a2672e7a2176d4efe00f4e4d4309f
Author: Dagfinn Ilmari Mannsåker <[email protected]>
Date: 2021-10-25 (Mon, 25 Oct 2021)
Changed paths:
M intrpvar.h
M perl.c
M pod/perldelta.pod
Log Message:
-----------
Make PL_origfilename a pointer to const char
Commit dd374669df59cc2457708a01ea0f6d332912530b both made `scriptname`
a `const char *` and added the cast to the string literal. The latter
is unnecessary given the former, and by making PL_origfilename a
`const char *`, we can avoid casting the const away from `scriptname`
as well.