diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-06-08 15:39:40 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-06-08 15:39:40 +0000 |
commit | 8b6b16e72bf4dd30bd09781ad50e9f66fd94440b (patch) | |
tree | e4f7d3a25be8a7b00eb3fc485a6669b2cde6206c /pp_pack.c | |
parent | 13c5b33cae5690f108494286e4d841e38c57677d (diff) | |
download | perl-8b6b16e72bf4dd30bd09781ad50e9f66fd94440b.tar.gz |
Nuke some more n_a, and convert S_gv_ename from char * to const char *
p4raw-id: //depot/perl@24760
Diffstat (limited to 'pp_pack.c')
-rw-r--r-- | pp_pack.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -2317,9 +2317,8 @@ doencodes(U8 *h, const char *s, I32 len) STATIC SV * S_is_an_int(pTHX_ const char *s, STRLEN l) { - STRLEN n_a; SV *result = newSVpvn(s, l); - char *result_c = SvPV(result, n_a); /* convenience */ + char *result_c = SvPV_nolen(result); /* convenience */ char *out = result_c; bool skip = 1; bool ignore = 0; |