diff options
author | Gisle Aas <gisle@activestate.com> | 2006-01-04 13:53:16 +0000 |
---|---|---|
committer | Gisle Aas <gisle@activestate.com> | 2006-01-04 13:53:16 +0000 |
commit | 6a245ed1e7ef6f728779f8328fb52e42b1aa0b8c (patch) | |
tree | 2b22d2ba828e88be62274986b1e187fcf3861313 /mg.c | |
parent | 359e8da2ef248b0ae5eba7c150226268a764452f (diff) | |
download | perl-6a245ed1e7ef6f728779f8328fb52e42b1aa0b8c.tar.gz |
Get rid of a few more hardcoded string lengths.
p4raw-id: //depot/perl@26645
Diffstat (limited to 'mg.c')
-rw-r--r-- | mg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1444,7 +1444,7 @@ Perl_magic_setsig(pTHX_ SV *sv, MAGIC *mg) * tell whether HINT_STRICT_REFS is in force or not. */ if (!strchr(s,':') && !strchr(s,'\'')) - sv_insert(sv, 0, 0, "main::", 6); + sv_insert(sv, 0, 0, STR_WITH_LEN("main::")); if (i) (void)rsignal(i, PL_csighandlerp); else |